fix(Core/Spells): Regen auras should not be removed by Rapid Recupera… (#14269)

fix(Core/Spells): Regen auras should not be removed by Rapid Recuperation.

Fixes #14263
This commit is contained in:
UltraNix
2023-01-06 00:53:10 +01:00
committed by GitHub
parent 171b05a70c
commit 7a03130b94

View File

@@ -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;
}
}