Quantcast

deathknight: bug fixes

Sidoine De Wispelaere [10-16-10 - 19:25]
deathknight: bug fixes

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@287 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
defaut/Chevalier.lua
diff --git a/defaut/Chevalier.lua b/defaut/Chevalier.lua
index 3819f15..7cd6b6c 100644
--- a/defaut/Chevalier.lua
+++ b/defaut/Chevalier.lua
@@ -66,11 +66,11 @@ Define(VAMPIRICBLOOD 55233) #blood
 Define(GLYPHHOWLINGBLAST 63335)

 #Buffs and debuffs
-Define(BLOODPLAGUE 59879)
-Define(FROSTFEVER 59921)
+Define(BLOODPLAGUE 55078)
+Define(FROSTFEVER 55095)
 Define(KILLINGMACHINE 51124)
-Define(SHADOWINFUSION 49572)
-Define(SUDDENDOOM 49530)
+Define(SHADOWINFUSION 91342)
+Define(SUDDENDOOM 81340)

 AddCheckBox(horn SpellName(HORNOFWINTER))

@@ -133,7 +133,7 @@ AddIcon help=main mastery=3

 	if TargetDebuffPresent(FROSTFEVER mine=1) and TargetDebuffPresent(BLOODPLAGUE mine=1)
 	{
-		if TargetBuffPresent(SHADOWINFUSION stacks=5 target=pet) Spell(DARKTRANSFORMATION)
+		if Runes(unholy 1) and TargetBuffPresent(SHADOWINFUSION stacks=5 target=pet) Spell(DARKTRANSFORMATION)
 		if BuffPresent(SUDDENDOOM mine=1) Spell(DEATHCOIL usable=1)
 		if Mana(more 90) Spell(DEATHCOIL usable=1)
 		if Runes(unholy 1) Spell(SCOURGESTRIKE)