mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 04:37:00 +00:00
Allow stack passive and not passive auras in all cases
Signed-off-by: DiSlord <dislord@nomail.com>
This commit is contained in:
parent
333395f90a
commit
9f08095c26
1 changed files with 4 additions and 0 deletions
|
|
@ -1062,6 +1062,10 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
|
|||
if((spellInfo_1->Id == SPELL_ID_PASSIVE_RESURRECTION_SICKNESS) != (spellInfo_2->Id==SPELL_ID_PASSIVE_RESURRECTION_SICKNESS))
|
||||
return false;
|
||||
|
||||
// Allow stack passive and not passive spells
|
||||
if ((spellInfo_1->Attributes & SPELL_ATTR_PASSIVE)!=(spellInfo_2->Attributes & SPELL_ATTR_PASSIVE))
|
||||
return false;
|
||||
|
||||
// Specific spell family spells
|
||||
switch(spellInfo_1->SpellFamilyName)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue