Can someone tell me what is wrong with this xml? I am trying to level a prot warrior and code along the way when I learn new skills, but it doesn't seem to work...
Code:
<?xml version="1.0" encoding="utf-8" ?><WARRIOR><Ability><Name>Shield Slam</Name><Default>false</Default><SpellID>23922</SpellID><Actions></Actions><Lua>return true</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Heroic Strike</Name><Default>false</Default><SpellID>78</SpellID><Actions></Actions><Lua>if UnitPower(&quot;player&quot;) &gt;= 65
then
return true
end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Thunder Clap</Name><Default>false</Default><SpellID>6343</SpellID><Actions></Actions><Lua>if CheckInteractDistance(&quot;target&quot;, 3)
and (UnitDebuffID(&quot;target&quot;, 6343) == nil
then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Rend</Name><Default>false</Default><SpellID>772</SpellID><Actions></Actions><Lua>if UnitDebuffID(&quot;target&quot;, 94009) == nil
then return true end</Lua><RecastDelay>500</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability><Ability><Name>Victory Rush</Name><Default>false</Default><SpellID>34428</SpellID><Actions></Actions><Lua>if 100 * UnitHealth(&quot;player&quot;) / UnitHealthMax(&quot;player&quot;) &lt; 80
then return true end</Lua><RecastDelay>0</RecastDelay><Target>Target</Target><CancelChannel>False</CancelChannel><LuaBefore></LuaBefore><LuaAfter></LuaAfter></Ability></WARRIOR>
Code:
<?xml version="1.0" encoding="utf-8" ?><WARRIOR><Rotation><RotationName>protection</RotationName><RotationDefault>false</RotationDefault><RotationList>Victory Rush|Heroic Strike|Thunder Clap|Shield Slam|Rend</RotationList><RequireCombat>false</RequireCombat><RotationNotes></RotationNotes></Rotation></WARRIOR>
EDIT: it seems to work now...even though I did not change anything..