123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130 |
- -- 此文件工具自动生成,不要修改
- ---@class cfg_damage_number_column
- ---普通
- ---普通掉血:101
- ---特殊
- ---未命中:108
- ---反弹伤害:109
- ---@field id number @id column=1 A
- ---名称备注
- ---[[客户端不使用]]@field name string @name column=2 B
- ---仅供策划读
- ---[[客户端不使用]]@field attackRelationship string @攻击关系 column=3 C
- ---0不取值
- ---1取值
- ---[[客户端不使用]]@field attributeA number @一般攻击 column=4 D
- ---0不取值
- ---1取值
- ---[[客户端不使用]]@field attributeB number @卓越一击 column=5 E
- ---0不取值
- ---1取值
- ---[[客户端不使用]]@field attributeC number @幸运一击 column=6 F
- ---0不取值
- ---1取值
- ---[[客户端不使用]]@field attributeD number @无视防御 column=7 G
- ---0不取值
- ---1取值
- ---[[客户端不使用]]@field attributeE number @双倍伤害 column=8 H
- ---0不取值
- ---1取值
- ---[[客户端不使用]]@field attributeF number @神圣伤害 column=9 I
- ---0不取值
- ---1取值
- ---[[客户端不使用]]@field attributeG number @黑暗伤害 column=10 J
- ---0不取值
- ---1取值
- ---[[客户端不使用]]@field attributeH number @雷电伤害 column=11 K
- ---0不取值
- ---1取值
- ---[[客户端不使用]]@field attributeI number @风暴伤害 column=12 L
- ---飘字使用的艺术字图集配置,程序处理后给予图集名称在此处配置
- ---不填使用默认艺术字图集
- ---@field Atlas string @使用图集 column=13 M
- ---伤害数字的显示前缀,有文本、图标两种,文本直接配置文字,使用图标配置“t”,同时使用则配置“t+文本”,不配置则不显示
- ---@field prefix string @显示前缀 column=14 N
- ---飘字的尺寸缩放,填缩放倍数,默认100,填整数
- ---@field size number @显示尺寸 column=15 O
- ---控制自身飘血字体颜色,即自身被攻击所显示的飘字
- ---读cfg_color中id
- ---@field fontColor number @自身飘血字体颜色 column=16 P
- ---控制其他玩家飘血字体颜色,即攻击到其他目标所显示的飘字
- ---读cfg_color中id
- ---@field OtherFontColors number @其他目标飘字颜色 column=17 Q
- ---判断伤害数字显示几重
- ---@field damageWeight number @伤害显示重数 column=18 R
- ---0或空为不可用
- ---1为可用
- ---@field enable number @开关 column=19 S
- ---1普通飘血(现在用的这种)
- ---2飘血方向为左上,到一定高度下坠,下坠速度略快
- ---3飘血方向为左上,越往上越大,越透明
- ---4飘血方向为右上,一直往上飘,直到消失
- ---5飘血方向为正上方,飘到一半放大展示,然后缩小,渐渐消失
- ---6飘血方向为正上方(位置比5高),飘到一半放大展示,然后缩小,渐渐消失
- ---11元素飘血(普通飘血,右下方一点,距离差一行的距离)
- ---对应:类别数字对应工程中DamageConfigNumber,此文件的数字
- ---@field type number @飘血效果 column=20 T
- ---文字的偏移量(s)|计算符的偏移量(o)|数值的偏移量(n)
- ---参数说明:
- ---文字的偏移量(s): s#x#y#z
- ---计算符的偏移量(s): o#x#y#z
- ---文字的偏移量(s): n#x#y#z
- ---@field typeParams StringListList @飘血效果参数 column=21 U
- ---不同id飘血的效果覆盖叠加的凭据值
- ---数值大的效果遮盖效果小的
- ---同数值效果后来的遮盖先出的
- ---@field Order number @层级 column=22 V
- ---最小透明度
- ---0到100,数值越大越透明,100完全透明
- ---@field miniumFadeto number @透明度 column=23 W
- local cfg_damage_number =
- {
- {id=101, OtherFontColors=3011, type=1, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","20","0","0"}}, Order=1, miniumFadeto=20},
- {id=102, OtherFontColors=3012, typeParams={{"s","0","0","0"},{"o","-5.74","8","0"},{"n","20","0","0"}}, Order=2, miniumFadeto=40},
- {id=103, OtherFontColors=3012, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","20","0","0"}}, Order=2, miniumFadeto=40},
- {id=104, OtherFontColors=3013, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","20","0","0"}}, Order=1, miniumFadeto=40},
- {id=105, OtherFontColors=3013, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","20","0","0"}}, Order=3, miniumFadeto=40},
- {id=106, OtherFontColors=254, miniumFadeto=30},
- {id=107, OtherFontColors=3011, damageWeight=2, Order=5, miniumFadeto=20},
- {id=108, Atlas="DamageMissAtlas", fontColor=3015, OtherFontColors=3014, type=1, Order=6, miniumFadeto=40},
- {id=109, OtherFontColors=3017, type=1, Order=8, miniumFadeto=40},
- {id=110, OtherFontColors=3018, type=1, Order=9, miniumFadeto=30},
- {id=111, OtherFontColors=3012, damageWeight=2, Order=9, miniumFadeto=30},
- {id=112, OtherFontColors=3012, damageWeight=2, miniumFadeto=30},
- {id=113, OtherFontColors=3013, damageWeight=2, Order=7, miniumFadeto=30},
- {id=114, OtherFontColors=3013, damageWeight=2, Order=6, miniumFadeto=40},
- {id=115, OtherFontColors=254, damageWeight=2, Order=6, miniumFadeto=40},
- {id=116, OtherFontColors=3019, type=1, Order=6, miniumFadeto=40},
- {id=117, fontColor=250, OtherFontColors=250, type=1, Order=6, miniumFadeto=40},
- {id=118, Atlas="CureAtlas", prefix="t恢复", size=60, fontColor=263, OtherFontColors=263, type=1, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","20","0","0"}}, Order=2, miniumFadeto=40},
- {id=119, fontColor=285, OtherFontColors=285, type=1, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","20","0","0"}}, Order=2, miniumFadeto=40},
- {id=120, OtherFontColors=3013, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","20","0","0"}}, Order=1, miniumFadeto=40},
- {id=121, OtherFontColors=3011, damageWeight=2, Order=5, miniumFadeto=20},
- {id=122, OtherFontColors=3012, damageWeight=2, miniumFadeto=30},
- {id=123, OtherFontColors=3011, damageWeight=2, Order=5, miniumFadeto=20},
- {id=200, Atlas="yuansu0", prefix="神圣", size=50, type=11, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","40","20","0"}}},
- {id=201, Atlas="yuansu1", prefix="黑暗", size=50, type=11, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","40","20","0"}}},
- {id=202, Atlas="yuansu2", prefix="雷电", size=50, type=11, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","40","20","0"}}},
- {id=203, Atlas="yuansu3", prefix="风暴", size=50, type=11, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","40","20","0"}}},
- {id=204, Atlas="yuansu4", prefix="混沌", size=50, type=11, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","40","20","0"}}},
- {id=205, Atlas="yuansu5", prefix="神圣雷电", size=50, type=11, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","40","20","0"}}},
- {id=206, Atlas="yuansu6", prefix="神圣风暴", size=50, type=11, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","40","20","0"}}},
- {id=207, Atlas="yuansu7", prefix="黑暗雷电", size=50, type=11, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","40","20","0"}}},
- {id=208, Atlas="yuansu8", prefix="黑暗风暴", size=50, type=11, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","40","20","0"}}},
- {id=209, Atlas="yuansu9", prefix="雷电风暴", size=50, type=11, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","40","20","0"}}},
- {id=210, Atlas="yuansu10", prefix="混沌雷电", size=50, type=11, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","40","20","0"}}},
- {id=211, Atlas="yuansu11", prefix="混沌风暴", size=50, type=11, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","40","20","0"}}},
- {id=212, Atlas="yuansu12", prefix="神圣雷暴", size=50, type=11, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","40","20","0"}}},
- {id=213, Atlas="yuansu13", prefix="黑暗雷暴", size=50, type=11, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","40","20","0"}}},
- {id=214, Atlas="yuansu14", prefix="混沌雷暴", size=50, type=11, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","40","20","0"}}},
- {id=301, Atlas="ComboAtlas", prefix="t连击", size=70, fontColor=255, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","20","0","0"}}, Order=10, miniumFadeto=20},
- {id=401, Atlas="bianshen", prefix="t变身", size=70, fontColor=255, typeParams={{"s","0","0","0"},{"o","0","0","0"},{"n","20","0","0"}}, Order=10, miniumFadeto=20},
- }
- local defaults = {Atlas="", prefix="", size=100, fontColor=259, OtherFontColors=255, damageWeight=1, enable=1, type=5, typeParams={{"s","-53","0","0"},{"o","0","0","0"},{"n","20","0","0"}}, Order=4, miniumFadeto=100}
- local mt = {__index = defaults}
- for _, v in ipairs(cfg_damage_number) do
- setmetatable(v, mt)
- end
- return cfg_damage_number
|