4,951
edits
Falterfire (talk | contribs) (Adding option for skill-specific modifiers to get all things for that skill (in the messiest way possible)) |
Falterfire (talk | contribs) (tweaks to hopefully fix the table) |
||
Line 189: | Line 189: | ||
if type(modValue) == 'table' then | if type(modValue) == 'table' then | ||
for j, subVal in Shared.skpairs(modValue) do | for j, subVal in Shared.skpairs(modValue) do | ||
if subVal[1] == skill then | if subVal[1] == skill or skill == nil or skill == '' then | ||
table.insert(mainModText, Constants._getModifierText(modName, subVal)) | table.insert(mainModText, Constants._getModifierText(modName, subVal)) | ||
else | else |