aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Spells/SpellInfo.cpp
diff options
context:
space:
mode:
authorTuxity <kevin.darcel@gmail.com>2012-08-18 12:04:52 +0200
committerTuxity <kevin.darcel@gmail.com>2012-08-18 12:04:52 +0200
commit60e28bbc3436e64b879f68e78a546ddda9697f9b (patch)
treed0c03e2986e7d693694787e7fcaf92171b80523e /src/server/game/Spells/SpellInfo.cpp
parentb55537e510d1d1a1363b4c1c87431523c6822a1e (diff)
Core/Spells: Fix warlock banes and curses.
Diffstat (limited to 'src/server/game/Spells/SpellInfo.cpp')
-rw-r--r--src/server/game/Spells/SpellInfo.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server/game/Spells/SpellInfo.cpp b/src/server/game/Spells/SpellInfo.cpp
index 1220601edd6..df22b10e533 100644
--- a/src/server/game/Spells/SpellInfo.cpp
+++ b/src/server/game/Spells/SpellInfo.cpp
@@ -1341,6 +1341,7 @@ bool SpellInfo::IsAuraExclusiveBySpecificPerCasterWith(SpellInfo const* spellInf
case SPELL_SPECIFIC_AURA:
case SPELL_SPECIFIC_STING:
case SPELL_SPECIFIC_CURSE:
+ case SPELL_SPECIFIC_BANE:
case SPELL_SPECIFIC_ASPECT:
case SPELL_SPECIFIC_JUDGEMENT:
case SPELL_SPECIFIC_WARLOCK_CORRUPTION:
@@ -1953,6 +1954,10 @@ SpellSpecificType SpellInfo::GetSpellSpecific() const
if (Dispel == DISPEL_CURSE)
return SPELL_SPECIFIC_CURSE;
+ // Warlock (Bane of Doom | Bane of Agony | Bane of Havoc)
+ if (Id == 603 || Id == 980 || Id == 80240)
+ return SPELL_SPECIFIC_BANE;
+
// Warlock (Demon Armor | Demon Skin | Fel Armor)
if (SpellFamilyFlags[1] & 0x20000020 || SpellFamilyFlags[2] & 0x00000010)
return SPELL_SPECIFIC_WARLOCK_ARMOR;