aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorGigatotem <gigatotemwow@live.co.uk>2012-08-28 00:03:37 +0200
committerGigatotem <gigatotemwow@live.co.uk>2012-08-28 00:03:37 +0200
commitb7fa5cb566d7a90d749e783c8deb3e1052130124 (patch)
tree4c2d265c48c77cb5072cbd311892986e376e5d24 /src
parent353ebad6b91ee97469bd0ff0aaebadf3b8f28183 (diff)
Spells/Shaman: Heroism and Bloodlust
Heroism and Bloodlust will now check for Temporal Displacement from Time Warp and Insanity from Ancient Hysteria.
Diffstat (limited to 'src')
-rw-r--r--src/server/scripts/Spells/spell_shaman.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/server/scripts/Spells/spell_shaman.cpp b/src/server/scripts/Spells/spell_shaman.cpp
index c863c2363af..1c6e6e11f04 100644
--- a/src/server/scripts/Spells/spell_shaman.cpp
+++ b/src/server/scripts/Spells/spell_shaman.cpp
@@ -35,6 +35,8 @@ enum ShamanSpells
SHAMAN_SPELL_FIRE_NOVA_TRIGGERED_R1 = 8349,
SHAMAN_SPELL_SATED = 57724,
SHAMAN_SPELL_EXHAUSTION = 57723,
+ HUNTER_SPELL_INSANITY = 95809,
+ MAGE_SPELL_TEMPORAL_DISPLACEMENT = 80354,
SHAMAN_SPELL_STORM_EARTH_AND_FIRE = 51483,
EARTHBIND_TOTEM_SPELL_EARTHGRAB = 64695,
@@ -319,6 +321,8 @@ class spell_sha_bloodlust : public SpellScriptLoader
void RemoveInvalidTargets(std::list<WorldObject*>& targets)
{
targets.remove_if(Trinity::UnitAuraCheck(true, SHAMAN_SPELL_SATED));
+ targets.remove_if(Trinity::UnitAuraCheck(true, HUNTER_SPELL_INSANITY));
+ targets.remove_if(Trinity::UnitAuraCheck(true, MAGE_SPELL_TEMPORAL_DISPLACEMENT));
}
void ApplyDebuff()
@@ -361,6 +365,8 @@ class spell_sha_heroism : public SpellScriptLoader
void RemoveInvalidTargets(std::list<WorldObject*>& targets)
{
targets.remove_if(Trinity::UnitAuraCheck(true, SHAMAN_SPELL_EXHAUSTION));
+ targets.remove_if(Trinity::UnitAuraCheck(true, HUNTER_SPELL_INSANITY));
+ targets.remove_if(Trinity::UnitAuraCheck(true, MAGE_SPELL_TEMPORAL_DISPLACEMENT));
}
void ApplyDebuff()