From 589075fba1d155de241fcb6a0332a9430d8ccc3d Mon Sep 17 00:00:00 2001 From: Sidoine De Wispelaere Date: Sun, 3 May 2009 20:03:13 +0000 Subject: [PATCH] - slight changes to priest code (should solve the problem with shadow weaving) git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@53 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- defaut/Pretre.lua | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/defaut/Pretre.lua b/defaut/Pretre.lua index ea7fcc7..b4c70ee 100644 --- a/defaut/Pretre.lua +++ b/defaut/Pretre.lua @@ -15,6 +15,11 @@ Define(Dispersion 47585) Define(Shadowfiend 34433) CanStopChannelling(MF) # Mind Flay's channeling can be interrupted if needed +# Spells with cast time that add buff or debuff +SpellAddTargetDebuff(VT SW=15 VT=15) +SpellAddTargetDebuff(MF SW=15) +SpellAddTargetDebuff(MB SW=15) + # Add main monitor AddIcon { @@ -34,19 +39,19 @@ if BuffPresent(Focus) # before suggesting Shadow Word: Pain if BuffPresent(SW stacks=5) and TargetDebuffExpires(SWP 0 mine=1) { - Spell(SWP doNotRepeat=1) + Spell(SWP) } #Refresh VT if TargetDebuffExpires(VT 1.4 mine=1 haste=spell) - Spell(VT doNotRepeat=1) + Spell(VT) #cast MB if up Spell(MB doNotRepeat=1) #Refresh devouring plague if TargetDebuffExpires(DP 0 mine=1) - Spell(DP doNotRepeat=1) + Spell(DP) #cast Mind flay if nothing else can be done Spell(MF priority=2) -- 1.7.9.5