feat(skill): 添加新技能资源并修复伤害计算问题

添加新的技能动画、预制体和字体资源,用于支持新技能效果。
修复技能伤害计算未取整的问题,确保伤害值为整数。
更新技能buff提示UI的字体和布局,提升显示效果。
This commit is contained in:
walkpan
2026-03-24 09:23:41 +08:00
parent 3fc94dbc3f
commit 9a68ef957d
14 changed files with 2154 additions and 2343 deletions

View File

@@ -221,7 +221,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -57.36234375,
"x": -38.61234375,
"y": 0,
"z": 0
},
@@ -262,8 +262,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 10.3251953125,
"height": 39.8
"width": 7.29,
"height": 30
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -307,14 +307,17 @@
"_lineHeight": 30,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_font": {
"__uuid__": "eca7fc51-87d0-4bb0-89e1-aa9c39411bc6",
"__expectedType__": "cc.BitmapFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_cacheMode": 2,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
@@ -358,7 +361,7 @@
},
"_alignFlags": 8,
"_target": null,
"_left": -12.52494140625,
"_left": -11.00734375,
"_right": 0,
"_top": 0,
"_bottom": 0,
@@ -407,8 +410,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 64.10000000000001
"width": 62.5,
"height": 30
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -443,23 +446,26 @@
"b": 255,
"a": 255
},
"_string": "10",
"_horizontalAlign": 0,
"_string": "10.0kK",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 26,
"_actualFontSize": 25,
"_fontSize": 25,
"_fontFamily": "Arial",
"_lineHeight": 30,
"_overflow": 2,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_font": {
"__uuid__": "eca7fc51-87d0-4bb0-89e1-aa9c39411bc6",
"__expectedType__": "cc.BitmapFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_cacheMode": 2,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
@@ -674,7 +680,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -62.581,
"x": -24.35,
"y": 0,
"z": 0
},
@@ -715,8 +721,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 29.19921875,
"height": 50
"width": 9.03,
"height": 30
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -754,20 +760,23 @@
"_string": "+",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 26,
"_actualFontSize": 25,
"_fontSize": 25,
"_fontFamily": "Arial",
"_lineHeight": 30,
"_overflow": 2,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_font": {
"__uuid__": "eca7fc51-87d0-4bb0-89e1-aa9c39411bc6",
"__expectedType__": "cc.BitmapFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_cacheMode": 2,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
@@ -811,7 +820,7 @@
},
"_alignFlags": 8,
"_target": null,
"_left": -27.180609375000003,
"_left": -10.290000000000003,
"_right": 0,
"_top": 0,
"_bottom": 0,
@@ -860,8 +869,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 65
"width": 37.15,
"height": 30
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -896,23 +905,26 @@
"b": 0,
"a": 255
},
"_string": "50",
"_horizontalAlign": 0,
"_string": "500",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 26,
"_actualFontSize": 25,
"_fontSize": 25,
"_fontFamily": "Arial",
"_lineHeight": 30,
"_overflow": 2,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_font": {
"__uuid__": "eca7fc51-87d0-4bb0-89e1-aa9c39411bc6",
"__expectedType__": "cc.BitmapFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_cacheMode": 2,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
@@ -1078,7 +1090,7 @@
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 10.591,
"y": 0,
"z": 0
},
"_lrot": {
@@ -1130,8 +1142,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -68.97900000000001,
"y": 0.597,
"x": -54.79,
"y": 3.745,
"z": 0
},
"_lrot": {
@@ -1143,8 +1155,8 @@
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.8,
"y": 0.6,
"x": 0.2,
"y": 0.2,
"z": 1
},
"_mobility": 0,
@@ -1171,12 +1183,12 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 54,
"height": 58
"width": 128,
"height": 112
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"x": 0,
"y": 0.5
},
"_id": ""
@@ -1213,7 +1225,7 @@
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
@@ -1247,7 +1259,7 @@
},
"_alignFlags": 8,
"_target": null,
"_left": -40.579,
"_left": -25,
"_right": 0,
"_top": 0,
"_bottom": 0,
@@ -1494,8 +1506,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 100,
"height": 79.6
"width": 59.58,
"height": 40
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1530,23 +1542,26 @@
"b": 0,
"a": 255
},
"_string": "999",
"_horizontalAlign": 0,
"_string": "9999",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 31,
"_fontSize": 35,
"_actualFontSize": 30,
"_fontSize": 30,
"_fontFamily": "Arial",
"_lineHeight": 40,
"_overflow": 2,
"_overflow": 0,
"_enableWrapText": true,
"_font": null,
"_isSystemFontUsed": true,
"_font": {
"__uuid__": "983a109b-a5e3-4ba7-84c5-1c53817ba177",
"__expectedType__": "cc.BitmapFont"
},
"_isSystemFontUsed": false,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
"_isBold": false,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_cacheMode": 2,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",