aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/game/SharedDefines.h2
-rw-r--r--src/game/Spell.cpp9
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;
+ }
}
}