mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-20 01:15:35 +01:00
Fix SPELL_AURA_MOD_HEALING_DONE healing bonus with 0 misc value (patch by toni.shocker)
--HG-- branch : trunk
This commit is contained in:
@@ -10963,7 +10963,7 @@ int32 Unit::SpellBaseHealingBonus(SpellSchoolMask schoolMask)
|
||||
|
||||
AuraEffectList const& mHealingDone = GetAuraEffectsByType(SPELL_AURA_MOD_HEALING_DONE);
|
||||
for (AuraEffectList::const_iterator i = mHealingDone.begin(); i != mHealingDone.end(); ++i)
|
||||
if (((*i)->GetMiscValue() & schoolMask) != 0)
|
||||
if (!(*i)->GetMiscValue() || ((*i)->GetMiscValue() & schoolMask) != 0)
|
||||
AdvertisedBenefit += (*i)->GetAmount();
|
||||
|
||||
// Healing bonus of spirit, intellect and strength
|
||||
|
||||
Reference in New Issue
Block a user