模块:数据:修订间差异
舰R百科,玩家自由编辑的战舰少女R百科
更多操作
无编辑摘要 |
无编辑摘要 |
||
| 第23行: | 第23行: | ||
return ship.cap1 + ship.cap2 + ship.cap3 + ship.cap4 | return ship.cap1 + ship.cap2 + ship.cap3 + ship.cap4 | ||
elseif attr:sub(1, 2) == 'eq' then | elseif attr:sub(1, 2) == 'eq' then | ||
return replaceCountryName(ship | return replaceCountryName(ship[attr]) | ||
elseif ship[attr] ~= nil then | elseif ship[attr] ~= nil then | ||
return ship[attr] | return ship[attr] | ||