1234567891011121314151617181920212223242526272829 |
- -- 此文件工具自动生成,不要修改
- ---@class cfg_fruit_column
- ---引用cfg_item表中ID
- ---@field id number @ID column=1 A
- ---果实中文名称
- ---@field name string @果实名称 column=2 B
- ---果实面板原画中,果实ICON的图标
- ---@field icon string @果实图标 column=3 C
- ---果实面板原画中,果实ICON的位置
- ---@field location StringList @果实位置 column=4 D
- ---果实增加属性
- ---引用cfg_att_info表中ID
- ---@field attribute number @属性 column=5 E
- ---@field group number @果实组 column=6 F
- local cfg_fruit =
- {
- {id=30030304, name="力 量", icon="lianji", location={"-104","0"}, attribute=10001},
- {id=30030303, name="敏 捷", icon="agility", location={"127","16"}, attribute=10002},
- {id=30030302, name="体 力", icon="strength", location={"-146","163"}, attribute=10004},
- {id=30030301, name="智 力", icon="intelligence", location={"-104","-160"}, attribute=10003},
- }
- local defaults = {group=1}
- local mt = {__index = defaults}
- for _, v in ipairs(cfg_fruit) do
- setmetatable(v, mt)
- end
- return cfg_fruit
|