Core/Spells: Implemented target 138 TARGET_DEST_DEST_GROUND
Port From (https://github.com/TrinityCore/TrinityCore/commit/8029035b80b3f07527affb1cc44350bb78790d28)
This commit is contained in:
@@ -1014,6 +1014,9 @@ namespace Game.Spells
|
||||
case Targets.DestDynobjNone:
|
||||
case Targets.DestDest:
|
||||
return;
|
||||
case Targets.DestDestGround:
|
||||
dest.Position.posZ = m_caster.GetMapHeight(dest.Position.GetPositionX(), dest.Position.GetPositionY(), dest.Position.GetPositionZ());
|
||||
break;
|
||||
default:
|
||||
{
|
||||
float angle = targetType.CalcDirectionAngle();
|
||||
|
||||
Reference in New Issue
Block a user