ElEditors, Interface administrators, Administrators
70,866
edits
mNo edit summary |
No edit summary |
||
(2 intermediate revisions by one other user not shown) | |||
Line 422: | Line 422: | ||
hit_count = hit_count == '' and 1 or hit_count | hit_count = hit_count == '' and 1 or hit_count | ||
new_value.hit_counts[damage_type][k] = hit_count * | new_value.hit_counts[damage_type][k] = hit_count * | ||
((string.find(damage_key, ' | ((string.find(damage_key, 'awk') and args.awk_count) and args.awk_count[1] or args.count[1]) | ||
end | end | ||
end) | end) | ||
Line 708: | Line 708: | ||
text = { translate('Regular'), (function() | text = { translate('Regular'), (function() | ||
if OPTIONS.dmp then | if OPTIONS.dmp then | ||
return link('Dynamo Point System', 'Dynamo Configuration', args.awk_prefix, | return link('Dynamo Point System' .. OPTIONS.lang_suffix, 'Dynamo Configuration', args.awk_prefix, | ||
OPTIONS.dmp ~= 'false' and ('(' | OPTIONS.dmp ~= 'false' and (fillTemplate('({1} DMP)', { OPTIONS.dmp })) .. (args.awk_suffix and (' ' .. args.awk_suffix) or '')) | ||
elseif args.awk_alias then | elseif args.awk_alias then | ||
return link(args.awk_alias[1], args.awk_alias[2], args.awk_prefix, args.awk_suffix) | return link(args.awk_alias[1], args.awk_alias[2], args.awk_prefix, args.awk_suffix) | ||
end | end | ||
return link('Awakening Mode', | return link('Awakening Mode' .. OPTIONS.lang_suffix, translate('Awakening Mode'), args.awk_prefix, args.awk_suffix) | ||
end)() | end)() | ||
}, | }, | ||
Line 942: | Line 942: | ||
if OPTIONS.bug then | if OPTIONS.bug then | ||
bug = frame:expandTemplate { | bug = frame:expandTemplate { | ||
title = 'SkillText', | title = translate('SkillText'), | ||
args = { 'FreeTraining' } | args = { 'FreeTraining' } | ||
} | } |