Not to worry, the rest of my tables in my defaults are dictonaries. The reason I used an indexed table was that I needed the spells in a specific order, which you can't do with dictionaries. However, the solution I used was making a small addition to my "spells" table.
Original configuration
Lua Code:
["Adaptation"] = {
condition = function() return select(10,GetPvpTalentInfoByID(3597)) and IsPvPZone() end,
spellID = 214027,
isInUse = true,
},
["AncestralGuidance"] = {
condition = function() return select(4,GetTalentInfo(5,2,1)) end,
spellID = 108281,
isInUse = true,
},
["Ascendance"] = {
condition = function() return select(4,GetTalentInfo(7,3,1)) end,
spellID = 114050,
isInUse = true,
},
...
New configuration
Lua Code:
["Adaptation"] = {
condition = function() return select(10,GetPvpTalentInfoByID(3597)) and IsPvPZone() end,
spellID = 214027,
group = 4,
order = 1,
isInUse = true,
},
["AncestralGuidance"] = {
condition = function() return select(4,GetTalentInfo(5,2,1)) end,
spellID = 108281,
group = 2,
order = 3,
isInUse = true,
},
["Ascendance"] = {
condition = function() return select(4,GetTalentInfo(7,3,1)) end,
spellID = 114050,
group = 2,
order = 2,
isInUse = true,
},
Thanks for the help/insights, everyone