From aac26c9327408e03f7dd217b2745f6937c75192d Mon Sep 17 00:00:00 2001 From: Sidoine De Wispelaere Date: Sat, 27 Jun 2009 20:02:22 +0000 Subject: [PATCH] - slight modifications in mage and rogue scripts- elemental chaman: use chain lightning if lightning would delay lava leash git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@71 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- defaut/Chaman.lua | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/defaut/Chaman.lua b/defaut/Chaman.lua index a404340..7b1042c 100644 --- a/defaut/Chaman.lua +++ b/defaut/Chaman.lua @@ -41,6 +41,7 @@ Define(STONESKINTOTEM 8071) Define(STRENGTHOFEARTHTOTEM 8075) Define(TREMORTOTEM 8143) +AddCheckBox(aoe L(AOE)) AddCheckBox(chain SpellName(CHAINLIGHTNING)) AddCheckBox(melee L(Melee)) AddListItem(fire wrath SpellName(TOTEMOFWRATH)) @@ -69,8 +70,15 @@ AddIcon if BuffExpires(WATERSHIELD 2) Spell(WATERSHIELD) if TargetDebuffExpires(FLAMESHOCK 0 mine=1) Spell(FLAMESHOCK) Spell(LAVABURST doNotRepeat=1) - if CheckBoxOn(chain) Spell(CHAINLIGHTNING doNotRepeat=1) - Spell(LIGHTNINGBOLT) + if CheckBoxOn(aoe) Spell(CHAINLIGHTNING doNotRepeat=1) + + if CheckBoxOn(chain) + { + unless 1.4s before Spell(LAVABURST doNotRepeat=1) Spell(LIGHTNINGBOLT) + + Spell(CHAINLIGHTNING) + } + if CheckBoxOff(chain) Spell(LIGHTNINGBOLT) } if CheckBoxOn(melee) { @@ -81,7 +89,7 @@ AddIcon if BuffExpires(LIGHTNINGSHIELD 0) Spell(LIGHTNINGSHIELD) Spell(STORMSTRIKE) if TargetDebuffPresent(FLAMESHOCK 1.5 haste=spell mine=1) Spell(LAVALASH) - if CheckBoxOn(chain) and BuffPresent(MAELSTROMWEAPON stacks=5) Spell(CHAINLIGHTNING doNotRepeat=1) + if CheckBoxOn(aoe) and BuffPresent(MAELSTROMWEAPON stacks=5) Spell(CHAINLIGHTNING doNotRepeat=1) if BuffPresent(MAELSTROMWEAPON stacks=5) Spell(LIGHTNINGBOLT doNotRepeat=1) } } -- 1.7.9.5