添加武器支持
(转换配方卡名) |
(添加武器支持) |
||
第169行: | 第169行: | ||
end | end | ||
function p. | function p.at1EquipInfo(type, index) | ||
local item = p.loadItemInfoByIndex('AT1', | local item = p.loadItemInfoByIndex('AT1', type, index) | ||
local filteredRecrystalisation = recryFilter(item.recry) | local filteredRecrystalisation = recryFilter(item.recry) | ||
第179行: | 第179行: | ||
["原文"] = item.ori, | ["原文"] = item.ori, | ||
["类别"] = '装备', | ["类别"] = '装备', | ||
["子类别"] = | ["子类别"] = type, | ||
["卖价"] = item.base.sell_price, | ["卖价"] = item.base.sell_price, | ||
["游戏"] = 'AT1', | ["游戏"] = 'AT1', | ||
第213行: | 第213行: | ||
result = {} | result = {} | ||
for i = 1, 29 do | for i = 1, 29 do | ||
table.insert(result, p. | table.insert(result, p.at1EquipInfo('防具', i)) | ||
end | |||
return table.concat(result, '\n') | |||
end | |||
function p.listWeaponsInAt1() | |||
result = {} | |||
for i = 1, 35 do | |||
table.insert(result, p.at1EquipInfo('武器', i)) | |||
end | end | ||
return table.concat(result, '\n') | return table.concat(result, '\n') |