Core/Scripts: fix Glyph of Renew interaction with Empowered Renew

- Get actual ticks from aura, because glyph reduces them by 1
This commit is contained in:
ariel-
2018-02-15 23:59:31 -03:00
parent 5f38b92340
commit ab1aa8e384

View File

@@ -1113,7 +1113,7 @@ class spell_pri_renew : public SpellScriptLoader
if (AuraEffect const* empoweredRenewAurEff = caster->GetDummyAuraEffect(SPELLFAMILY_PRIEST, PRIEST_ICON_ID_EMPOWERED_RENEW_TALENT, EFFECT_1))
{
int32 heal = aurEff->GetAmount();
heal *= GetSpellInfo()->GetMaxTicks();
heal *= aurEff->GetTotalTicks();
CastSpellExtraArgs args(aurEff);
args.AddSpellBP0(CalculatePct(heal, empoweredRenewAurEff->GetAmount()));