Fix Tenacity to increase heal %. Patch by corfen. Closes #825.

--HG--
branch : trunk
This commit is contained in:
p0wer
2009-12-19 22:17:19 -06:00
parent 9e2b42661a
commit 9218ebce9d

View File

@@ -10270,6 +10270,11 @@ uint32 Unit::SpellHealingBonus(Unit *pVictim, SpellEntry const *spellProto, uint
TakenTotalMod *= (HealingWay->GetAmount() + 100.0f) / 100.0f;
}
// Tenacity increase healing % taken
if (AuraEffect const* Tenacity = pVictim->GetAuraEffect(58549, 0))
TakenTotalMod *= (Tenacity->GetAmount() + 100.0f) / 100.0f;
// Healing taken percent
float minval = pVictim->GetMaxNegativeAuraModifier(SPELL_AURA_MOD_HEALING_PCT);
if (minval)