Quantcast

warrior: sunder armor fix

Sidoine De Wispelaere [10-16-10 - 16:07]
warrior: sunder armor fix

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@278 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
defaut/Guerrier.lua
diff --git a/defaut/Guerrier.lua b/defaut/Guerrier.lua
index d8800b6..cea09cb 100644
--- a/defaut/Guerrier.lua
+++ b/defaut/Guerrier.lua
@@ -24,7 +24,7 @@ Define(DEFENSIVESTANCE 71)
 Define(DEMOSHOUT 1160)
 	SpellAddTargetDebuff(DEMOSHOUT DEMOSHOUT=45)
 Define(DEVASTATE 20243)
-	SpellAddTargetDebuff(DEVASTATE SUNDERARMOR=30)
+	SpellAddTargetDebuff(DEVASTATE SUNDERARMORDEBUFF=30)
 Define(EXECUTE 5308)
 Define(HEROICLEAP 6544)
 Define(HEROICSTRIKE 78)
@@ -59,7 +59,7 @@ Define(SLAM 1464)
 Define(STRIKE 88161)
 	SpellInfo(STRIKE cd=3)
 Define(SUNDERARMOR 7386)
-	SpellAddTargetDebuff(SUNDERARMOR SUNDERARMOR=30)
+	SpellAddTargetDebuff(SUNDERARMOR SUNDERARMORDEBUFF=30)
 Define(SWEEPINGSTRIKES 12328)
 Define(THUNDERCLAP 6343)
 	SpellAddTargetDebuff(THUNDERCLAP THUNDERCLAP=30)
@@ -72,6 +72,7 @@ Define(BLOODSURGE 46916)
 Define(TASTEFORBLOOD 56636)
 Define(ENRAGE 14202)
 Define(EXECUTIONER 90806)
+Define(SUNDERARMORDEBUFF 58567)

 #Talents
 Define(SLAMTALENT 2233)
@@ -92,7 +93,7 @@ AddIcon help=main mastery=1
 	if List(shout command) and {Mana(less 20) or BuffExpires(stamina 3)} Spell(COMMANDINGSHOUT nored=1)
     if List(shout battle) and {Mana(less 20) or BuffExpires(strengthagility 3)} Spell(BATTLESHOUT nored=1)
 	if TargetClassification(worldboss) and CheckBoxOn(demo) and TargetDebuffExpires(lowerphysicaldamage 2) Spell(DEMOSHOUT nored=1)
-	if TargetDebuffExpires(SUNDERARMOR 2 stacks=3) and CheckBoxOn(sunder) and TargetDebuffExpires(lowerarmor 2) Spell(SUNDERARMOR nored=1)
+	if TargetDebuffExpires(SUNDERARMORDEBUFF 2 stacks=3) and CheckBoxOn(sunder) and TargetDebuffExpires(lowerarmor 2) Spell(SUNDERARMOR nored=1)

 	if Mana(less 20) Spell(DEADLYCALM)
 	if TargetDebuffExpires(REND) Spell(REND)
@@ -109,7 +110,7 @@ AddIcon help=main mastery=2
 	if List(shout command) and {Mana(less 20) or BuffExpires(stamina 3)} Spell(COMMANDINGSHOUT nored=1)
     if List(shout battle) and {Mana(less 20) or BuffExpires(strengthagility 3)} Spell(BATTLESHOUT nored=1)
 	if TargetClassification(worldboss) and CheckBoxOn(demo) and TargetDebuffExpires(lowerphysicaldamage 2) Spell(DEMOSHOUT nored=1)
-	if TargetDebuffExpires(SUNDERARMOR 2 stacks=3) and CheckBoxOn(sunder) and TargetDebuffExpires(lowerarmor 2) Spell(SUNDERARMOR nored=1)
+	if TargetDebuffExpires(SUNDERARMORDEBUFF 2 stacks=3) and CheckBoxOn(sunder) and TargetDebuffExpires(lowerarmor 2) Spell(SUNDERARMOR nored=1)

 	if CheckBoxOn(multi) Spell(WHIRLWIND)
 	Spell(COLOSSUSSMASH)