From ab1aa8e3844753e8f8d0c2ec0974c6050acfea55 Mon Sep 17 00:00:00 2001 From: ariel- Date: Thu, 15 Feb 2018 23:59:31 -0300 Subject: Core/Scripts: fix Glyph of Renew interaction with Empowered Renew - Get actual ticks from aura, because glyph reduces them by 1 --- src/server/scripts/Spells/spell_priest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') diff --git a/src/server/scripts/Spells/spell_priest.cpp b/src/server/scripts/Spells/spell_priest.cpp index 2dc2c340cd8..776cf7f3671 100644 --- a/src/server/scripts/Spells/spell_priest.cpp +++ b/src/server/scripts/Spells/spell_priest.cpp @@ -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())); -- cgit v1.2.3