mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 18:40:28 +00:00
fix(Core/Spells): Fixed absorb auras not working with spell damage. (#8427)
Fixes #8412
This commit is contained in:
@@ -1308,7 +1308,7 @@ void Unit::CalculateSpellDamageTaken(SpellNonMeleeDamage* damageInfo, int32 dama
|
||||
Unit::CalcAbsorbResist(dmgInfo);
|
||||
damageInfo->absorb = dmgInfo.GetAbsorb();
|
||||
damageInfo->resist = dmgInfo.GetResist();
|
||||
damage = dmgInfo.GetDamage();
|
||||
damageInfo->damage = dmgInfo.GetDamage();
|
||||
}
|
||||
else
|
||||
damageInfo->damage = 0;
|
||||
|
||||
Reference in New Issue
Block a user