Module:Traits: Difference between revisions
From Elwiki
No edit summary |
No edit summary |
||
Line 13: | Line 13: | ||
end | end | ||
traits = split(traits); | traits = split(traits); | ||
local skill = args[ | local skill = args[7] | ||
-- Attribute effect | -- Attribute effect | ||
Line 20: | Line 20: | ||
[2] = {} | [2] = {} | ||
} | } | ||
if args.effect1 == nil then | if args.effect1 == nil then | ||
args.effect1 = args[4] | |||
end | end | ||
if args.effect2 == nil then | if args.effect2 == nil then | ||
args.effect2 = args[5] | |||
end | end | ||
if | if args.effects1 ~= nil then | ||
effects[1] = split( | effects[1] = split(args.effects1) | ||
end | end | ||
if | if args.effects2 ~= nil then | ||
effects[2] = split( | effects[2] = split(args.effects2) | ||
end | end | ||