模块:舰娘:修订间差异

添加88字节 、​ 2016年10月21日 (星期五)
无编辑摘要
无编辑摘要
无编辑摘要
第23行: 第23行:
p['属性'] = function(frame)
p['属性'] = function(frame)
     local ship = ships[frame.args[2]]
     local ship = ships[frame.args[2]]
     if ship == nil then return '' end
    local default = frame.args[3]
    if default == nil then default = '' end
     if ship == nil then return default end
     local ret = ship[frame.args[1]]
     local ret = ship[frame.args[1]]
     if ret == nil then return '' end
     if ret == nil then return default end
     return ret
     return ret
end
end