Core/Auras: Use existing aura object on aura reapply/stack increase instead of creating a new one.
You can hook on reapply/stack event by checking for AURA_EFFECT_HANDLE_REAPPLY aura handler mode, AURA_EFFECT_HANDLE_REAL is now not triggered on aura refresh/stack.
This commit is contained in:
1 parent
b2096c711e
commit
42a20f14ef
18 files changed
+139
-139
No files matched your search
@@ -3118,8 +3118,6 @@ bool SpellArea::IsFitToRequirements(Player const* player, uint32 newZone, uint32
|
||||
return true;
|
||||
}
|
||||
|
||||
//-----------TRINITY-------------
|
||||
|
||||
bool SpellMgr::CanAurasStack(Aura const *aura1, Aura const *aura2, bool sameCaster) const
|
||||
{
|
||||
SpellEntry const *spellInfo_1 = aura1->GetSpellProto();
|
||||
|
||||
Reference in new issue
Block a user