*Do not allow judgements to proc seals.

--HG--
branch : trunk
This commit is contained in:
QAston
2009-06-07 10:49:50 +02:00
parent 9b37ac896a
commit 90ef7277b5
2 changed files with 10 additions and 1 deletions

View File

@@ -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

View File

@@ -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;
}
}
}