Skip to content

Commit

Permalink
Fix tracking spells specific
Browse files Browse the repository at this point in the history
  • Loading branch information
Warlockbugs committed Sep 25, 2016
1 parent 12fb317 commit 38460d9
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/game/SpellMgr.cpp
Expand Up @@ -526,10 +526,9 @@ SpellSpecific GetSpellSpecific(uint32 spellId)
}

// Tracking spells (exclude Well Fed, some other always allowed cases)
if ((IsSpellHaveAura(spellInfo, SPELL_AURA_TRACK_CREATURES) ||
IsSpellHaveAura(spellInfo, SPELL_AURA_TRACK_RESOURCES) ||
IsSpellHaveAura(spellInfo, SPELL_AURA_TRACK_STEALTHED)) &&
(spellInfo->HasAttribute(SPELL_ATTR_EX6_UNK12)))
if (IsSpellHaveAura(spellInfo, SPELL_AURA_TRACK_CREATURES) ||
IsSpellHaveAura(spellInfo, SPELL_AURA_TRACK_STEALTHED) ||
(IsSpellHaveAura(spellInfo, SPELL_AURA_TRACK_RESOURCES) && !spellInfo->HasAttribute(SPELL_ATTR_PASSIVE) && !spellInfo->HasAttribute(SPELL_ATTR_CANT_CANCEL)))
return SPELL_TRACKER;

// elixirs can have different families, but potion most ofc.
Expand Down

0 comments on commit 38460d9

Please sign in to comment.