Core/Creatures: according to latest research the base aggro range is 15 yards instead of 20 yards

This commit is contained in:
Ovalord
2018-01-19 18:21:54 +01:00
parent 0c318f3edf
commit f256d388ac

View File

@@ -1641,9 +1641,9 @@ float Creature::GetAttackDistance(Unit const* player) const
if (aggroRate == 0.0f)
return 0.0f;
// The aggro radius for creatures with equal level as the player is 20 yards.
// The aggro radius for creatures with equal level as the player is 15 yards.
// The combatreach should not get taken into account for the distance so we drop it from the range (see Supremus as expample)
float baseAggroDistance = 20.0f - GetCombatReach();
float baseAggroDistance = 15.0f - GetCombatReach();
float aggroRadius = baseAggroDistance;
// detect range auras