Quantcast

changes to druid and warrior default script

Sidoine De Wispelaere [02-07-09 - 18:42]
changes to druid and warrior default script

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@18 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
defaut/Druide.lua
defaut/Guerrier.lua
diff --git a/defaut/Druide.lua b/defaut/Druide.lua
index c9ba67a..3727700 100644
--- a/defaut/Druide.lua
+++ b/defaut/Druide.lua
@@ -27,20 +27,19 @@ AddIcon
 {
   if Stance(1)
   {
-     if CheckBoxOn(lucioles) and
-          TargetDebuffExpires(FAERIEFERAL 2)
+     if CheckBoxOn(lucioles) and TargetDebuffExpires(FAERIEFERAL 2)
        Spell(FAERIEFERAL)
-
-     Spell(MANGLEBEAR)

-     if CheckBoxOn(demo) and
-          TargetDebuffExpires(DEMOROAR 2)
+     if CheckBoxOn(demo) and TargetDebuffExpires(DEMOROAR 2)
        Spell(DEMOROAR)
+
+     Spell(MANGLEBEAR)
+
+     if CheckBoxOn(blood) and Mana(more 10) and TargetDebuffExpires(LACERATE 4 stacks=5)
+       Spell(LACERATE)

-     if CheckBoxOn(multi) Spell(SWIPE)
-
-     if CheckBoxOn(blood) and Mana(more 10)
-      Spell(LACERATE)
+     if CheckBoxOn(multi)
+       Spell(SWIPE)
   }

   if Stance(3)
@@ -82,9 +81,9 @@ AddIcon
 {
   if Stance(1)
   {
-     if Mana(more 50)
        Spell(MAUL doNotRepeat=1)
   }
 }

+
 ]]
diff --git a/defaut/Guerrier.lua b/defaut/Guerrier.lua
index dbe443b..f629993 100644
--- a/defaut/Guerrier.lua
+++ b/defaut/Guerrier.lua
@@ -22,6 +22,12 @@ Define(SUNDER 7386)
 Define(CONCUSSIONBLOW 12809)
 Define(REND 772)
 Define(OVERPOWER 7384)
+Define(SHIELDBLOCK 2565)
+Define(SHIELDWALL 871)
+Define(LASTSTAND 12975)
+Define(DEATHWISH 12292)
+Define(RECKLESSNESS 1719)
+Define(BLADESTORM 46924)

 AddCheckBox(multi L(AOE))
 AddCheckBox(demo SpellName(DEMOSHOUT))
@@ -73,8 +79,8 @@ AddIcon
         Spell(SHOCKWAVE)
         Spell(CONCUSSIONBLOW)

-        Spell(BLOODTHIRST)
-        if CheckBoxOn(whirlwind) Spell(WHIRLWIND)
+         if CheckBoxOn(whirlwind) Spell(WHIRLWIND)
+       Spell(BLOODTHIRST)
         if BuffPresent(SLAMBUFF) Spell(SLAM)
         Spell(MORTALSTRIKE)
         Spell(DEVASTATE)
@@ -115,4 +121,23 @@ AddIcon
      }
 }

+AddIcon
+{
+    if Stance(2) #Defense
+    {
+        Spell(SHIELDBLOCK)
+ 	Spell(LASTSTAND)
+	Spell(SHIELDWALL)
+    }
+    if Stance(3) #berserker
+    {
+	Spell(DEATHWISH)
+	Spell(RECKLESSNESS)
+    }
+    if Stance(1) #combat
+    {
+	Spell(BLADESTORM)
+    }
+}
+
 ]]