mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-01 14:46:54 +01:00
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:
@@ -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()));
|
||||
|
||||
Reference in New Issue
Block a user