[Spell] minor cleanup
Too lazy to find out what exactly was influenced by it, but it was wrong :) no effect != negative effect
This commit is contained in:
parent
93abbf4c72
commit
a3cde56b18
@ -722,7 +722,7 @@ void Spell::prepareDataForTriggerSystem()
|
||||
// avoid triggering negative hit for only positive targets
|
||||
m_negativeEffectMask = 0x0;
|
||||
for (int i = 0; i < MAX_EFFECT_INDEX; ++i)
|
||||
if (!IsPositiveEffect(m_spellInfo, SpellEffectIndex(i)))
|
||||
if (m_spellInfo->Effect[i] != SPELL_EFFECT_NONE && !IsPositiveEffect(m_spellInfo, SpellEffectIndex(i)))
|
||||
{ m_negativeEffectMask |= (1 << i); }
|
||||
|
||||
// Hunter traps spells (for Entrapment trigger)
|
||||
|
Loading…
x
Reference in New Issue
Block a user