[Core / Fix] Mage: Empowered Fire Talent

Fixed an issue where the Mana return was returning 0.2% instead of 2%.
This commit is contained in:
talamortis
2018-11-29 19:49:47 +00:00
parent 914013cd88
commit 50aace0e52

View File

@@ -7998,7 +7998,7 @@ bool Unit::HandleAuraProc(Unit* victim, uint32 damage, Aura* triggeredByAura, Sp
if (!spInfo)
return false;
int32 bp0 = int32(CalculatePct(GetCreateMana(), spInfo->Effects[0].CalcValue()));
int32 bp0 = int32(CalculatePct(GetMaxPower(POWER_MANA), spInfo->Effects[0].CalcValue()));
CastCustomSpell(this, 67545, &bp0, NULL, NULL, true, NULL, triggeredByAura->GetEffect(EFFECT_0), GetGUID());
return true;
}