Originally Posted by
Debordes
Thank you for this, but it does not cast Greater Healing Wave, I'll drop down past 80% and it will just continue with the rest of the rotation. (I have taken out Lightning Bolt out of the rotation with the bot)
Yeah, sorry, my bad. Got it fixed.
You might change spell order, but just make sure your Lightning Bolt goes after GHW.
Attachment 4597
Attachment 4596
Code:
<?xml version="1.0" encoding="utf-8" ?><SHAMAN><Rotation><RotationName>enhancement</RotationName><RotationDefault>false</RotationDefault><RotationList>windfury|flametoungue|lightning shield|GHW (Maelstrom)|Lightning Bolt (Maelstrom)|Searing Totem|Stormstrike|Unleash Elements|Earth Shock|Lava Lash|Flame Shock|Blood Fury</RotationList></Rotation><Rotation><RotationName>enhanc aoe</RotationName><RotationDefault>false</RotationDefault><RotationList>aoeFlame Shock|windfury|flametoungue|lightning shield|GHW (Maelstrom)|Blood Fury|Searing Totem|Fire Nova|chain lightning (Maelstrom)|Stormstrike|Lava Lash|Unleash Elements|Earth Shock</RotationList></Rotation></SHAMAN>
Code:
<?xml version="1.0" encoding="utf-8" ?><SHAMAN><Ability><Name>Lava Lash</Name><Default>false</Default><SpellID>60103</SpellID><Actions>/startattack|/use 10</Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Stormstrike</Name><Default>false</Default><SpellID>17364</SpellID><Actions>/startattack</Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Earth Shock</Name><Default>false</Default><SpellID>8042</SpellID><Actions>/startattack</Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Searing Totem</Name><Default>false</Default><SpellID>66842</SpellID><Actions>/startattack</Actions><Lua>local hasSearing = GetTotemTimeLeft(1)
if hasSearing == 0 then
return true
else
if hasSearing < 3 then
return true
end
end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Unleash Elements</Name><Default>false</Default><SpellID>73680</SpellID><Actions>/startattack</Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Flame Shock</Name><Default>false</Default><SpellID>8050</SpellID><Actions>/startattack</Actions><Lua>sFS = UnitBuffID("player", 73683)
if sFS ~= nil then
return true
end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Lightning Bolt (Maelstrom)</Name><Default>false</Default><SpellID>403</SpellID><Actions>/startattack</Actions><Lua>local _,_,_,hasMaelstrom = UnitBuffID("player", 53817)
if hasMaelstrom == 5 then
return true
else
return false
end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability>
<Ability>
<Name>GHW (Maelstrom)</Name>
<Default>false</Default>
<SpellID>77472</SpellID>
<Actions>/startattack</Actions>
<Lua>local _,_,_,hasMaelstrom =
UnitBuffID(&quot;player&quot;, 53817) local unithealth
= 100 * UnitHealth(&quot;player&quot;) /
UnitHealthMax(&quot;player&quot;) if hasMaelstrom == 5
and unithealth &lt; 80 then return true else return false
end</Lua>
<RecastDelay>0</RecastDelay>
<Target>Target</Target>
</Ability>
<Ability><Name>chain lightning (Maelstrom)</Name><Default>false</Default><SpellID>421</SpellID><Actions>/startattack</Actions><Lua>local _,_,_,hasMaelstrom = UnitBuffID("player", 53817)
if hasMaelstrom == 5 then
return true
else
return false
end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Fire Nova</Name><Default>false</Default><SpellID>1535</SpellID><Actions>/startattack</Actions><Lua>sFn = UnitDebuffID("target", 8050)
if sFn ~= nil then
return true
end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>MagmaTorem</Name><Default>false</Default><SpellID>8190</SpellID><Actions>/startattack</Actions><Lua>local hasMagma = GetTotemTimeLeft(1)
if hasMagma == 0 then
return true
else
if hasMagma < 3 then
return true
end
end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>aoeFlame Shock</Name><Default>false</Default><SpellID>8050</SpellID><Actions>/startattack</Actions><Lua>local FlameShockDebuff, _, _, _, _, _, FlameShockExpireTime = UnitDebuffID("target", 8050)
if FlameShockDebuff ~= nil then
FlameShockTime = FlameShockExpireTime - GetTime()
if FlameShockTime < .2 then
return true
end
else
return true
end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Blood Fury</Name><Default>false</Default><SpellID>33697</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>flametoungue</Name><Default>false</Default><SpellID>8024</SpellID><Actions></Actions><Lua>local _,_,_,hasFlametongue = GetWeaponEnchantInfo()
if hasFlametongue ~= nil then
return false
else
return true
end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>windfury</Name><Default>false</Default><SpellID>8232</SpellID><Actions></Actions><Lua>local hasWindfury = GetWeaponEnchantInfo()
if hasWindfury ~= nil then
return false
else
return true
end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>lightning shield</Name><Default>false</Default><SpellID>324</SpellID><Actions></Actions><Lua>local _,_,_,ls = UnitBuffID("player", 324)
if ls == nil then
return true
else
return false
end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability></SHAMAN>