aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorthenecromancer <none@none>2010-01-24 23:47:57 +0100
committerthenecromancer <none@none>2010-01-24 23:47:57 +0100
commit7aa63d583437c9171fda4fcb9ab51d24084c6e32 (patch)
tree5eba6c630d5ca8a17db29d9d5e2612c8469cdfdd /src
parent73dd5925be1f0405acbc1f05bd3e13a19a2a5e8d (diff)
parent46a98576d91d24d150b302351de9e26b99920331 (diff)
Merge
--HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Spell.cpp5
-rw-r--r--src/game/SpellMgr.cpp4
2 files changed, 6 insertions, 3 deletions
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp
index 1cc530f5ada..f60c880331c 100644
--- a/src/game/Spell.cpp
+++ b/src/game/Spell.cpp
@@ -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
diff --git a/src/game/SpellMgr.cpp b/src/game/SpellMgr.cpp
index ab5e1086751..588e7ad8b8d 100644
--- a/src/game/SpellMgr.cpp
+++ b/src/game/SpellMgr.cpp
@@ -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;
}