cfg_mount.lua 6.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. -- 此文件工具自动生成,不要修改
  2. ---@class cfg_mount_column
  3. ---@field id number @坐骑id column=1 A
  4. ---@field name string @坐骑名称 column=2 B
  5. ---模型id
  6. ---@field icon string @坐骑头像 column=3 C
  7. ---道具id
  8. ---@field itemId number @道具id column=4 D
  9. ---移速加成,万分比1=10000
  10. ---关联cfg_global表id222
  11. ---@field speed number @移动速度加成 column=5 E
  12. ---属性id#数值|属性id#数值|属性id#数值cfg_att_info
  13. ---@field attribute IntListList @附加属性 column=6 F
  14. ---skill表id字段,技能表现,范围,
  15. ---@field skillID number @坐骑技能 column=7 G
  16. ---skill_info表skillLevel字段,技能说明,技能伤害
  17. ---@field skillLevel number @坐骑技能等级 column=8 H
  18. ---配1有装备,配0无装备
  19. ---@field mountEquip number @坐骑装备 column=9 I
  20. ---cfg_mount_modle表id
  21. ---@field mountId number @模型id column=10 J
  22. ---缩放倍率
  23. ---@field scale number @场景模型缩放 column=11 K
  24. ---缩放倍率
  25. ---@field scale2 number @界面模型缩放 column=12 L
  26. ---距离
  27. ---@field horizontal number @模型挂点修正X column=13 M
  28. ---距离,两位小数
  29. ---@field height number @模型挂点修正Y column=14 N
  30. ---距离,两位小数
  31. ---@field around number @模型挂点修正Z column=15 O
  32. ---cfg_mount_behaviour表id
  33. ---@field motion number @坐骑动画 column=16 P
  34. ---0:通用
  35. ---1:陆地
  36. ---2:水中
  37. ---3:空中
  38. ---@field area number @骑乘区域 column=17 Q
  39. ---Y轴值
  40. ---@field hpp number @血条名称位置 column=18 R
  41. ---配1是为限时坐骑,到期坐骑消失,空或0为永久坐骑
  42. ---@field limitedtype number @是否为限时坐骑 column=19 S
  43. ---1、限时坐骑配置该字段,坐骑消失的时间
  44. ---2、单位为小时
  45. ---@field limitedtime number @限时时间 column=20 T
  46. ---控制角色骑乘坐骑时模型旋转
  47. ---格式:x#y#z
  48. ---@field rotation IntList @角色挂点旋转 column=21 U
  49. ---骑行时挂载坐骑上的特效
  50. ---格式:cfg_model_effect表id
  51. ---@field ridingEffect number @坐骑骑行特效 column=22 V
  52. local cfg_mount =
  53. {
  54. {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}},
  55. {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},
  56. {id=3, name="炎狼兽", icon="21600011", itemId=21600003, attribute={{200011,18},{200021,30},{305012,200}}, mountId=3, horizontal=-1.3, motion=3},
  57. {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},
  58. {id=5, name="乌狼兽", icon="21600013", itemId=21600005, attribute={{200041,40},{311012,1200},{313012,600}}, mountId=5, horizontal=-1.6, height=3.5, motion=13},
  59. {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},
  60. {id=7, name="黑王马", icon="21600015", itemId=21900001, speed=500, attribute={{200041,20},{311012,500}}, mountId=7, scale=1, scale2=1, height=4, motion=4},
  61. {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},
  62. {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},
  63. {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},
  64. {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},
  65. {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},
  66. {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},
  67. {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},
  68. {id=15, name="星冥龙", icon="21600030", itemId=21600030, speed=1200, mountId=14, scale=0.9, scale2=24, motion=113},
  69. {id=16, name="雪鹿", icon="21600041", itemId=21600041, attribute={{305012,300},{305022,300}}, mountId=15, scale=1, height=3},
  70. {id=17, name="白毛狮王", icon="21600043", itemId=21600043, attribute={{303012,300},{303022,300}}, mountId=16, horizontal=0},
  71. {id=18, name="冥焰马", icon="21600045", itemId=21600045, attribute={{304012,300},{304022,300}}, mountId=17, scale=1},
  72. {id=19, name="草泥马", icon="21600047", itemId=21600047, speed=1200, mountId=18, scale=1, horizontal=-0.8, height=2.5, motion=115},
  73. {id=20, name="大蝎子", icon="21600049", itemId=21600049, speed=1200, mountId=19, scale=1, horizontal=-2.5, height=2, motion=115},
  74. {id=21, name="黄金天马", icon="21600051", itemId=21600051, speed=1200, mountId=20, scale=1, horizontal=-0.8, height=3},
  75. {id=22, name="狮鹫", icon="21600053", itemId=21600053, speed=1200, mountId=21, horizontal=0.5, height=3.8},
  76. {id=23, name="水乌龟", icon="21600055", itemId=21600055, speed=1200, mountId=22, scale=0.9, horizontal=-1, height=1, motion=115},
  77. {id=24, name="午夜", icon="21600057", itemId=21600057, speed=1000, attribute={}, mountId=7, horizontal=-1.5, motion=4, limitedtype=1, limitedtime=168},
  78. }
  79. 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}
  80. local mt = {__index = defaults}
  81. for _, v in ipairs(cfg_mount) do
  82. setmetatable(v, mt)
  83. end
  84. return cfg_mount