Core/Spells: fix wrong distance calculations in AoE spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d076cfe291980bc5be9d44ffbae887e3dd5ad59)
This commit is contained in:
@@ -452,7 +452,7 @@ namespace Scripts.World
|
||||
uint BirdEntry = 0;
|
||||
|
||||
float fX, fY, fZ;
|
||||
go.GetClosePoint(out fX, out fY, out fZ, go.GetObjectSize(), SharedConst.InteractionDistance);
|
||||
go.GetClosePoint(out fX, out fY, out fZ, go.GetCombatReach(), SharedConst.InteractionDistance);
|
||||
|
||||
switch (go.GetEntry())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user