mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-22 18:15:31 +01:00
*Do not allow judgements to proc seals.
--HG-- branch : trunk
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user