diff options
| author | ariel- <ariel-@users.noreply.github.com> | 2016-12-13 05:49:16 -0300 |
|---|---|---|
| committer | DoctorKraft <DoctorKraft@users.noreply.github.com> | 2018-03-12 16:39:39 +0100 |
| commit | e560374b8bab633981727cbfddb66bc2303e9bdb (patch) | |
| tree | c5226e11d1518877b8abb207468b27c61f73b9d5 /src | |
| parent | f20e53c1381c5b3f9f00193bb7d048bd737601f4 (diff) | |
Core/Unit: feral druid attacks should not be normalized
Closes #18460
(cherry picked from commit bad4b059c8652173d97891aa5a8a326ac0718961)
Diffstat (limited to 'src')
| -rw-r--r-- | src/server/game/Entities/Unit/Unit.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/game/Entities/Unit/Unit.cpp b/src/server/game/Entities/Unit/Unit.cpp index 9e8b97e1681..381ab4f2f45 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -10620,7 +10620,7 @@ float Unit::CalculateDefaultCoefficient(SpellInfo const* spellInfo, DamageEffect float Unit::GetAPMultiplier(WeaponAttackType attType, bool normalized) { - if (GetTypeId() != TYPEID_PLAYER) + if (GetTypeId() != TYPEID_PLAYER || (IsInFeralForm() && !normalized)) return GetBaseAttackTime(attType) / 1000.0f; Item* weapon = ToPlayer()->GetWeaponForAttack(attType, true); |
