mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-18 16:38:42 +01:00
*Fix a typo. Now -AP spells (roar/shout/screech) should work correctly.
--HG-- branch : trunk
This commit is contained in:
@@ -748,7 +748,7 @@ void Creature::UpdateDamagePhysical(WeaponAttackType attType)
|
||||
//float base_value = GetModifierValue(unitMod, BASE_VALUE) + GetTotalAttackPowerValue(attType)/ 14.0f * att_speed;
|
||||
float base_value = GetModifierValue(unitMod, BASE_VALUE)
|
||||
+ (weapon_mindamage + weapon_maxdamage) / 6
|
||||
/ GetTotalAttackPowerValue(attType) * getLevel() * 5;
|
||||
* GetTotalAttackPowerValue(attType) / (getLevel() * 5);
|
||||
float base_pct = GetModifierValue(unitMod, BASE_PCT);
|
||||
float total_value = GetModifierValue(unitMod, TOTAL_VALUE);
|
||||
float total_pct = GetModifierValue(unitMod, TOTAL_PCT);
|
||||
|
||||
Reference in New Issue
Block a user