Core/Spells: use the correct method to refresh aura duration in two druid spell scripts

This commit is contained in:
Ovahlord committed 2023-02-12 18:40:23 +01:00
1 parent ea6d59bd86
commit b7ed66ef0f
1 file changed
+2 -2
+2 -2
View File
@@ -1547,7 +1547,7 @@ class spell_dru_empowered_touch_script : public SpellScript
{
if (Aura* aura = GetHitUnit()->GetAura(SPELL_DRUID_LIFEBLOOM, caster->GetGUID()))
{
aura->RefreshDuration();
aura->RefreshTimers(false);
// Refreshing Lifebloom while having Revitalize active causes Replenishment to be cast
if (caster->GetAuraOfRankedSpell(SPELL_DRUID_REVITALIZE_R1, caster->GetGUID()))
caster->CastSpell(nullptr, SPELL_REPLENISHMENT, true);
@@ -1760,7 +1760,7 @@ class spell_dru_blood_in_the_water_script : public SpellScript
{
if (Unit* caster = GetCaster())
if (Aura* aura = GetHitUnit()->GetAura(SPELL_DRUID_RIP, caster->GetGUID()))
aura->RefreshDuration();
aura->RefreshTimers(false);
}
void Register() override