Lua Code:
local lSpellNamesAndIds = {
["PALADIN"] = {
["Retribution"] = {
["Judgment"] = 231663,
["Templars-verdict"] = 85256,
["crusader-strike"] = 231667,
},
},
["DRUID"] = {
["Balance"] = {
["Starfall"] = 231663,
["Sunrise"] = 85256,
},
},
};
Since you said your values are fictitious, this might not be useful advice, but there's certainly no need to create tables for every spell containing only the name and the ID.