Core/Spells: fix wrong distance calculations in AoE spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d076cfe291980bc5be9d44ffbae887e3dd5ad59)
This commit is contained in:
@@ -724,7 +724,7 @@ namespace Game.Chat
|
||||
return false;
|
||||
|
||||
float x, y, z, o = handler.GetSession().GetPlayer().GetOrientation();
|
||||
handler.GetSession().GetPlayer().GetClosePoint(out x, out y, out z, handler.GetSession().GetPlayer().GetObjectSize());
|
||||
handler.GetSession().GetPlayer().GetClosePoint(out x, out y, out z, handler.GetSession().GetPlayer().GetCombatReach());
|
||||
|
||||
uint id = args.NextUInt32();
|
||||
if (id == 0)
|
||||
|
||||
Reference in New Issue
Block a user