fix(hero): 修复死亡状态下仍处理伤害队列的问题

调整伤害队列处理顺序,确保在英雄死亡后不再显示伤害数字。同时删除未使用的天赋系统文档。
This commit is contained in:
walkpan
2026-03-23 20:45:54 +08:00
parent 849a8aeaef
commit 32fa7a4163
3 changed files with 75 additions and 98 deletions

View File

@@ -221,7 +221,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -26.2975,
"x": -57.36234375000001,
"y": 0,
"z": 0
},
@@ -262,8 +262,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 11.67,
"height": 45
"width": 14.3251953125,
"height": 43.8
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -301,17 +301,14 @@
"_string": "-",
"_horizontalAlign": 2,
"_verticalAlign": 1,
"_actualFontSize": 40,
"_fontSize": 40,
"_actualFontSize": 25,
"_fontSize": 25,
"_fontFamily": "Arial",
"_lineHeight": 45,
"_lineHeight": 30,
"_overflow": 0,
"_enableWrapText": true,
"_font": {
"__uuid__": "983a109b-a5e3-4ba7-84c5-1c53817ba177",
"__expectedType__": "cc.BitmapFont"
},
"_isSystemFontUsed": false,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
@@ -326,7 +323,7 @@
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_outlineWidth": 1,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
@@ -361,7 +358,7 @@
},
"_alignFlags": 8,
"_target": null,
"_left": -16.0225,
"_left": -14.52494140625,
"_right": 0,
"_top": 0,
"_bottom": 0,
@@ -410,8 +407,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 32.22,
"height": 45
"width": 100,
"height": 64.10000000000001
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -447,34 +444,31 @@
"a": 255
},
"_string": "10",
"_horizontalAlign": 1,
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 40,
"_fontSize": 40,
"_actualFontSize": 26,
"_fontSize": 25,
"_fontFamily": "Arial",
"_lineHeight": 45,
"_overflow": 0,
"_lineHeight": 30,
"_overflow": 2,
"_enableWrapText": true,
"_font": {
"__uuid__": "983a109b-a5e3-4ba7-84c5-1c53817ba177",
"__expectedType__": "cc.BitmapFont"
},
"_isSystemFontUsed": false,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 75,
"g": 75,
"b": 75,
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_outlineWidth": 1,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
@@ -680,7 +674,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -36.930390625,
"x": -62.581,
"y": 0,
"z": 0
},
@@ -760,17 +754,14 @@
"_string": "+",
"_horizontalAlign": 1,
"_verticalAlign": 1,
"_actualFontSize": 50,
"_fontSize": 50,
"_actualFontSize": 26,
"_fontSize": 25,
"_fontFamily": "Arial",
"_lineHeight": 50,
"_lineHeight": 30,
"_overflow": 2,
"_enableWrapText": true,
"_font": {
"__uuid__": "983a109b-a5e3-4ba7-84c5-1c53817ba177",
"__expectedType__": "cc.BitmapFont"
},
"_isSystemFontUsed": false,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
@@ -785,7 +776,7 @@
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_outlineWidth": 1,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
@@ -820,7 +811,7 @@
},
"_alignFlags": 8,
"_target": null,
"_left": -26.875,
"_left": -27.180609375000003,
"_right": 0,
"_top": 0,
"_bottom": 0,
@@ -869,8 +860,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 49.31,
"height": 50
"width": 100,
"height": 65
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -906,22 +897,19 @@
"a": 255
},
"_string": "50",
"_horizontalAlign": 1,
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 50,
"_fontSize": 50,
"_actualFontSize": 26,
"_fontSize": 25,
"_fontFamily": "Arial",
"_lineHeight": 50,
"_overflow": 0,
"_lineHeight": 30,
"_overflow": 2,
"_enableWrapText": true,
"_font": {
"__uuid__": "983a109b-a5e3-4ba7-84c5-1c53817ba177",
"__expectedType__": "cc.BitmapFont"
},
"_isSystemFontUsed": false,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
@@ -1021,7 +1009,7 @@
"__id__": 39
}
],
"_active": false,
"_active": true,
"_components": [
{
"__id__": 61
@@ -1142,8 +1130,8 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -50.342000000000006,
"y": 6.053,
"x": -68.97900000000001,
"y": 0.597,
"z": 0
},
"_lrot": {
@@ -1259,7 +1247,7 @@
},
"_alignFlags": 8,
"_target": null,
"_left": -42.357,
"_left": -40.579,
"_right": 0,
"_top": 0,
"_bottom": 0,
@@ -1303,7 +1291,7 @@
"__id__": 39
},
"_children": [],
"_active": true,
"_active": false,
"_components": [
{
"__id__": 49
@@ -1320,7 +1308,7 @@
},
"_lpos": {
"__type__": "cc.Vec3",
"x": -50.397,
"x": -71.73,
"y": 0.963,
"z": 0
},
@@ -1361,8 +1349,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 17.5,
"height": 60
"width": 25.98046875,
"height": 81.6
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1406,11 +1394,8 @@
"_lineHeight": 60,
"_overflow": 0,
"_enableWrapText": true,
"_font": {
"__uuid__": "983a109b-a5e3-4ba7-84c5-1c53817ba177",
"__expectedType__": "cc.BitmapFont"
},
"_isSystemFontUsed": false,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": true,
@@ -1420,12 +1405,12 @@
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_outlineWidth": 3,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",
@@ -1460,7 +1445,7 @@
},
"_alignFlags": 8,
"_target": null,
"_left": -29.561999999999998,
"_left": -34.720234375000004,
"_right": 0,
"_top": 0,
"_bottom": 0,
@@ -1509,8 +1494,8 @@
},
"_contentSize": {
"__type__": "cc.Size",
"width": 59.17,
"height": 60
"width": 100,
"height": 79.6
},
"_anchorPoint": {
"__type__": "cc.Vec2",
@@ -1545,35 +1530,32 @@
"b": 0,
"a": 255
},
"_string": "80",
"_horizontalAlign": 1,
"_string": "999",
"_horizontalAlign": 0,
"_verticalAlign": 1,
"_actualFontSize": 60,
"_fontSize": 60,
"_actualFontSize": 31,
"_fontSize": 30,
"_fontFamily": "Arial",
"_lineHeight": 60,
"_overflow": 0,
"_lineHeight": 35,
"_overflow": 2,
"_enableWrapText": true,
"_font": {
"__uuid__": "983a109b-a5e3-4ba7-84c5-1c53817ba177",
"__expectedType__": "cc.BitmapFont"
},
"_isSystemFontUsed": false,
"_font": null,
"_isSystemFontUsed": true,
"_spacingX": 0,
"_isItalic": false,
"_isBold": false,
"_isBold": true,
"_isUnderline": false,
"_underlineHeight": 2,
"_cacheMode": 0,
"_enableOutline": true,
"_outlineColor": {
"__type__": "cc.Color",
"r": 255,
"g": 255,
"b": 255,
"r": 0,
"g": 0,
"b": 0,
"a": 255
},
"_outlineWidth": 2,
"_outlineWidth": 1,
"_enableShadow": false,
"_shadowColor": {
"__type__": "cc.Color",