Module:CharStats: Difference between revisions
From Elwiki
no edit summary
No edit summary |
Shironsaki (talk | contribs) No edit summary |
||
Line 14: | Line 14: | ||
elseif args[stat] == '3' then | elseif args[stat] == '3' then | ||
stats[stat] = args[value3] | stats[stat] = args[value3] | ||
elseif args[stat] == '0' then | |||
stats[stat] = args[value4] | |||
end | end | ||
end | end | ||
readStats('Speed', 'l_slow', 'l_average', 'l_fast'); | readStats('Speed', 'l_slow', 'l_average', 'l_fast', 'l_unk'); | ||
readStats('Range', 'l_short', 'l_medium', 'l_long'); | readStats('Range', 'l_short', 'l_medium', 'l_long', 'l_unk'); | ||
readStats('Difficulty', 'l_easy', 'l_normal', 'l_hard'); | readStats('Difficulty', 'l_easy', 'l_normal', 'l_hard', 'l_unk'); | ||
local type = args.l_magical; | local type = args.l_magical; |