diff options
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 5dac4ca1a7e..c25f4a372a2 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -4922,10 +4922,10 @@ void Spell::EffectScriptEffect(uint32 effIndex) // search seal (all seals have judgement's aura dummy spell id in 2 effect if ((*itr)->GetEffIndex() != 2 || !spellInfo || !IsSealSpell(spellInfo)) continue; - spellId2 = (*itr)->GetAmount(); - SpellEntry const *judge = sSpellStore.LookupEntry(spellId2); + SpellEntry const *judge = sSpellStore.LookupEntry((*itr)->GetAmount()); if (!judge) continue; + spellId2 = (*itr)->GetAmount(); break; } if (spellId1) |