ElEditors, Interface administrators, Administrators
70,872
edits
No edit summary |
No edit summary |
||
Line 20: | Line 20: | ||
[2] = {} | [2] = {} | ||
} | } | ||
local e1 = args.effect1; | |||
local e2 = args.effect2; | |||
if args.effect1 == nil then | if args.effect1 == nil then | ||
e1 = args[4] | |||
end | end | ||
if args.effect2 == nil then | if args.effect2 == nil then | ||
e2 = args[5] | |||
end | end | ||
if | if e1 ~= nil then | ||
effects[1] = split(args. | effects[1] = split(args.e1) | ||
end | end | ||
if | if e2 ~= nil then | ||
effects[2] = split(args. | effects[2] = split(args.e2) | ||
end | end | ||