Scripts/Spells: Implemented Priest talent Phantasm

Port From (https://github.com/TrinityCore/TrinityCore/commit/f0c8af1d0cf40c000c349aa53d2225fde1c599e7)
This commit is contained in:
hondacrx
2024-02-28 18:24:08 -05:00
parent 7d85ff0ab8
commit 1c7b397a6f
+14
View File
@@ -1619,6 +1619,20 @@ namespace Scripts.Spells.Priest
}
}
[Script] // 114239 - Phantasm
class spell_pri_phantasm : SpellScript
{
void HandleEffectHit(uint effIndex)
{
GetCaster().RemoveMovementImpairingAuras(false);
}
public override void Register()
{
OnEffectHit.Add(new(HandleEffectHit, 0, SpellEffectName.Dummy));
}
}
// 262484 - Power Leech (Passive for Shadowfiend)
[Script] // 284621 - Power Leech (Passive for Mindbender)
class spell_pri_power_leech_passive : AuraScript