diff options
author | QAston <none@none> | 2009-06-07 10:49:50 +0200 |
---|---|---|
committer | QAston <none@none> | 2009-06-07 10:49:50 +0200 |
commit | 90ef7277b502a1d404d8adfb4e35da8b8cbb9a00 (patch) | |
tree | 14087deb1fc6bb052466e972086724605407dee6 /src | |
parent | 9b37ac896a3357a556019d458bbc9ccac428b82d (diff) |
*Do not allow judgements to proc seals.
--HG--
branch : trunk
Diffstat (limited to 'src')
-rw-r--r-- | src/game/SharedDefines.h | 2 | ||||
-rw-r--r-- | src/game/Spell.cpp | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/src/game/SharedDefines.h b/src/game/SharedDefines.h index d2c9ba31564..3234fc28baa 100644 --- a/src/game/SharedDefines.h +++ b/src/game/SharedDefines.h @@ -285,7 +285,7 @@ enum SpellCategory #define SPELL_ATTR_EX_UNK31 0x80000000 // 31 #define SPELL_ATTR_EX2_UNK0 0x00000001 // 0 -#define SPELL_ATTR_EX2_UNK1 0x00000002 // 1 +#define SPELL_ATTR_EX2_UNK1 0x00000002 // 1 ? many triggered spells have this flag #define SPELL_ATTR_EX2_CANT_REFLECTED 0x00000004 // 2 ? used for detect can or not spell reflected #define SPELL_ATTR_EX2_UNK3 0x00000008 // 3 #define SPELL_ATTR_EX2_UNK4 0x00000010 // 4 diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index a40f184cb61..49327ed359f 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -800,6 +800,15 @@ void Spell::prepareDataForTriggerSystem(AuraEffect * triggeredByAura) { m_procEx |= PROC_EX_INTERNAL_REQ_FAMILY; } + // Check done for judgements to make them not trigger seal effects + else if (m_spellInfo->AttributesEx2 & SPELL_ATTR_EX2_UNK1) + { + // Rogue poisons + if (m_spellInfo->SpellFamilyName && m_spellInfo->SpellFamilyFlags) + m_procEx |= PROC_EX_INTERNAL_REQ_FAMILY; + else + m_canTrigger=false; + } } } |