Created
January 11, 2012 07:02
-
-
Save rsa/1593475 to your computer and use it in GitHub Desktop.
necrotic plague
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/game/Spell.cpp b/src/game/Spell.cpp | |
index 01b9083..34bc11d 100644 | |
--- a/src/game/Spell.cpp | |
+++ b/src/game/Spell.cpp | |
@@ -1705,6 +1705,12 @@ void Spell::SetTargetMap(SpellEffectIndex effIndex, uint32 targetMode, UnitList& | |
case 71340: // Pact of darkfallen (hack for script work) | |
unMaxTargets = 1; | |
break; | |
+ case 70337: // LK death plague | |
+ case 73912: | |
+ case 73913: | |
+ case 73914: | |
+ unMaxTargets = 1; | |
+ break; | |
} | |
break; | |
} | |
diff --git a/src/game/SpellAuras.cpp b/src/game/SpellAuras.cpp | |
index 2d5d583..f8f42c2 100644 | |
--- a/src/game/SpellAuras.cpp | |
+++ b/src/game/SpellAuras.cpp | |
@@ -9357,6 +9357,42 @@ void SpellAuraHolder::HandleSpellSpecificBoosts(bool apply) | |
} | |
break; | |
} | |
+ case 70337: // LK death plague | |
+ { | |
+ if (!apply) | |
+ { | |
+ cast_at_remove = true; | |
+ spellId1 = 70337; | |
+ } | |
+ break; | |
+ } | |
+ case 73912: | |
+ { | |
+ if (!apply) | |
+ { | |
+ cast_at_remove = true; | |
+ spellId1 = 73912; | |
+ } | |
+ break; | |
+ } | |
+ case 73913: | |
+ { | |
+ if (!apply) | |
+ { | |
+ cast_at_remove = true; | |
+ spellId1 = 73913; | |
+ } | |
+ break; | |
+ } | |
+ case 73914: | |
+ { | |
+ if (!apply) | |
+ { | |
+ cast_at_remove = true; | |
+ spellId1 = 73914; | |
+ } | |
+ break; | |
+ } | |
default: | |
return; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment