Quantcast

- 3.2 for balance druid (eclipse)

Sidoine De Wispelaere [08-05-09 - 17:36]
- 3.2 for balance druid (eclipse)
- 3.2 for retribution paladin (exorcism)

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@92 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
Ovale.toc
defaut/Druide.lua
defaut/Paladin.lua
diff --git a/Ovale.toc b/Ovale.toc
index 78fecb1..453ec73 100644
--- a/Ovale.toc
+++ b/Ovale.toc
@@ -1,9 +1,9 @@
-## Interface: 30100
+## Interface: 30200
 ## Title: Ovale
 ## Notes: Show the icon of the next spell to cast
 ## Notes-frFR: Affiche l'icône du prochain sort à lancer
 ## Author: Sidoine
-## Version: 3.1.19
+## Version: 3.2.0
 ## OptionalDeps: Ace3, ButtonFacade
 ## SavedVariables: OvaleDB
 ## SavedVariablesPerCharacter: OvaleDBPC
diff --git a/defaut/Druide.lua b/defaut/Druide.lua
index e7ba929..7b56824 100644
--- a/defaut/Druide.lua
+++ b/defaut/Druide.lua
@@ -91,17 +91,20 @@ AddIcon
 		if TargetDebuffExpires(MOONFIRE 0)
 			Spell(MOONFIRE)

+		if BuffPresent(ECLIPSEWRATH)
+			Spell(WRATH)
+		if BuffPresent(ECLIPSESTARFIRE)
+			Spell(STARFIRE)
+
 		if CheckBoxOff(wrath)
 		{
-			if BuffPresent(ECLIPSEWRATH)
-				Spell(WRATH)
-			Spell(STARFIRE)
+			if BuffGain(ECLIPSEWRATH 30) Spell(STARFIRE)
+			Spell(WRATH)
 		}
 		if CheckBoxOn(wrath)
 		{
-			if BuffPresent(ECLIPSESTARFIRE)
-				Spell(STARFIRE)
-			Spell(WRATH)
+			if BuffGain(ECLIPSESTARFIRE 30) Spell(WRATH)
+			Spell(STARFIRE)
 		}
 	}
 }
diff --git a/defaut/Paladin.lua b/defaut/Paladin.lua
index a382455..1cdf2b1 100644
--- a/defaut/Paladin.lua
+++ b/defaut/Paladin.lua
@@ -2,8 +2,6 @@ Ovale.defaut["PALADIN"] =
 [[
 Define(SEALRIGHTEOUSNESS 21084)
 Define(SEALCOMMAND 20375)
-Define(SEALBLOOD 31892)
-Define(SEALMARTYR 53720)
 Define(SEALVENGEANCE 31801)
 Define(SEALCORRUPTION 53736)
 Define(JUDGELIGHT 20271)
@@ -24,7 +22,6 @@ Define(HOLYWRATH 2812)

 AddListItem(sceau piete SpellName(SEALRIGHTEOUSNESS))
 AddListItem(sceau autorite SpellName(SEALCOMMAND))
-AddListItem(sceau martyr SpellName(SEALMARTYR))
 AddListItem(sceau vengeance SpellName(SEALVENGEANCE))
 AddListItem(jugement lumiere SpellName(JUDGELIGHT))
 AddListItem(jugement sagesse SpellName(JUDGEWISDOM))
@@ -36,11 +33,6 @@ AddIcon
 {
      if List(sceau piete) and BuffExpires(SEALRIGHTEOUSNESS 3) Spell(SEALRIGHTEOUSNESS)
      if List(sceau autorite) and BuffExpires(SEALCOMMAND 3) Spell(SEALCOMMAND)
-     if List(sceau martyr)
-     {
-          if BuffExpires(SEALMARTYR 3) Spell(SEALMARTYR)
-          if BuffExpires(SEALBLOOD 3) Spell(SEALBLOOD)
-     }
      if List(sceau vengeance)
      {
           if BuffExpires(SEALVENGEANCE 3) Spell(SEALVENGEANCE)
@@ -55,7 +47,7 @@ AddIcon
      if List(jugement sagesse) Spell(JUDGEWISDOM)
      if CheckBoxOn(tempete) Spell(DIVINESTORM)
      if CheckBoxOn(consecration) Spell(CONSECRATE)
-     Spell(EXORCISM)
+     if BuffPresent(THEARTOFWAR) Spell(EXORCISM)
      if CheckBoxOn(coleredivine) Spell(HOLYWRATH)

      Spell(HOLYSHOCK)