Quantcast

- bug fix: UnitBuff/UnitDebuff uses unitCaster and not isMine

Sidoine De Wispelaere [04-18-09 - 15:18]
- bug fix: UnitBuff/UnitDebuff uses unitCaster and not isMine

git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@31 d5049fe3-3747-40f7-a4b5-f36d6801af5f
Filename
defaut/Chasseur.lua
defaut/Guerrier.lua
diff --git a/defaut/Chasseur.lua b/defaut/Chasseur.lua
index 52dccf4..324d814 100644
--- a/defaut/Chasseur.lua
+++ b/defaut/Chasseur.lua
@@ -19,9 +19,9 @@ AddCheckBox(multi SpellName(MULTISHOT))
 AddIcon
 {
 	if TargetDebuffExpires(HUNTERSMARK 0) Spell(HUNTERSMARK)
-	if TargetDebuffExpires(BLACKARROW 0) Spell(BLACKARROW)
-	if TargetDebuffExpires(SERPENTSTING 0) Spell(SERPENTSTING)
-	if TargetDebuffExpires(EXPLOSIVESHOT 0) Spell(EXPLOSIVESHOT)
+	if TargetDebuffExpires(BLACKARROW 0 isMine=1) Spell(BLACKARROW)
+	if TargetDebuffExpires(SERPENTSTING 0 isMine=1) Spell(SERPENTSTING)
+	if TargetDebuffExpires(EXPLOSIVESHOT 0 isMine=1) Spell(EXPLOSIVESHOT)
 	Spell(AIMEDSHOT)
 	if CheckBoxOn(multi) Spell(MULTISHOT)
 	Spell(ARCANESHOT)
diff --git a/defaut/Guerrier.lua b/defaut/Guerrier.lua
index 200448b..ad3b7e2 100644
--- a/defaut/Guerrier.lua
+++ b/defaut/Guerrier.lua
@@ -69,7 +69,7 @@ AddIcon

         Spell(REVENGE usable=1)
         Spell(SHIELDSLAM)
-	Spell(BLOODTHIRST)
+        Spell(BLOODTHIRST)

         if Mana(more 10) Spell(DEVASTATE priority=2)
      }
@@ -90,8 +90,8 @@ AddIcon
         Spell(SHOCKWAVE)
         Spell(CONCUSSIONBLOW)

-         if CheckBoxOn(whirlwind) Spell(WHIRLWIND)
-       Spell(BLOODTHIRST)
+        if CheckBoxOn(whirlwind) Spell(WHIRLWIND)
+        Spell(BLOODTHIRST)
         if BuffPresent(SLAMBUFF) Spell(SLAM)
         Spell(MORTALSTRIKE)
         Spell(DEVASTATE)