jp-ganis/JPS — pull request #169 by pcmdgit (2012-09-12 23:44:34+00:00)
Title: changing rotations ingame

full backwards compability

example dk_frost.lua

-or- :

```lua
local spellTable = {}

--first rotation
spellTable[1] = {
["name"] = "your Rotation Name",
["tooltip"] = "Information for usage / purpose",
["rotation"] = {
--spells, like in the old table:
{"Bloodlust", jps.UseCds} ,
{"Horn of Winter", "onCD"}
}
}

--sec rotation
spellTable[2] = {
["name"] = "your secong rotation Name",
["tooltip"] = "Information for usage / purpose",
["rotation"] = {
--spells....
}
}

--- this only for initialize dropdowns
if(initOnly == "init") then
return spellTable
end
```