Core/Spells: replaced SPELLVALUE_AURA_DURATION implementation with master's SPELLVALUE_DURATION version

This commit is contained in:
Ovahlord committed 2022-10-16 11:20:51 +02:00
1 parent 6989797014
commit 0166f84a1b
4 files changed
+12 -8

No files matched your search

+1 -1
View File
@@ -5287,7 +5287,7 @@ class spell_gen_flask_of_battle : public SpellScript
int32 durationBonus = sSpellMgr->AssertSpellInfo(chugALugSpellId)->Effects[EFFECT_0].CalcValue();
int32 duration = sSpellMgr->AssertSpellInfo(spellId)->GetMaxDuration();
AddPct(duration, durationBonus);
player->CastSpell(player, spellId, { SPELLVALUE_AURA_DURATION, duration });
player->CastSpell(player, spellId, { SPELLVALUE_DURATION, duration });
}
else
player->CastSpell(player, spellId);