aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorariel- <ariel-@users.noreply.github.com>2018-02-15 23:59:31 -0300
committerariel- <ariel-@users.noreply.github.com>2018-02-16 00:54:53 -0300
commitab1aa8e3844753e8f8d0c2ec0974c6050acfea55 (patch)
tree5fd232d12aa95e719ea2db8035b5388283a75bbb /src
parent5f38b9234070dbbb2a0968eee2dcbae5af9c1e9f (diff)
Core/Scripts: fix Glyph of Renew interaction with Empowered Renew
- Get actual ticks from aura, because glyph reduces them by 1
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_priest.cpp2
1 files changed, 1 insertions, 1 deletions
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()));