Quantcast

some feral druid fixes

Sidoine De Wispelaere [11-21-09 - 19:45]
some feral druid fixes

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@138 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
Ovale.toc
defaut/Druide.lua
diff --git a/Ovale.toc b/Ovale.toc
index 8308cec..3cc8b03 100644
--- a/Ovale.toc
+++ b/Ovale.toc
@@ -3,7 +3,7 @@
 ## Notes: Show the icon of the next spell to cast
 ## Notes-frFR: Affiche l'icône du prochain sort à lancer
 ## Author: Sidoine
-## Version: 3.2.18
+## Version: 3.2.19
 ## OptionalDeps: Ace3, ButtonFacade, Recount
 ## SavedVariables: OvaleDB
 ## SavedVariablesPerCharacter: OvaleDBPC
diff --git a/defaut/Druide.lua b/defaut/Druide.lua
index ab35604..1931695 100644
--- a/defaut/Druide.lua
+++ b/defaut/Druide.lua
@@ -67,7 +67,7 @@ AddIcon help=main
 		if ComboPoints(more 4) and Mana(more 70)
 		{
 			if BuffExpires(SAVAGEROAR 5) Spell(SAVAGEROAR)
-			if TargetDebuffExpires(RIP 0 mine=1) Spell(RIP)
+			if TargetDebuffExpires(RIP 0 mine=1) and TargetDeadIn(more 7) Spell(RIP)
 		}

 		if {3s between BuffExpires(SAVAGEROAR 0) and TargetDebuffExpires(RIP 0)} and ComboPoints(more 2)
@@ -85,8 +85,15 @@ AddIcon help=main

 		if BuffPresent(CLEARCASTING) Spell(SHRED)

-		if ComboPoints(more 4) and BuffPresent(SAVAGEROAR 8) and TargetDebuffPresent(RIP 8 mine=1)
-			Spell(FEROCIOUSBITE)
+		if ComboPoints(more 4)
+		{
+			unless BuffExpires(SAVAGEROAR 8) or TargetDebuffExpires(RIP 8 mine=1)
+				Spell(FEROCIOUSBITE)
+			if TargetDeadIn(less 7)
+				Spell(FEROCIOUSBITE)
+			if Mana(more 90)
+				Spell(SHRED)
+		}
 	}

 	unless Stance(1) or Stance(3)