From 6fb6aa9c6612aa036001ec7f7dd9f2c256f8bfbc Mon Sep 17 00:00:00 2001 From: Xanadu Date: Mon, 25 Jan 2010 02:09:05 +0100 Subject: Backed out changeset: 4cc8628cc8ef. That wasn't a good call. Thanks go to QAston for pointing it out to me. --HG-- branch : trunk --- src/game/Spell.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp index f60c880331c..1cc530f5ada 100644 --- a/src/game/Spell.cpp +++ b/src/game/Spell.cpp @@ -814,8 +814,9 @@ void Spell::prepareDataForTriggerSystem(AuraEffect const * triggeredByAura) } m_procEx= PROC_EX_NONE; - // Hunter traps Entrapment trigger: Frost Trap and Snake Trap initial activation - if (m_spellInfo->Id == 13810 || m_spellInfo->Id == 57879) + // Hunter traps spells (for Entrapment trigger) + // Gives your Immolation Trap, Frost Trap, Explosive Trap, and Snake Trap .... + if (m_spellInfo->SpellFamilyName == SPELLFAMILY_HUNTER && (m_spellInfo->SpellFamilyFlags[1] & 0x00002000 || m_spellInfo->SpellFamilyFlags[0] & 0x1C)) { m_procAttacker |= PROC_FLAG_ON_TRAP_ACTIVATION; // Trigger only from spells originally casted by hunter(trap activation) to prevent multiple trigger from trap triggered spells -- cgit v1.2.3