12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364 |
- -- 此文件工具自动生成,不要修改
- ---@class cfg_equip_master_column
- ---第一位:类型 第二三位:组id 后面为编号
- ---@field id number @序列 column=1 A
- ---1:强化大师
- ---2:追加大师
- ---@field type number @类型 column=2 B
- ---填写装备大师计算的穿戴栏,填-1代表遍历角色所有穿戴栏;调用cfg_career表,职业穿戴栏字段
- ---@field wearBarID number @穿戴栏 column=3 C
- ---type和strpartid共同决定一个组
- ---@field group number @组 column=4 D
- ---填写装备大师计算的穿戴部位
- ---穿戴栏部位读取item表strPart字段;格式:部位#部位
- ---@field strPartId IntList @部位id column=5 E
- ---前端显示
- ---@field note string @备注 column=6 F
- ---0:计算部位总和等级
- ---1:计算每个部位等级
- ---@field count number @计算方式 column=7 G
- ---前端显示等级
- ---@field lv number @所需等级 column=8 H
- ---属性id#属性值|属性id#属性值
- ---@field att IntListList @强化属性 column=9 I
- ---1强化属性百分比提升
- ---2追加属性百分比提升
- ---格式:类型#数值(万分比)
- ---@field att2 IntList @属性 column=10 J
- ---[[客户端不使用]]@field @ column=11 K
- ---[[客户端不使用]]@field @ column=12 L
- local cfg_equip_master =
- {
- {id=10001, lv=108, att2={1,500}},
- {id=10002, lv=144, att2={1,600}},
- {id=10003, lv=180, att2={1,700}},
- {id=10004, lv=216, att2={1,800}},
- {id=10005, lv=252, att2={1,900}},
- {id=10006, lv=324, att2={1,1000}},
- {id=10007, lv=360, att2={1,1100}},
- {id=10008, lv=396, att2={1,1200}},
- {id=10009, lv=468, att2={1,1300}},
- {id=10010, lv=504, att2={1,1400}},
- {id=10011, lv=540, att2={1,1500}},
- {id=10012, lv=612, att2={1,1600}},
- {id=10013, lv=684, att2={1,1700}},
- {id=10014, lv=756, att2={1,1800}},
- {id=20001, type=2, group=2, note="全身追加总和", lv=52, att2={2,500}},
- {id=20002, type=2, group=2, note="全身追加总和", lv=104, att2={2,600}},
- {id=20003, type=2, group=2, note="全身追加总和", lv=156, att2={2,700}},
- {id=20004, type=2, group=2, note="全身追加总和", lv=208, att2={2,800}},
- {id=20005, type=2, group=2, note="全身追加总和", lv=260, att2={2,900}},
- {id=20006, type=2, group=2, note="全身追加总和", lv=312, att2={2,1000}},
- {id=20007, type=2, group=2, note="全身追加总和", lv=364, att2={2,1100}},
- {id=20008, type=2, group=2, note="全身追加总和", lv=416, att2={2,1200}},
- {id=20009, type=2, group=2, note="全身追加总和", lv=468, att2={2,1300}},
- {id=20010, type=2, group=2, note="全身追加总和", lv=520, att2={2,1400}},
- }
- local defaults = {type=1, wearBarID=-1, group=1, strPartId={1,2,3,4,5,6,7,8,9,10,11,12,13,14}, note="全身强化总和", count=0, att={}}
- local mt = {__index = defaults}
- for _, v in ipairs(cfg_equip_master) do
- setmetatable(v, mt)
- end
- return cfg_equip_master
|