[10183] Better tracking stack checks with include one not catched non-stacking case.

Spell 41446 expected to be non-stacking with other trackers.
This commit is contained in:
VladimirMangos 2010-07-12 19:29:05 +04:00
parent 6e3f51b1b6
commit 464a841c81
3 changed files with 4 additions and 4 deletions

View file

@ -479,7 +479,7 @@ SpellSpecific GetSpellSpecific(uint32 spellId)
if ((IsSpellHaveAura(spellInfo, SPELL_AURA_TRACK_CREATURES) ||
IsSpellHaveAura(spellInfo, SPELL_AURA_TRACK_RESOURCES) ||
IsSpellHaveAura(spellInfo, SPELL_AURA_TRACK_STEALTHED)) &&
(spellInfo->AttributesEx6 & (SPELL_ATTR_EX6_UNK12|SPELL_ATTR_EX6_UNK6)))
((spellInfo->AttributesEx & SPELL_ATTR_EX_UNK17) || (spellInfo->AttributesEx6 & SPELL_ATTR_EX6_UNK12)))
return SPELL_TRACKER;
// elixirs can have different families, but potion most ofc.