--HG--
branch : trunk
This commit is contained in:
thenecromancer
2010-01-24 23:47:57 +01:00
2 changed files with 6 additions and 3 deletions
+2 -3
View File
@@ -814,9 +814,8 @@ void Spell::prepareDataForTriggerSystem(AuraEffect const * triggeredByAura)
}
m_procEx= PROC_EX_NONE;
// 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))
// Hunter traps Entrapment trigger: Frost Trap and Snake Trap initial activation
if (m_spellInfo->Id == 13810 || m_spellInfo->Id == 57879)
{
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
+4
View File
@@ -3849,6 +3849,10 @@ void SpellMgr::LoadSpellCustomAttr()
spellInfo->EffectImplicitTargetB[1] = TARGET_UNIT_AREA_ENTRY_SRC;
count++;
break;
case 13810: // Frost Trap Aura
spellInfo->Effect[1] = 0;
count++;
break;
default:
break;
}