diff options
author | megamage <none@none> | 2009-08-05 16:39:09 -0500 |
---|---|---|
committer | megamage <none@none> | 2009-08-05 16:39:09 -0500 |
commit | 5b1e8ef6ff333412d23448684954581af39f0e2e (patch) | |
tree | d208b729a3cf377010d529e0d9a75e30b8a75ce7 /src/game/SpellEffects.cpp | |
parent | 907342d5b0e7a68024fcc77ea125bc36ff3bacaa (diff) |
[8309] Fixed paladin judgement selection code in some places. Author: KAPATEJIb
--HG--
branch : trunk
Diffstat (limited to 'src/game/SpellEffects.cpp')
-rw-r--r-- | src/game/SpellEffects.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/SpellEffects.cpp b/src/game/SpellEffects.cpp index 9b414ed9f66..db5cb899f8f 100644 --- a/src/game/SpellEffects.cpp +++ b/src/game/SpellEffects.cpp @@ -5359,8 +5359,8 @@ void Spell::EffectScriptEffect(uint32 effIndex) } case SPELLFAMILY_PALADIN: { - // Judgement - if (m_spellInfo->SpellFamilyFlags[0] & 0x800000 || m_spellInfo->SpellFamilyFlags[2] & 0x8) + // Judgement (seal trigger) + if (m_spellInfo->Category == SPELLCATEGORY_JUDGEMENT) { if(!unitTarget || !unitTarget->isAlive()) return; @@ -5370,12 +5370,12 @@ void Spell::EffectScriptEffect(uint32 effIndex) // Judgement self add switch switch (m_spellInfo->Id) { - case 41467: break; // Judgement case 53407: spellId1 = 20184; break; // Judgement of Justice case 20271: // Judgement of Light case 57774: spellId1 = 20185; break; // Judgement of Light case 53408: spellId1 = 20186; break; // Judgement of Wisdom default: + sLog.outError("Unsupported Judgement (seal trigger) spell (Id: %u) in Spell::EffectScriptEffect",m_spellInfo->Id); return; } // all seals have aura dummy in 2 effect |