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)
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user