aboutsummaryrefslogtreecommitdiff
path: root/src/game/SpellAuras.cpp
diff options
context:
space:
mode:
authormegamage <none@none>2008-12-10 20:25:47 -0600
committermegamage <none@none>2008-12-10 20:25:47 -0600
commit39083f4ff837d23cc886338fc9bc74df90fe9613 (patch)
tree5c2e0860894a6ac435f6035b9fab166a35c3d278 /src/game/SpellAuras.cpp
parent0029017e17b9a2fded77e1680cef9dbc3aebacff (diff)
*Add function SummonTrigger and allow to override its AI.
*Remove some trigger scripts. Use default trigger AI and db data instead. *Small fix on eagle boss' electrical storm. --HG-- branch : trunk
Diffstat (limited to 'src/game/SpellAuras.cpp')
-rw-r--r--src/game/SpellAuras.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp
index cca1b80a53c..9f8323c735c 100644
--- a/src/game/SpellAuras.cpp
+++ b/src/game/SpellAuras.cpp
@@ -2079,6 +2079,13 @@ void Aura::HandleAuraDummy(bool apply, bool Real)
}
return;
}
+
+ // electrical storm safe zone
+ if (GetId() == 44007)
+ {
+ m_target->ApplySpellImmune(44007, IMMUNITY_ID, 43657, apply);
+ return;
+ }
break;
}
case SPELLFAMILY_MAGE: