From 2f70905da1b331b36434034ce521124c879e1783 Mon Sep 17 00:00:00 2001 From: Sidoine De Wispelaere Date: Sun, 3 May 2009 19:49:43 +0000 Subject: [PATCH] - hunter : do not cast steady shot during lock and load git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@52 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- defaut/Chasseur.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/defaut/Chasseur.lua b/defaut/Chasseur.lua index 324d814..6c3ba69 100644 --- a/defaut/Chasseur.lua +++ b/defaut/Chasseur.lua @@ -13,6 +13,7 @@ Define(BESTIALWRATH 19574) Define(HUNTERSMARK 53338) Define(BLACKARROW 63668) Define(LOCKANDLOAD 56453) +Define(TALENTEXPLOSIVESHOT 2145) AddCheckBox(multi SpellName(MULTISHOT)) @@ -24,10 +25,10 @@ AddIcon if TargetDebuffExpires(EXPLOSIVESHOT 0 isMine=1) Spell(EXPLOSIVESHOT) Spell(AIMEDSHOT) if CheckBoxOn(multi) Spell(MULTISHOT) - Spell(ARCANESHOT) + unless TalentPoints(TALENTEXPLOSIVESHOT more 0) Spell(ARCANESHOT) if TargetLifePercent(less 20) Spell(KILLSHOT) if TargetDebuffExpires(HUNTERSMARK 2) Spell(HUNTERSMARK) - unless BuffPresent(LOCKANDLOAD) Spell(STEADYSHOT) + unless TargetDebuffPresent(EXPLOSIVESHOT isMine=1) and {2s before Spell(EXPLOSIVESHOT)} Spell(STEADYSHOT) } AddIcon -- 1.7.9.5