ElEditors, Interface administrators, Administrators
70,980
edits
No edit summary |
No edit summary |
||
Line 127: | Line 127: | ||
-- Unnamed argument. | -- Unnamed argument. | ||
local unnamed = split(args[3 + trait_count]); | local unnamed = split(args[3 + trait_count]); | ||
local MP_ARG = args['mp' .. trait_count] or args['mp_recovery' .. trait_count] or default_value['mp'] or | |||
default_value['mp_recovery']; | |||
if args[1] == 'Rose' then | if args[1] == 'Rose' then | ||
unnamed[2] = unnamed[1] | unnamed[2] = unnamed[1] or args['mp' .. trait_count] | ||
unnamed[1] = 'ECP' | unnamed[1] = 'ECP' | ||
MP_ARG = nil | |||
end | end | ||
Line 141: | Line 145: | ||
unnamed[1], | unnamed[1], | ||
unnamed[2], | unnamed[2], | ||
MP = | MP = MP_ARG, | ||
CD = args['cd' .. trait_count] or default_value['cd'], | CD = args['cd' .. trait_count] or default_value['cd'], | ||
DURATION = args['duration' .. trait_count], | DURATION = args['duration' .. trait_count], |