From 7a03130b94439f912ed235d3773d39a6038f4817 Mon Sep 17 00:00:00 2001 From: UltraNix <80540499+UltraNix@users.noreply.github.com> Date: Fri, 6 Jan 2023 00:53:10 +0100 Subject: [PATCH] =?UTF-8?q?fix(Core/Spells):=20Regen=20auras=20should=20no?= =?UTF-8?q?t=20be=20removed=20by=20Rapid=20Recupera=E2=80=A6=20(#14269)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit fix(Core/Spells): Regen auras should not be removed by Rapid Recuperation. Fixes #14263 --- src/server/game/Spells/Auras/SpellAuraEffects.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/server/game/Spells/Auras/SpellAuraEffects.cpp b/src/server/game/Spells/Auras/SpellAuraEffects.cpp index 8ec38060c..955506172 100644 --- a/src/server/game/Spells/Auras/SpellAuraEffects.cpp +++ b/src/server/game/Spells/Auras/SpellAuraEffects.cpp @@ -6177,7 +6177,7 @@ void AuraEffect::HandlePeriodicTriggerSpellAuraTick(Unit* target, Unit* caster) case 56654: case 58882: int32 amount = int32(target->GetMaxPower(POWER_MANA) * GetAmount() / 100.0f); - target->CastCustomSpell(target, triggerSpellId, &amount, nullptr, nullptr, true); + target->CastCustomSpell(target, triggerSpellId, &amount, nullptr, nullptr, true, nullptr, this); return; } }