So there is what i did for elemental shaman. If u see something to improve just do it.
For best working buff up urself before combat, totems try too put before combat. Cuz when i started combat with nothing it is losing dps and proces.
Abilities:
Code:
<?xml version="1.0" encoding="utf-8" ?><SHAMAN><Ability><Name>Flame Shock</Name><Default>false</Default><SpellID>8050</SpellID><Actions></Actions><Lua>local FS, _, _, _, _, _, timer = UnitDebuffID(&quot;target&quot;, 8050, &quot;PLAYER&quot;)
if FS ~= nil then
if timer - GetTime() &lt; 2 then
return true
end
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>sLS = UnitBuffID(&quot;player&quot;, 324)
if sLS == nil then
return true
end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target></Ability><Ability><Name>Lava Burst</Name><Default>false</Default><SpellID>51505</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Lightnin Bolt</Name><Default>false</Default><SpellID>403</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Earth Shock</Name><Default>false</Default><SpellID>8042</SpellID><Actions></Actions><Lua>local _,_,_,LSCount = UnitBuffID(&quot;player&quot;, 324)
if LSCount ~= nil then
if LSCount &gt;= 7 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></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability><Ability><Name>Flametongue wep</Name><Default>false</Default><SpellID>8024</SpellID><Actions></Actions><Lua>FW = GetWeaponEnchantInfo(&quot;player&quot;,8024)
if FW == nil then
return true
end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target></Ability><Ability><Name>Thunderstorm</Name><Default>false</Default><SpellID>51490</SpellID><Actions></Actions><Lua>local unitmana = 100 * UnitMana(&quot;player&quot;) / UnitManaMax(&quot;player&quot;)
if unitmana &lt; 90 then
return true
end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target></Ability><Ability><Name>Totems</Name><Default>false</Default><SpellID>66842</SpellID><Actions></Actions><Lua>AirTotem=UnitBuffID(&quot;player&quot;,77746)
FireTotem=UnitBuffID(&quot;player&quot;,3738)
if AirTotem==nil or FireTotem==nil then
return true
end</Lua><RecastDelay>0</RecastDelay><Target>Player</Target></Ability><Ability><Name>Chain Lightning</Name><Default>false</Default><SpellID>421</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target></Ability></SHAMAN>
Rotations:
Code:
<?xml version="1.0" encoding="utf-8" ?><SHAMAN><Rotation><RotationName>Enhance</RotationName><RotationDefault>false</RotationDefault><RotationList></RotationList></Rotation><Rotation><RotationName>Elemental</RotationName><RotationDefault>false</RotationDefault><RotationList>Lightning Shield|Flametongue wep|Totems|Thunderstorm|Flame Shock|Unleash Elements|Lava Burst|Lightnin Bolt|Earth Shock</RotationList></Rotation><Rotation><RotationName>Elemental AoE</RotationName><RotationDefault>false</RotationDefault><RotationList>Thunderstorm|Lightning Shield|Chain Lightning|Flametongue wep|Flame Shock|Totems|Unleash Elements|Lava Burst|Earth Shock|Lightnin Bolt</RotationList></Rotation></SHAMAN>
Elemental Mastery is out of GCD so use ur own when needed and if u wanna BL up just spam as much as possible until poped up.
Will work for more like tremor on fear (anyway is it possible? i supose have to add every fear spell to code right?)