Core/Spells: fix wrong distance calculations in AoE spells
Port From (https://github.com/TrinityCore/TrinityCore/commit/5d076cfe291980bc5be9d44ffbae887e3dd5ad59)
This commit is contained in:
@@ -603,7 +603,7 @@ namespace Game.Entities
|
||||
{
|
||||
float combat_reach = GetCombatReach();
|
||||
if (combat_reach < 0.1f)
|
||||
combat_reach = SharedConst.DefaultCombatReach;
|
||||
combat_reach = SharedConst.DefaultPlayerCombatReach;
|
||||
|
||||
int attacker_number = GetAttackers().Count;
|
||||
if (attacker_number > 0)
|
||||
|
||||
Reference in New Issue
Block a user