diff options
| author | ariel- <ariel-@users.noreply.github.com> | 2016-12-13 05:49:16 -0300 |
|---|---|---|
| committer | ariel- <ariel-@users.noreply.github.com> | 2016-12-13 05:49:16 -0300 |
| commit | bad4b059c8652173d97891aa5a8a326ac0718961 (patch) | |
| tree | 788527094afb99177d9003ad7fc2bd44d1713ce8 /src | |
| parent | 584abe107e2524ae30449b87b19e335e9aa1b196 (diff) | |
Core/Unit: feral druid attacks should not be normalized
Closes #18460
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 9b72a65ab97..215050e6756 100644 --- a/src/server/game/Entities/Unit/Unit.cpp +++ b/src/server/game/Entities/Unit/Unit.cpp @@ -11387,7 +11387,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 GetAttackTime(attType) / 1000.0f; Item* weapon = ToPlayer()->GetWeaponForAttack(attType, true); |
