From 24fa367a5c07839c4d817d3256a12f9e639e914d Mon Sep 17 00:00:00 2001 From: Sidoine De Wispelaere Date: Mon, 24 May 2010 12:26:51 +0000 Subject: [PATCH] enhancement shaman script by rsriv git-svn-id: svn://svn.curseforge.net/wow/ovale/mainline/trunk@255 d5049fe3-3747-40f7-a4b5-f36d6801af5f --- defaut/Chaman.lua | 29 ++++++++++++++++++----------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/defaut/Chaman.lua b/defaut/Chaman.lua index 22426dc..05ec5f9 100644 --- a/defaut/Chaman.lua +++ b/defaut/Chaman.lua @@ -89,26 +89,33 @@ AddIcon help=main } if TalentPoints(TALENTFLURRY more 0) { + #Changes by rsriv unless InCombat() { if WeaponEnchantExpires(mainhand 400) Spell(WINDFURYWEAPON) - if WeaponEnchantExpires(offhand 400) Spell(FLAMETHONG) + if WeaponEnchantExpires(offhand 400) Spell(FLAMETONGUE) } - - if CheckBoxOn(aoe) and BuffPresent(MAELSTROMWEAPON stacks=5) Spell(CHAINLIGHTNING) - if BuffPresent(MAELSTROMWEAPON stacks=5) Spell(LIGHTNINGBOLT) - if TargetDebuffPresent(STORMSTRIKE) Spell(EARTHSHOCK) - Spell(STORMSTRIKE) - Spell(EARTHSHOCK) - if CheckBoxOn(firenova) + + if CheckBoxOn(aoe) { if TotemExpires(fire) Spell(MAGMATOTEM) unless TotemExpires(fire) Spell(FIRENOVA) + if BuffPresent(MAELSTROMWEAPON stacks=5) Spell(CHAINLIGHTNING) } - if BuffExpires(LIGHTNINGSHIELD 0) Spell(LIGHTNINGSHIELD) + + if BuffPresent(MAELSTROMWEAPON stacks=5) Spell(LIGHTNINGBOLT) + if TargetDebuffExpires(FLAMESHOCK 2 haste=spell mine=1) Spell(FLAMESHOCK) + if TargetDebuffExpires(STORMSTRIKE) Spell(STORMSTRIKE) + if BuffExpires(LIGHTNINGSHIELD) Spell(LIGHTNINGSHIELD) + if TotemExpires(fire) Spell(MAGMATOTEM) + Spell(FERALSPIRIT) + Spell(SHAMANISTICRAGE) + Spell(EARTHSHOCK) + Spell(STORMSTRIKE) Spell(LAVALASH) - if CheckBoxOn(aoe) and BuffPresent(MAELSTROMWEAPON stacks=3) Spell(CHAINLIGHTNING priority=2) - if BuffPresent(MAELSTROMWEAPON stacks=3) Spell(LIGHTNINGBOLT priority=2) + Spell(FIRENOVA) + Spell(MAGMATOTEM priority=2) + Spell(LIGHTNINGSHIELD priority=2) } } -- 1.7.9.5