Core/Auras: Add Aura::TryRefreshStackOrCreate function and remove stack checks from Aura::Create
This commit is contained in:
@@ -1230,7 +1230,7 @@ void Pet::_LoadAuras(uint32 timediff)
|
||||
else
|
||||
remaincharges = 0;
|
||||
|
||||
if (Aura * aura = Aura::TryCreate(spellproto, effmask, this, NULL, &baseDamage[0], NULL, caster_guid))
|
||||
if (Aura* aura = Aura::TryCreate(spellproto, effmask, this, NULL, &baseDamage[0], NULL, caster_guid))
|
||||
{
|
||||
if (!aura->CanBeSaved())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user