1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586 |
- -- 此文件工具自动生成,不要修改
- ---@class cfg_mount_column
- ---@field id number @坐骑id column=1 A
- ---@field name string @坐骑名称 column=2 B
- ---模型id
- ---@field icon string @坐骑头像 column=3 C
- ---道具id
- ---@field itemId number @道具id column=4 D
- ---移速加成,万分比1=10000
- ---关联cfg_global表id222
- ---@field speed number @移动速度加成 column=5 E
- ---属性id#数值|属性id#数值|属性id#数值cfg_att_info
- ---@field attribute IntListList @附加属性 column=6 F
- ---skill表id字段,技能表现,范围,
- ---@field skillID number @坐骑技能 column=7 G
- ---skill_info表skillLevel字段,技能说明,技能伤害
- ---@field skillLevel number @坐骑技能等级 column=8 H
- ---配1有装备,配0无装备
- ---@field mountEquip number @坐骑装备 column=9 I
- ---cfg_mount_modle表id
- ---@field mountId number @模型id column=10 J
- ---缩放倍率
- ---@field scale number @场景模型缩放 column=11 K
- ---缩放倍率
- ---@field scale2 number @界面模型缩放 column=12 L
- ---距离
- ---@field horizontal number @模型挂点修正X column=13 M
- ---距离,两位小数
- ---@field height number @模型挂点修正Y column=14 N
- ---距离,两位小数
- ---@field around number @模型挂点修正Z column=15 O
- ---cfg_mount_behaviour表id
- ---@field motion number @坐骑动画 column=16 P
- ---0:通用
- ---1:陆地
- ---2:水中
- ---3:空中
- ---@field area number @骑乘区域 column=17 Q
- ---Y轴值
- ---@field hpp number @血条名称位置 column=18 R
- ---配1是为限时坐骑,到期坐骑消失,空或0为永久坐骑
- ---@field limitedtype number @是否为限时坐骑 column=19 S
- ---1、限时坐骑配置该字段,坐骑消失的时间
- ---2、单位为小时
- ---@field limitedtime number @限时时间 column=20 T
- ---控制角色骑乘坐骑时模型旋转
- ---格式:x#y#z
- ---@field rotation IntList @角色挂点旋转 column=21 U
- ---骑行时挂载坐骑上的特效
- ---格式:cfg_model_effect表id
- ---@field ridingEffect number @坐骑骑行特效 column=22 V
- local cfg_mount =
- {
- {id=1, name="独角兽", icon="21600001", itemId=21600001, speed=500, attribute={{200011,6},{200021,10}}, mountId=1, scale=0.025, scale2=1, horizontal=-15, height=0, around=-90, motion=1, rotation={0,-90,270}},
- {id=2, name="彩云兽", icon="21600002", itemId=21600002, speed=600, attribute={{200011,9},{200021,15},{207011,666},{206011,6}}, mountId=2, scale=1.2, scale2=40, horizontal=0, height=2, motion=2},
- {id=3, name="炎狼兽", icon="21600011", itemId=21600003, attribute={{200011,18},{200021,30},{305012,200}}, mountId=3, horizontal=-1.3, motion=3},
- {id=4, name="雷刃炎狼兽", icon="21600012", itemId=21600004, attribute={{200011,18},{200021,30},{305012,200},{325012,500}}, mountId=4, horizontal=-1.6, height=3.5, motion=3},
- {id=5, name="乌狼兽", icon="21600013", itemId=21600005, attribute={{200041,40},{311012,1200},{313012,600}}, mountId=5, horizontal=-1.6, height=3.5, motion=13},
- {id=6, name="金狼兽", icon="21600014", itemId=21600006, speed=1000, attribute={{200041,50},{311012,2000},{313012,1000}}, mountId=6, horizontal=-1.6, height=3.5, motion=3},
- {id=7, name="黑王马", icon="21600015", itemId=21900001, speed=500, attribute={{200041,20},{311012,500}}, mountId=7, scale=1, scale2=1, height=4, motion=4},
- {id=8, name="幽灵马", icon="21600016", itemId=21900002, speed=500, attribute={{200041,30},{311012,800},{313012,300}}, mountId=8, scale=1, scale2=1, height=4, motion=4},
- {id=9, name="黄金马", icon="21600017", itemId=21900003, speed=500, attribute={{200041,40},{311012,1200},{313012,600}}, mountId=9, scale=1, scale2=1, height=4, motion=4},
- {id=10, name="白焰马", icon="21600018", itemId=21900004, speed=500, attribute={{200041,50},{311012,2000},{313012,1000}}, mountId=8, scale=1, scale2=1, height=4, motion=4},
- {id=11, name="皇家铠马", icon="21600016", itemId=21600015, speed=600, attribute={{207011,1000},{305022,200},{312112,200}}, mountId=8, horizontal=-1.5, height=4, motion=4, limitedtype=1, limitedtime=24},
- {id=12, name="金龙", icon="21600020", itemId=21600019, speed=1000, attribute={{200011,30},{200021,50},{303012,500},{319052,500}}, mountId=11, scale=0.9, scale2=24, height=3, motion=113},
- {id=13, name="白虎", icon="21600020", itemId=21600007, speed=600, attribute={{200011,4},{200021,6},{207011,66},{206011,6}}, mountId=12, horizontal=-1.6, height=3.5},
- {id=14, name="熊猫", icon="21600023", itemId=21600023, speed=1000, attribute={{200011,9},{200021,15},{206011,6},{311112,500},{319032,300}}, mountId=13, horizontal=-1.6, height=3.5},
- {id=15, name="星冥龙", icon="21600030", itemId=21600030, speed=1200, mountId=14, scale=0.9, scale2=24, motion=113},
- {id=16, name="雪鹿", icon="21600041", itemId=21600041, attribute={{305012,300},{305022,300}}, mountId=15, scale=1, height=3},
- {id=17, name="白毛狮王", icon="21600043", itemId=21600043, attribute={{303012,300},{303022,300}}, mountId=16, horizontal=0},
- {id=18, name="冥焰马", icon="21600045", itemId=21600045, attribute={{304012,300},{304022,300}}, mountId=17, scale=1},
- {id=19, name="草泥马", icon="21600047", itemId=21600047, speed=1200, mountId=18, scale=1, horizontal=-0.8, height=2.5, motion=115},
- {id=20, name="大蝎子", icon="21600049", itemId=21600049, speed=1200, mountId=19, scale=1, horizontal=-2.5, height=2, motion=115},
- {id=21, name="黄金天马", icon="21600051", itemId=21600051, speed=1200, mountId=20, scale=1, horizontal=-0.8, height=3},
- {id=22, name="狮鹫", icon="21600053", itemId=21600053, speed=1200, mountId=21, horizontal=0.5, height=3.8},
- {id=23, name="水乌龟", icon="21600055", itemId=21600055, speed=1200, mountId=22, scale=0.9, horizontal=-1, height=1, motion=115},
- {id=24, name="午夜", icon="21600057", itemId=21600057, speed=1000, attribute={}, mountId=7, horizontal=-1.5, motion=4, limitedtype=1, limitedtime=168},
- }
- local defaults = {speed=800, attribute={{303012,200},{303022,200},{303042,200},{303062,200}}, skillID=0, skillLevel=0, mountEquip=0, scale=0.8, scale2=30, horizontal=-0.5, height=3.2, around=0, motion=114, area=0, hpp=2.5, limitedtype=0, limitedtime=0, rotation={0,-90,180}, ridingEffect=60001}
- local mt = {__index = defaults}
- for _, v in ipairs(cfg_mount) do
- setmetatable(v, mt)
- end
- return cfg_mount
|