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:
@@ -6177,7 +6177,7 @@ void AuraEffect::HandlePeriodicTriggerSpellAuraTick(Unit* target, Unit* caster)
|
|||||||
case 56654:
|
case 56654:
|
||||||
case 58882:
|
case 58882:
|
||||||
int32 amount = int32(target->GetMaxPower(POWER_MANA) * GetAmount() / 100.0f);
|
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;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user