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

@@ -90,35 +90,35 @@
],
"_values": [
{
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@ee31b",
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@2bba7",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@6171c",
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@2d3cb",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@0a599",
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@26a7b",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@d9355",
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@59160",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@09c9f",
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@650f2",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@4d16f",
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@7c5c1",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@2d6fe",
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@f1bae",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "2423272e-e63b-4736-b15b-30b40cf98a23@b7d39",
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@103b1",
"__expectedType__": "cc.SpriteFrame"
}
]

View File

@@ -0,0 +1,286 @@
[
{
"__type__": "cc.AnimationClip",
"_name": "start",
"_objFlags": 0,
"__editorExtras__": {
"embeddedPlayerGroups": []
},
"_native": "",
"sample": 45,
"speed": 1,
"wrapMode": 1,
"enableTrsBlending": false,
"_duration": 0.4,
"_hash": 500763545,
"_tracks": [
{
"__id__": 1
},
{
"__id__": 7
}
],
"_exoticAnimation": null,
"_events": [],
"_embeddedPlayers": [],
"_additiveSettings": {
"__id__": 13
},
"_auxiliaryCurveEntries": []
},
{
"__type__": "cc.animation.ObjectTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 2
},
"proxy": null
},
"_channel": {
"__id__": 5
}
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 3
},
{
"__id__": 4
},
"spriteFrame"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "Node"
},
{
"__type__": "cc.animation.ComponentPath",
"component": "cc.Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 6
}
},
{
"__type__": "cc.ObjectCurve",
"_times": [
0,
0.022222222222222223,
0.044444444444444446,
0.06666666666666667,
0.08888888888888889,
0.1111111111111111,
0.13333333333333333,
0.15555555555555556,
0.17777777777777778,
0.2,
0.2222222222222222,
0.24444444444444444,
0.26666666666666666,
0.28888888888888886
],
"_values": [
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@d9ac5",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@26319",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@e2dc8",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@9ed5c",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@2eb9c",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@164b2",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@fbd17",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@90037",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@f8048",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@546d7",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@a9956",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@9c11e",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@ec6d7",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@1b431",
"__expectedType__": "cc.SpriteFrame"
}
]
},
{
"__type__": "cc.animation.ObjectTrack",
"_binding": {
"__type__": "cc.animation.TrackBinding",
"path": {
"__id__": 8
},
"proxy": null
},
"_channel": {
"__id__": 11
}
},
{
"__type__": "cc.animation.TrackPath",
"_paths": [
{
"__id__": 9
},
{
"__id__": 10
},
"spriteFrame"
]
},
{
"__type__": "cc.animation.HierarchyPath",
"path": "Fx08_00"
},
{
"__type__": "cc.animation.ComponentPath",
"component": "cc.Sprite"
},
{
"__type__": "cc.animation.Channel",
"_curve": {
"__id__": 12
}
},
{
"__type__": "cc.ObjectCurve",
"_times": [
0,
0.022222222222222223,
0.044444444444444446,
0.06666666666666667,
0.08888888888888889,
0.1111111111111111,
0.13333333333333333,
0.15555555555555556,
0.17777777777777778,
0.2,
0.2222222222222222,
0.24444444444444444,
0.26666666666666666,
0.28888888888888886,
0.3111111111111111,
0.3333333333333333,
0.35555555555555557,
0.37777777777777777
],
"_values": [
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@c0540",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@2c693",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@dd835",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@3dbff",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@bc740",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@1be63",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@785a5",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@ab085",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@df057",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@07942",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@3d5cc",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@1e82b",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@b780c",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@bb712",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@8dd96",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@53ccb",
"__expectedType__": "cc.SpriteFrame"
},
{
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@bef27",
"__expectedType__": "cc.SpriteFrame"
},
null
]
},
{
"__type__": "cc.AnimationClipAdditiveSettings",
"enabled": false,
"refClip": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "2.0.3",
"importer": "animation-clip",
"imported": true,
"uuid": "9b809af9-120e-4683-a90a-5fecbd4e1ebd",
"files": [
".cconb"
],
"subMetas": {},
"userData": {
"name": "start"
}
}

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",

View File

@@ -0,0 +1,431 @@
[
{
"__type__": "cc.Prefab",
"_name": "start",
"_objFlags": 0,
"__editorExtras__": {},
"_native": "",
"data": {
"__id__": 1
},
"optimizationPolicy": 0,
"persistent": false
},
{
"__type__": "cc.Node",
"_name": "start",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": null,
"_children": [
{
"__id__": 2
},
{
"__id__": 8
}
],
"_active": true,
"_components": [
{
"__id__": 14
},
{
"__id__": 16
},
{
"__id__": 18
}
],
"_prefab": {
"__id__": 20
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.Node",
"_name": "Node",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": false,
"_components": [
{
"__id__": 3
},
{
"__id__": 5
}
],
"_prefab": {
"__id__": 7
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 0.3,
"y": 0.5,
"z": 1
},
"_mobility": 0,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 4
},
"_contentSize": {
"__type__": "cc.Size",
"width": 128,
"height": 128
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "ddhDbko4FLmKZGY46brX7z"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 2
},
"_enabled": true,
"__prefab": {
"__id__": 6
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": null,
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": {
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6",
"__expectedType__": "cc.SpriteAtlas"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "c3vPZUzCRINL3sICnCZKIr"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "feOW1uSctLKYCw3esMiuox",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.Node",
"_name": "Fx08_00",
"_objFlags": 0,
"__editorExtras__": {},
"_parent": {
"__id__": 1
},
"_children": [],
"_active": true,
"_components": [
{
"__id__": 9
},
{
"__id__": 11
}
],
"_prefab": {
"__id__": 13
},
"_lpos": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_lrot": {
"__type__": "cc.Quat",
"x": 0,
"y": 0,
"z": 0,
"w": 1
},
"_lscale": {
"__type__": "cc.Vec3",
"x": 1,
"y": 1,
"z": 1
},
"_mobility": 0,
"_layer": 1,
"_euler": {
"__type__": "cc.Vec3",
"x": 0,
"y": 0,
"z": 0
},
"_id": ""
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
},
"_enabled": true,
"__prefab": {
"__id__": 10
},
"_contentSize": {
"__type__": "cc.Size",
"width": 147,
"height": 134
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "41vle8WZtI3rAo26nuTqet"
},
{
"__type__": "cc.Sprite",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 8
},
"_enabled": true,
"__prefab": {
"__id__": 12
},
"_customMaterial": null,
"_srcBlendFactor": 2,
"_dstBlendFactor": 4,
"_color": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"a": 255
},
"_spriteFrame": {
"__uuid__": "3d46f945-3f07-477e-a95a-b49557d552c6@c0540",
"__expectedType__": "cc.SpriteFrame"
},
"_type": 0,
"_fillType": 0,
"_sizeMode": 1,
"_fillCenter": {
"__type__": "cc.Vec2",
"x": 0,
"y": 0
},
"_fillStart": 0,
"_fillRange": 0,
"_isTrimmedMode": true,
"_useGrayscale": false,
"_atlas": null,
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "d35G5blftA27sMYOVYUT4h"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "edJUwnclRHraYFEO2HroRN",
"instance": null,
"targetOverrides": null,
"nestedPrefabInstanceRoots": null
},
{
"__type__": "cc.UITransform",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 15
},
"_contentSize": {
"__type__": "cc.Size",
"width": 104,
"height": 75
},
"_anchorPoint": {
"__type__": "cc.Vec2",
"x": 0.5,
"y": 0.5
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "a7pn5tzA1BSI1AfdpVsHh7"
},
{
"__type__": "cc.Animation",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 17
},
"playOnLoad": true,
"_clips": [
{
"__uuid__": "9b809af9-120e-4683-a90a-5fecbd4e1ebd",
"__expectedType__": "cc.AnimationClip"
}
],
"_defaultClip": {
"__uuid__": "9b809af9-120e-4683-a90a-5fecbd4e1ebd",
"__expectedType__": "cc.AnimationClip"
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "63z5ZyjTNKYbn+kEVB1s3W"
},
{
"__type__": "0f3c4JhFbFO2rEFqBJJ7hFv",
"_name": "",
"_objFlags": 0,
"__editorExtras__": {},
"node": {
"__id__": 1
},
"_enabled": true,
"__prefab": {
"__id__": 19
},
"_id": ""
},
{
"__type__": "cc.CompPrefabInfo",
"fileId": "32SLcINL1JHZ+vIyextzaC"
},
{
"__type__": "cc.PrefabInfo",
"root": {
"__id__": 1
},
"asset": {
"__id__": 0
},
"fileId": "cfqCWnxbFLNoQMedQXsav3",
"instance": null,
"targetOverrides": null
}
]

View File

@@ -0,0 +1,13 @@
{
"ver": "1.1.50",
"importer": "prefab",
"imported": true,
"uuid": "91d53413-e69c-48fd-8553-d01cbc341f4a",
"files": [
".json"
],
"subMetas": {},
"userData": {
"syncNodeName": "start"
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

Binary file not shown.

Before

Width:  |  Height:  |  Size: 874 KiB

After

Width:  |  Height:  |  Size: 845 KiB

View File

@@ -0,0 +1,22 @@
info face="ThaleahFat" size=72 bold=0 italic=0 charset="32,43,45-46,48-57,75,77,107,109" unicode=1 stretchH=100 smooth=1 aa=1 padding=1,1,1,1 spacing=1,1 outline=0
common lineHeight=72 base=48 scaleW=151 scaleH=151 pages=1 packed=0 alphaChnl=0 redChnl=4 greenChnl=4 blueChnl=4
page id=0 file="FAT.png"
chars count=18
char id=32 x=0 y=0 width=0 height=0 xoffset=0 yoffset=0 xadvance=23 page=0 chnl=15
char id=43 x=114 y=38 width=28 height=28 xoffset=-2 yoffset=19 xadvance=27 page=0 chnl=15
char id=45 x=114 y=105 width=23 height=14 xoffset=-2 yoffset=28 xadvance=23 page=0 chnl=15
char id=46 x=114 y=120 width=14 height=14 xoffset=-2 yoffset=37 xadvance=14 page=0 chnl=15
char id=48 x=0 y=0 width=37 height=37 xoffset=-2 yoffset=14 xadvance=36 page=0 chnl=15
char id=49 x=114 y=67 width=23 height=37 xoffset=-2 yoffset=14 xadvance=23 page=0 chnl=15
char id=50 x=0 y=38 width=37 height=37 xoffset=-2 yoffset=14 xadvance=36 page=0 chnl=15
char id=51 x=0 y=76 width=37 height=37 xoffset=-2 yoffset=14 xadvance=36 page=0 chnl=15
char id=52 x=0 y=114 width=37 height=37 xoffset=-2 yoffset=14 xadvance=36 page=0 chnl=15
char id=53 x=38 y=0 width=37 height=37 xoffset=-2 yoffset=14 xadvance=36 page=0 chnl=15
char id=54 x=38 y=38 width=37 height=37 xoffset=-2 yoffset=14 xadvance=36 page=0 chnl=15
char id=55 x=38 y=76 width=37 height=37 xoffset=-2 yoffset=14 xadvance=36 page=0 chnl=15
char id=56 x=38 y=114 width=37 height=37 xoffset=-2 yoffset=14 xadvance=36 page=0 chnl=15
char id=57 x=76 y=0 width=37 height=37 xoffset=-2 yoffset=14 xadvance=36 page=0 chnl=15
char id=75 x=76 y=76 width=37 height=37 xoffset=-2 yoffset=14 xadvance=36 page=0 chnl=15
char id=77 x=76 y=114 width=37 height=37 xoffset=-2 yoffset=14 xadvance=36 page=0 chnl=15
char id=107 x=76 y=38 width=37 height=37 xoffset=-2 yoffset=14 xadvance=36 page=0 chnl=15
char id=109 x=114 y=0 width=37 height=37 xoffset=-2 yoffset=14 xadvance=36 page=0 chnl=15

View File

@@ -0,0 +1,220 @@
{
"ver": "1.0.6",
"importer": "bitmap-font",
"imported": true,
"uuid": "eca7fc51-87d0-4bb0-89e1-aa9c39411bc6",
"files": [
".json"
],
"subMetas": {},
"userData": {
"_fntConfig": {
"commonHeight": 72,
"fontSize": 72,
"atlasName": "FAT.png",
"fontDefDictionary": {
"32": {
"rect": {
"x": 0,
"y": 0,
"width": 0,
"height": 0
},
"xOffset": 0,
"yOffset": 0,
"xAdvance": 23
},
"43": {
"rect": {
"x": 114,
"y": 38,
"width": 28,
"height": 28
},
"xOffset": -2,
"yOffset": 19,
"xAdvance": 27
},
"45": {
"rect": {
"x": 114,
"y": 105,
"width": 23,
"height": 14
},
"xOffset": -2,
"yOffset": 28,
"xAdvance": 23
},
"46": {
"rect": {
"x": 114,
"y": 120,
"width": 14,
"height": 14
},
"xOffset": -2,
"yOffset": 37,
"xAdvance": 14
},
"48": {
"rect": {
"x": 0,
"y": 0,
"width": 37,
"height": 37
},
"xOffset": -2,
"yOffset": 14,
"xAdvance": 36
},
"49": {
"rect": {
"x": 114,
"y": 67,
"width": 23,
"height": 37
},
"xOffset": -2,
"yOffset": 14,
"xAdvance": 23
},
"50": {
"rect": {
"x": 0,
"y": 38,
"width": 37,
"height": 37
},
"xOffset": -2,
"yOffset": 14,
"xAdvance": 36
},
"51": {
"rect": {
"x": 0,
"y": 76,
"width": 37,
"height": 37
},
"xOffset": -2,
"yOffset": 14,
"xAdvance": 36
},
"52": {
"rect": {
"x": 0,
"y": 114,
"width": 37,
"height": 37
},
"xOffset": -2,
"yOffset": 14,
"xAdvance": 36
},
"53": {
"rect": {
"x": 38,
"y": 0,
"width": 37,
"height": 37
},
"xOffset": -2,
"yOffset": 14,
"xAdvance": 36
},
"54": {
"rect": {
"x": 38,
"y": 38,
"width": 37,
"height": 37
},
"xOffset": -2,
"yOffset": 14,
"xAdvance": 36
},
"55": {
"rect": {
"x": 38,
"y": 76,
"width": 37,
"height": 37
},
"xOffset": -2,
"yOffset": 14,
"xAdvance": 36
},
"56": {
"rect": {
"x": 38,
"y": 114,
"width": 37,
"height": 37
},
"xOffset": -2,
"yOffset": 14,
"xAdvance": 36
},
"57": {
"rect": {
"x": 76,
"y": 0,
"width": 37,
"height": 37
},
"xOffset": -2,
"yOffset": 14,
"xAdvance": 36
},
"75": {
"rect": {
"x": 76,
"y": 76,
"width": 37,
"height": 37
},
"xOffset": -2,
"yOffset": 14,
"xAdvance": 36
},
"77": {
"rect": {
"x": 76,
"y": 114,
"width": 37,
"height": 37
},
"xOffset": -2,
"yOffset": 14,
"xAdvance": 36
},
"107": {
"rect": {
"x": 76,
"y": 38,
"width": 37,
"height": 37
},
"xOffset": -2,
"yOffset": 14,
"xAdvance": 36
},
"109": {
"rect": {
"x": 114,
"y": 0,
"width": 37,
"height": 37
},
"xOffset": -2,
"yOffset": 14,
"xAdvance": 36
}
},
"kerningDict": {}
},
"fontSize": 72,
"textureUuid": "a8feaaf5-3473-43d0-bd79-529b9b5bede8"
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

View File

@@ -0,0 +1,134 @@
{
"ver": "1.0.27",
"importer": "image",
"imported": true,
"uuid": "a8feaaf5-3473-43d0-bd79-529b9b5bede8",
"files": [
".json",
".png"
],
"subMetas": {
"6c48a": {
"importer": "texture",
"uuid": "a8feaaf5-3473-43d0-bd79-529b9b5bede8@6c48a",
"displayName": "FAT",
"id": "6c48a",
"name": "texture",
"userData": {
"wrapModeS": "clamp-to-edge",
"wrapModeT": "clamp-to-edge",
"imageUuidOrDatabaseUri": "a8feaaf5-3473-43d0-bd79-529b9b5bede8",
"isUuid": true,
"visible": false,
"minfilter": "linear",
"magfilter": "linear",
"mipfilter": "none",
"anisotropy": 0
},
"ver": "1.0.22",
"imported": true,
"files": [
".json"
],
"subMetas": {}
},
"f9941": {
"importer": "sprite-frame",
"uuid": "a8feaaf5-3473-43d0-bd79-529b9b5bede8@f9941",
"displayName": "FAT",
"id": "f9941",
"name": "spriteFrame",
"userData": {
"trimThreshold": 1,
"rotated": false,
"offsetX": 0,
"offsetY": 0,
"trimX": 1,
"trimY": 1,
"width": 149,
"height": 149,
"rawWidth": 151,
"rawHeight": 151,
"borderTop": 0,
"borderBottom": 0,
"borderLeft": 0,
"borderRight": 0,
"packable": true,
"pixelsToUnit": 100,
"pivotX": 0.5,
"pivotY": 0.5,
"meshType": 0,
"vertices": {
"rawPosition": [
-74.5,
-74.5,
0,
74.5,
-74.5,
0,
-74.5,
74.5,
0,
74.5,
74.5,
0
],
"indexes": [
0,
1,
2,
2,
1,
3
],
"uv": [
1,
150,
150,
150,
1,
1,
150,
1
],
"nuv": [
0.006622516556291391,
0.006622516556291391,
0.9933774834437086,
0.006622516556291391,
0.006622516556291391,
0.9933774834437086,
0.9933774834437086,
0.9933774834437086
],
"minPos": [
-74.5,
-74.5,
0
],
"maxPos": [
74.5,
74.5,
0
]
},
"isUuid": true,
"imageUuidOrDatabaseUri": "a8feaaf5-3473-43d0-bd79-529b9b5bede8@6c48a",
"atlasUuid": "",
"trimType": "auto"
},
"ver": "1.0.12",
"imported": true,
"files": [
".json"
],
"subMetas": {}
}
},
"userData": {
"type": "sprite-frame",
"hasAlpha": true,
"fixAlphaTransparencyArtifacts": false,
"redirect": "a8feaaf5-3473-43d0-bd79-529b9b5bede8@6c48a"
}
}

View File

@@ -210,7 +210,7 @@ export class Skill extends ecs.Entity {
const sBck = (config.bck ?? 0)+SUp.bck*skill_lv;
const sAp =config.ap+SUp.ap*skill_lv;
const sHit=config.hit_count+SUp.hit_count*skill_lv + cAttrsComp.puncture
sDataCom.Attrs[Attrs.ap] = cAttrsComp.ap*sAp;
sDataCom.Attrs[Attrs.ap] = Math.floor(cAttrsComp.ap*sAp);
sDataCom.Attrs[Attrs.critical] = cAttrsComp.critical + sCrt;
sDataCom.Attrs[Attrs.freeze_chance] = cAttrsComp.freeze_chance + sFrz;
sDataCom.Attrs[Attrs.back_chance] = cAttrsComp.back_chance + sBck;