*Try to make judgement of light not teleport caster.
--HG-- branch : trunk
This commit is contained in:
@@ -4922,10 +4922,10 @@ void Spell::EffectScriptEffect(uint32 effIndex)
|
|||||||
// search seal (all seals have judgement's aura dummy spell id in 2 effect
|
// search seal (all seals have judgement's aura dummy spell id in 2 effect
|
||||||
if ((*itr)->GetEffIndex() != 2 || !spellInfo || !IsSealSpell(spellInfo))
|
if ((*itr)->GetEffIndex() != 2 || !spellInfo || !IsSealSpell(spellInfo))
|
||||||
continue;
|
continue;
|
||||||
spellId2 = (*itr)->GetAmount();
|
SpellEntry const *judge = sSpellStore.LookupEntry((*itr)->GetAmount());
|
||||||
SpellEntry const *judge = sSpellStore.LookupEntry(spellId2);
|
|
||||||
if (!judge)
|
if (!judge)
|
||||||
continue;
|
continue;
|
||||||
|
spellId2 = (*itr)->GetAmount();
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
if (spellId1)
|
if (spellId1)
|
||||||
|
|||||||
Reference in New Issue
Block a user