Core/Spells: Implemented target 62 TARGET_DEST_CASTER_GROUND (the same as target 125)
Port From (https://github.com/TrinityCore/TrinityCore/commit/88cf53e54a4cda8fa8f1e3ef8b0766b5e6ac8c27)
This commit is contained in:
@@ -954,7 +954,8 @@ namespace Game.Spells
|
||||
break;
|
||||
}
|
||||
case Targets.DestCasterGround:
|
||||
m_caster.UpdateAllowedPositionZ(dest.Position.GetPositionX(), dest.Position.GetPositionY(), ref dest.Position.posZ);
|
||||
case Targets.DestCasterGround2:
|
||||
dest.Position.posZ = m_caster.GetMapWaterOrGroundLevel(dest.Position.GetPositionX(), dest.Position.GetPositionY(), dest.Position.GetPositionZ());
|
||||
break;
|
||||
case Targets.DestSummoner:
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user