From 244f125332fd2dfe5833bb0e604735da67344883 Mon Sep 17 00:00:00 2001 From: Sidoine De Wispelaere Date: Sat, 18 Apr 2009 15:18:16 +0000 Subject: [PATCH] - 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 --- defaut/Chasseur.lua | 6 +++--- defaut/Guerrier.lua | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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) -- 1.7.9.5