Core/Auras: Add Aura::TryRefreshStackOrCreate function and remove stack checks from Aura::Create
This commit is contained in:
1 parent
bbcfcabf3a
commit
3effdb2c23
8 files changed
+67
-66
No files matched your search
+1
-1
@@ -249,7 +249,7 @@ class boss_kelidan_the_breaker : public CreatureScript
|
||||
|
||||
if (SpellEntry *nova = GET_SPELL(SPELL_BURNING_NOVA))
|
||||
{
|
||||
if (Aura * aura = Aura::TryCreate(nova, me, me))
|
||||
if (Aura * aura = Aura::TryRefreshStackOrCreate(nova, MAX_EFFECT_MASK, me, me))
|
||||
aura->ApplyForTargets();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user