Core/Auras: reworked multiplicative AuraEffects calculation
This commit is contained in:
1 parent
b1f16bceb0
commit
af98e8516c
16 files changed
+868
-519
No files matched your search
@@ -2814,7 +2814,7 @@ void Spell::EffectWeaponDmg(SpellEffIndex effIndex)
|
||||
case RANGED_ATTACK: unitMod = UNIT_MOD_DAMAGE_RANGED; break;
|
||||
}
|
||||
|
||||
float weapon_total_pct = m_caster->GetModifierValue(unitMod, TOTAL_PCT);
|
||||
float weapon_total_pct = m_caster->GetPctModifierValue(unitMod, TOTAL_PCT);
|
||||
if (fixed_bonus)
|
||||
fixed_bonus = int32(fixed_bonus * weapon_total_pct);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user