- hunter : do not cast steady shot during lock and load
Sidoine De Wispelaere [05-03-09 - 19:49]
- 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
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