Anonymous

Module:ModifierTables: Difference between revisions

From Melvor Idle
Remove deprecated skill parameter
m (Correct function reference)
(Remove deprecated skill parameter)
Line 490: Line 490:
local args = frame.args ~= nil and frame.args or frame
local args = frame.args ~= nil and frame.args or frame
local modifier = args[1]
local modifier = args[1]
local skill = args.skill
local columnName = args[2]
local columnName = args[2]
local getOpposites = args[3]
local getOpposites = args[3]
Line 529: Line 528:
if globalPropsText ~= nil then
if globalPropsText ~= nil then
globalProps = modPropTextToTable(globalPropsText)
globalProps = modPropTextToTable(globalPropsText)
end
-- Legacy support for skill property, deprecated
if skill ~= nil and skill ~= '' then
globalProps.skill = skill
end
end