mirror of
https://github.com/mangosfour/server.git
synced 2025-12-16 13:37:00 +00:00
[11084] Add dummy auras for spells 53790,53791,53792 and 41099,41100,41101
Note: two of them are still missing data for equipment. Signed-off-by: NoFantasy <nofantasy@nf.no>
This commit is contained in:
parent
e3e6811740
commit
f98a9e4eee
3 changed files with 148 additions and 1 deletions
|
|
@ -2034,6 +2034,11 @@ bool SpellMgr::IsNoStackSpellDueToSpell(uint32 spellId_1, uint32 spellId_2) cons
|
|||
if ((spellInfo_1->SpellIconID == 456 && spellInfo_2->SpellIconID == 2006) ||
|
||||
(spellInfo_2->SpellIconID == 456 && spellInfo_1->SpellIconID == 2006))
|
||||
return false;
|
||||
|
||||
// Defensive/Berserker/Battle stance aura can not stack (needed for dummy auras)
|
||||
if (((spellInfo_1->SpellFamilyFlags & UI64LIT(0x800000)) && (spellInfo_2->SpellFamilyFlags & UI64LIT(0x800000))) ||
|
||||
((spellInfo_2->SpellFamilyFlags & UI64LIT(0x800000)) && (spellInfo_1->SpellFamilyFlags & UI64LIT(0x800000))))
|
||||
return true;
|
||||
}
|
||||
|
||||
// Hamstring -> Improved Hamstring (multi-family check)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue