[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:
NoFantasy 2011-01-30 16:48:07 +01:00
parent e3e6811740
commit f98a9e4eee
3 changed files with 148 additions and 1 deletions

View file

@ -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)