Module:ModifierTables: Difference between revisions

no edit summary
mNo edit summary
No edit summary
Line 234: Line 234:
   local modifier = frame.args ~= nil and frame.args[1] or frame[1]
   local modifier = frame.args ~= nil and frame.args[1] or frame[1]
   local skill = frame.args ~= nil and frame.args.skill or frame.skill
   local skill = frame.args ~= nil and frame.args.skill or frame.skill
   local columnName = frame.args ~= nil and frame.args[3] or frame[3]
   local columnName = frame.args ~= nil and frame.args[2] or frame[2]
   local getOpposites = frame.args ~= nil and frame.args[4] or frame[4]
   local getOpposites = frame.args ~= nil and frame.args[3] or frame[3]
   getOpposites = getOpposites ~= nil and string.upper(getOpposites) == 'TRUE' or true
   getOpposites = getOpposites ~= nil and string.upper(getOpposites) == 'TRUE' or true