From 1c7b397a6f044a79f4f7669242b79514c605217c Mon Sep 17 00:00:00 2001 From: hondacrx Date: Wed, 28 Feb 2024 18:24:08 -0500 Subject: [PATCH] Scripts/Spells: Implemented Priest talent Phantasm Port From (https://github.com/TrinityCore/TrinityCore/commit/f0c8af1d0cf40c000c349aa53d2225fde1c599e7) --- Source/Scripts/Spells/Priest.cs | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/Source/Scripts/Spells/Priest.cs b/Source/Scripts/Spells/Priest.cs index cd92328bf..e8c84c8da 100644 --- a/Source/Scripts/Spells/Priest.cs +++ b/Source/Scripts/Spells/Priest.cs @@ -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