From 26bec9ecb474749426be9ab83500764d85ef186d Mon Sep 17 00:00:00 2001 From: hondacrx Date: Fri, 28 Jan 2022 17:19:57 -0500 Subject: [PATCH] Core/Spells: Allow targeting script hooks to work with TARGET_DEST_DYNOBJ_ENEMY, TARGET_DEST_DYNOBJ_ALLY, TARGET_DEST_DYNOBJ_NONE, TARGET_DEST_DEST Port From (https://github.com/TrinityCore/TrinityCore/commit/3c0baab57616733ff0e3b94ceb215f9bd78239ea) --- Source/Game/Spells/Spell.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Game/Spells/Spell.cs b/Source/Game/Spells/Spell.cs index 58bbf47f8..dfe2c0065 100644 --- a/Source/Game/Spells/Spell.cs +++ b/Source/Game/Spells/Spell.cs @@ -1013,7 +1013,7 @@ namespace Game.Spells case Targets.DestDynobjAlly: case Targets.DestDynobjNone: case Targets.DestDest: - return; + break; case Targets.DestDestGround: dest.Position.posZ = m_caster.GetMapHeight(dest.Position.GetPositionX(), dest.Position.GetPositionY(), dest.Position.GetPositionZ()); break;