diff --git a/assets/resources/gui/element/victory.prefab b/assets/resources/gui/element/victory.prefab index ae4ecd8a..c14d1131 100644 --- a/assets/resources/gui/element/victory.prefab +++ b/assets/resources/gui/element/victory.prefab @@ -25,32 +25,32 @@ "__id__": 10 }, { - "__id__": 180 + "__id__": 144 }, { - "__id__": 233 + "__id__": 197 } ], "_active": true, "_components": [ { - "__id__": 250 + "__id__": 210 }, { - "__id__": 252 + "__id__": 212 }, { - "__id__": 254 + "__id__": 214 }, { - "__id__": 256 + "__id__": 216 }, { - "__id__": 258 + "__id__": 218 } ], "_prefab": { - "__id__": 260 + "__id__": 220 }, "_lpos": { "__type__": "cc.Vec3", @@ -185,7 +185,7 @@ "a": 233 }, "_spriteFrame": { - "__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a@58cb7", + "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@7f50d", "__expectedType__": "cc.SpriteFrame" }, "_type": 1, @@ -201,7 +201,7 @@ "_isTrimmedMode": true, "_useGrayscale": false, "_atlas": { - "__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a", + "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4", "__expectedType__": "cc.SpriteAtlas" }, "_id": "" @@ -279,19 +279,22 @@ }, { "__id__": 35 + }, + { + "__id__": 41 } ], "_active": true, "_components": [ { - "__id__": 175 + "__id__": 139 }, { - "__id__": 177 + "__id__": 141 } ], "_prefab": { - "__id__": 179 + "__id__": 143 }, "_lpos": { "__type__": "cc.Vec3", @@ -426,7 +429,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a@21123", + "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@814fa", "__expectedType__": "cc.SpriteFrame" }, "_type": 1, @@ -442,7 +445,7 @@ "_isTrimmedMode": true, "_useGrayscale": false, "_atlas": { - "__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a", + "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4", "__expectedType__": "cc.SpriteAtlas" }, "_id": "" @@ -527,7 +530,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 420, + "y": 530.224, "z": 0 }, "_lrot": { @@ -539,8 +542,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 1, - "y": 1, + "x": 0.7, + "y": 0.7, "z": 1 }, "_mobility": 0, @@ -567,8 +570,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 410, - "height": 60 + "width": 670, + "height": 531 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -604,7 +607,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a@53b02", + "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@c1a5c", "__expectedType__": "cc.SpriteFrame" }, "_type": 0, @@ -620,7 +623,7 @@ "_isTrimmedMode": true, "_useGrayscale": false, "_atlas": { - "__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a", + "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4", "__expectedType__": "cc.SpriteAtlas" }, "_id": "" @@ -645,7 +648,7 @@ "_target": null, "_left": 0, "_right": 0, - "_top": -10, + "_top": -276.07400000000007, "_bottom": 0, "_horizontalCenter": 0, "_verticalCenter": 0, @@ -705,7 +708,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 422.8, + "y": 447.366, "z": 0 }, "_lrot": { @@ -843,7 +846,7 @@ "_target": null, "_left": 0, "_right": 0, - "_top": -10, + "_top": -34.565999999999974, "_bottom": 0, "_horizontalCenter": 0, "_verticalCenter": 0, @@ -876,6 +879,133 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "mvps", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 10 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 36 + }, + { + "__id__": 38 + } + ], + "_prefab": { + "__id__": 40 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 120, + "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": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": { + "__id__": 37 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 660.0000000000006, + "height": 560 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ecJrqL7n9OPJymnNuvoMxL" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 35 + }, + "_enabled": true, + "__prefab": { + "__id__": 39 + }, + "_alignFlags": 45, + "_target": null, + "_left": 30, + "_right": 30, + "_top": 40, + "_bottom": 280, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 100, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a5CI9FW9JD7YV5SQl61KBv" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "d5SzEBBLpLNrzdPY1VPmuq", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.Node", "_name": "info", @@ -886,43 +1016,40 @@ }, "_children": [ { - "__id__": 36 + "__id__": 42 }, { - "__id__": 58 + "__id__": 64 }, { - "__id__": 80 + "__id__": 86 }, { - "__id__": 102 - }, - { - "__id__": 124 - }, - { - "__id__": 146 + "__id__": 108 } ], "_active": true, "_components": [ { - "__id__": 168 + "__id__": 130 }, { - "__id__": 170 + "__id__": 132 }, { - "__id__": 172 + "__id__": 134 + }, + { + "__id__": 136 } ], "_prefab": { - "__id__": 174 + "__id__": 138 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 50, + "y": -230, "z": 0 }, "_lrot": { @@ -954,32 +1081,32 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 35 + "__id__": 41 }, "_children": [ { - "__id__": 37 + "__id__": 43 }, { - "__id__": 45 + "__id__": 51 } ], "_active": true, "_components": [ { - "__id__": 53 + "__id__": 59 }, { - "__id__": 55 + "__id__": 61 } ], "_prefab": { - "__id__": 57 + "__id__": 63 }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, - "y": 250, + "x": -160.00000000000028, + "y": 25, "z": 0 }, "_lrot": { @@ -1011,27 +1138,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 36 + "__id__": 42 }, "_children": [], "_active": true, "_components": [ { - "__id__": 38 + "__id__": 44 }, { - "__id__": 40 + "__id__": 46 }, { - "__id__": 42 + "__id__": 48 } ], "_prefab": { - "__id__": 44 + "__id__": 50 }, "_lpos": { "__type__": "cc.Vec3", - "x": -243.65484619140653, + "x": -73.65484619140625, "y": 0, "z": 0 }, @@ -1064,11 +1191,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 37 + "__id__": 43 }, "_enabled": true, "__prefab": { - "__id__": 39 + "__id__": 45 }, "_contentSize": { "__type__": "cc.Size", @@ -1092,11 +1219,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 37 + "__id__": 43 }, "_enabled": true, "__prefab": { - "__id__": 41 + "__id__": 47 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1108,11 +1235,11 @@ "b": 255, "a": 255 }, - "_string": "本局总分 :", + "_string": "得分:", "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 30, - "_fontSize": 29.7, + "_actualFontSize": 26, + "_fontSize": 25, "_fontFamily": "Arial", "_lineHeight": 40, "_overflow": 2, @@ -1121,7 +1248,7 @@ "_isSystemFontUsed": true, "_spacingX": 0, "_isItalic": false, - "_isBold": true, + "_isBold": false, "_isUnderline": false, "_underlineHeight": 2, "_cacheMode": 0, @@ -1160,11 +1287,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 37 + "__id__": 43 }, "_enabled": true, "__prefab": { - "__id__": 43 + "__id__": 49 }, "_alignFlags": 8, "_target": null, @@ -1209,23 +1336,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 36 + "__id__": 42 }, "_children": [], "_active": true, "_components": [ { - "__id__": 46 + "__id__": 52 }, { - "__id__": 48 + "__id__": 54 }, { - "__id__": 50 + "__id__": 56 } ], "_prefab": { - "__id__": 52 + "__id__": 58 }, "_lpos": { "__type__": "cc.Vec3", @@ -1262,15 +1389,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 45 + "__id__": 51 }, "_enabled": true, "__prefab": { - "__id__": 47 + "__id__": 53 }, "_contentSize": { "__type__": "cc.Size", - "width": 480.00000000000057, + "width": 140, "height": 50.4 }, "_anchorPoint": { @@ -1290,11 +1417,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 45 + "__id__": 51 }, "_enabled": true, "__prefab": { - "__id__": 49 + "__id__": 55 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1309,8 +1436,8 @@ "_string": "99999", "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 31, - "_fontSize": 30, + "_actualFontSize": 26, + "_fontSize": 25, "_fontFamily": "Arial", "_lineHeight": 40, "_overflow": 2, @@ -1319,7 +1446,7 @@ "_isSystemFontUsed": true, "_spacingX": 0, "_isItalic": true, - "_isBold": true, + "_isBold": false, "_isUnderline": false, "_underlineHeight": 2, "_cacheMode": 0, @@ -1358,11 +1485,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 45 + "__id__": 51 }, "_enabled": true, "__prefab": { - "__id__": 51 + "__id__": 57 }, "_alignFlags": 40, "_target": null, @@ -1407,16 +1534,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 36 + "__id__": 42 }, "_enabled": true, "__prefab": { - "__id__": 54 + "__id__": 60 }, "_contentSize": { "__type__": "cc.Size", - "width": 640.0000000000006, - "height": 80 + "width": 300, + "height": 40 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1435,16 +1562,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 36 + "__id__": 42 }, "_enabled": true, "__prefab": { - "__id__": 56 + "__id__": 62 }, "_alignFlags": 40, "_target": null, - "_left": 0, - "_right": 0, + "_left": 20, + "_right": 340.00000000000057, "_top": 0, "_bottom": 0, "_horizontalCenter": 0, @@ -1484,32 +1611,32 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 35 + "__id__": 41 }, "_children": [ { - "__id__": 59 + "__id__": 65 }, { - "__id__": 67 + "__id__": 73 } ], "_active": true, "_components": [ { - "__id__": 75 + "__id__": 81 }, { - "__id__": 77 + "__id__": 83 } ], "_prefab": { - "__id__": 79 + "__id__": 85 }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, - "y": 170, + "x": 139.99999999999972, + "y": 25, "z": 0 }, "_lrot": { @@ -1541,27 +1668,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 58 + "__id__": 64 }, "_children": [], "_active": true, "_components": [ { - "__id__": 60 + "__id__": 66 }, { - "__id__": 62 + "__id__": 68 }, { - "__id__": 64 + "__id__": 70 } ], "_prefab": { - "__id__": 66 + "__id__": 72 }, "_lpos": { "__type__": "cc.Vec3", - "x": -243.65484619140653, + "x": -73.65484619140625, "y": 0, "z": 0 }, @@ -1594,11 +1721,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 59 + "__id__": 65 }, "_enabled": true, "__prefab": { - "__id__": 61 + "__id__": 67 }, "_contentSize": { "__type__": "cc.Size", @@ -1622,11 +1749,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 59 + "__id__": 65 }, "_enabled": true, "__prefab": { - "__id__": 63 + "__id__": 69 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1638,11 +1765,11 @@ "b": 255, "a": 255 }, - "_string": "总 伤 害 :", + "_string": "总伤害 :", "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 30, - "_fontSize": 29.7, + "_actualFontSize": 26, + "_fontSize": 25, "_fontFamily": "Arial", "_lineHeight": 40, "_overflow": 2, @@ -1651,7 +1778,7 @@ "_isSystemFontUsed": true, "_spacingX": 0, "_isItalic": false, - "_isBold": true, + "_isBold": false, "_isUnderline": false, "_underlineHeight": 2, "_cacheMode": 0, @@ -1690,11 +1817,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 59 + "__id__": 65 }, "_enabled": true, "__prefab": { - "__id__": 65 + "__id__": 71 }, "_alignFlags": 8, "_target": null, @@ -1739,23 +1866,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 58 + "__id__": 64 }, "_children": [], "_active": true, "_components": [ { - "__id__": 68 + "__id__": 74 }, { - "__id__": 70 + "__id__": 76 }, { - "__id__": 72 + "__id__": 78 } ], "_prefab": { - "__id__": 74 + "__id__": 80 }, "_lpos": { "__type__": "cc.Vec3", @@ -1792,15 +1919,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 67 + "__id__": 73 }, "_enabled": true, "__prefab": { - "__id__": 69 + "__id__": 75 }, "_contentSize": { "__type__": "cc.Size", - "width": 480.00000000000057, + "width": 140, "height": 50.4 }, "_anchorPoint": { @@ -1820,11 +1947,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 67 + "__id__": 73 }, "_enabled": true, "__prefab": { - "__id__": 71 + "__id__": 77 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1839,8 +1966,8 @@ "_string": "8888888", "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 31, - "_fontSize": 30, + "_actualFontSize": 26, + "_fontSize": 25, "_fontFamily": "Arial", "_lineHeight": 40, "_overflow": 2, @@ -1849,7 +1976,7 @@ "_isSystemFontUsed": true, "_spacingX": 0, "_isItalic": true, - "_isBold": true, + "_isBold": false, "_isUnderline": false, "_underlineHeight": 2, "_cacheMode": 0, @@ -1888,11 +2015,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 67 + "__id__": 73 }, "_enabled": true, "__prefab": { - "__id__": 73 + "__id__": 79 }, "_alignFlags": 40, "_target": null, @@ -1937,16 +2064,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 58 + "__id__": 64 }, "_enabled": true, "__prefab": { - "__id__": 76 + "__id__": 82 }, "_contentSize": { "__type__": "cc.Size", - "width": 640.0000000000006, - "height": 80 + "width": 300, + "height": 40 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -1965,16 +2092,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 58 + "__id__": 64 }, "_enabled": true, "__prefab": { - "__id__": 78 + "__id__": 84 }, "_alignFlags": 40, "_target": null, - "_left": 0, - "_right": 0, + "_left": 320, + "_right": 40.00000000000057, "_top": 0, "_bottom": 0, "_horizontalCenter": 0, @@ -2010,36 +2137,36 @@ }, { "__type__": "cc.Node", - "_name": "atk_count", + "_name": "avg_dmg", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 35 + "__id__": 41 }, "_children": [ { - "__id__": 81 + "__id__": 87 }, { - "__id__": 89 + "__id__": 95 } ], "_active": true, "_components": [ { - "__id__": 97 + "__id__": 103 }, { - "__id__": 99 + "__id__": 105 } ], "_prefab": { - "__id__": 101 + "__id__": 107 }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, - "y": 90, + "x": -160.00000000000028, + "y": -15, "z": 0 }, "_lrot": { @@ -2071,225 +2198,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 80 + "__id__": 86 }, "_children": [], "_active": true, "_components": [ { - "__id__": 82 + "__id__": 88 }, - { - "__id__": 84 - }, - { - "__id__": 86 - } - ], - "_prefab": { - "__id__": 88 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -243.65484619140653, - "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": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 81 - }, - "_enabled": true, - "__prefab": { - "__id__": 83 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 150, - "height": 54.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "83heKSkH9PXLMvqh5zfrxB" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 81 - }, - "_enabled": true, - "__prefab": { - "__id__": 85 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "攻击次数 :", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 30, - "_fontSize": 29.7, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 2, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": true, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": true, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "13mRRg6m5PmYaiacm0T5o+" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 81 - }, - "_enabled": true, - "__prefab": { - "__id__": 87 - }, - "_alignFlags": 8, - "_target": null, - "_left": 1.34515380859375, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 0, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "4bdasYJP5KL7/nq0BtAdgO" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "73mRvGx9dJS7/dmk2HYO12", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "num", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 80 - }, - "_children": [], - "_active": true, - "_components": [ { "__id__": 90 }, { "__id__": 92 - }, - { - "__id__": 94 } ], "_prefab": { - "__id__": 96 + "__id__": 94 }, "_lpos": { "__type__": "cc.Vec3", - "x": 70, + "x": -73.65484619140625, "y": 0, "z": 0 }, @@ -2322,344 +2251,12 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { + "__id__": 87 + }, + "_enabled": true, + "__prefab": { "__id__": 89 }, - "_enabled": true, - "__prefab": { - "__id__": 91 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 480.00000000000057, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "ef3cKsD6xK56ndxfAPvcqW" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 89 - }, - "_enabled": true, - "__prefab": { - "__id__": 93 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "777", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 31, - "_fontSize": 30, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 2, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": true, - "_isBold": true, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": true, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "a3KvFixLdHTqfNdByacTlh" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 89 - }, - "_enabled": true, - "__prefab": { - "__id__": 95 - }, - "_alignFlags": 40, - "_target": null, - "_left": 150, - "_right": 10, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 42.255859375, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e2YQU2pSVOX6RUyAC41Og5" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "9agJAwITpC3693uyjJQqMV", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 80 - }, - "_enabled": true, - "__prefab": { - "__id__": 98 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 640.0000000000006, - "height": 80 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "5f2F6QTghPc4342K2bPNrw" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 80 - }, - "_enabled": true, - "__prefab": { - "__id__": 100 - }, - "_alignFlags": 40, - "_target": null, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 100, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "41QxpCjCtE57ovCFTzcJ4l" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "bfkvwkLqNMJrcFgNDBhZsr", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "avg_dmg", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 35 - }, - "_children": [ - { - "__id__": 103 - }, - { - "__id__": 111 - } - ], - "_active": true, - "_components": [ - { - "__id__": 119 - }, - { - "__id__": 121 - } - ], - "_prefab": { - "__id__": 123 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": 10, - "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": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "name", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 102 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 104 - }, - { - "__id__": 106 - }, - { - "__id__": 108 - } - ], - "_prefab": { - "__id__": 110 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -243.65484619140653, - "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": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 103 - }, - "_enabled": true, - "__prefab": { - "__id__": 105 - }, "_contentSize": { "__type__": "cc.Size", "width": 150, @@ -2682,11 +2279,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 103 + "__id__": 87 }, "_enabled": true, "__prefab": { - "__id__": 107 + "__id__": 91 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2701,8 +2298,8 @@ "_string": "平均伤害 :", "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 30, - "_fontSize": 29.7, + "_actualFontSize": 26, + "_fontSize": 25, "_fontFamily": "Arial", "_lineHeight": 40, "_overflow": 2, @@ -2711,7 +2308,7 @@ "_isSystemFontUsed": true, "_spacingX": 0, "_isItalic": false, - "_isBold": true, + "_isBold": false, "_isUnderline": false, "_underlineHeight": 2, "_cacheMode": 0, @@ -2750,11 +2347,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 103 + "__id__": 87 }, "_enabled": true, "__prefab": { - "__id__": 109 + "__id__": 93 }, "_alignFlags": 8, "_target": null, @@ -2799,23 +2396,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 102 + "__id__": 86 }, "_children": [], "_active": true, "_components": [ { - "__id__": 112 + "__id__": 96 }, { - "__id__": 114 + "__id__": 98 }, { - "__id__": 116 + "__id__": 100 } ], "_prefab": { - "__id__": 118 + "__id__": 102 }, "_lpos": { "__type__": "cc.Vec3", @@ -2852,15 +2449,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 111 + "__id__": 95 }, "_enabled": true, "__prefab": { - "__id__": 113 + "__id__": 97 }, "_contentSize": { "__type__": "cc.Size", - "width": 480.00000000000057, + "width": 140, "height": 50.4 }, "_anchorPoint": { @@ -2880,11 +2477,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 111 + "__id__": 95 }, "_enabled": true, "__prefab": { - "__id__": 115 + "__id__": 99 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2899,8 +2496,8 @@ "_string": "6666", "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 31, - "_fontSize": 30, + "_actualFontSize": 26, + "_fontSize": 25, "_fontFamily": "Arial", "_lineHeight": 40, "_overflow": 2, @@ -2909,7 +2506,7 @@ "_isSystemFontUsed": true, "_spacingX": 0, "_isItalic": true, - "_isBold": true, + "_isBold": false, "_isUnderline": false, "_underlineHeight": 2, "_cacheMode": 0, @@ -2948,11 +2545,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 111 + "__id__": 95 }, "_enabled": true, "__prefab": { - "__id__": 117 + "__id__": 101 }, "_alignFlags": 40, "_target": null, @@ -2997,16 +2594,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 102 + "__id__": 86 }, "_enabled": true, "__prefab": { - "__id__": 120 + "__id__": 104 }, "_contentSize": { "__type__": "cc.Size", - "width": 640.0000000000006, - "height": 80 + "width": 300, + "height": 40 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -3025,16 +2622,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 102 + "__id__": 86 }, "_enabled": true, "__prefab": { - "__id__": 122 + "__id__": 106 }, "_alignFlags": 40, "_target": null, - "_left": 0, - "_right": 0, + "_left": 20, + "_right": 340.00000000000057, "_top": 0, "_bottom": 0, "_horizontalCenter": 0, @@ -3074,32 +2671,32 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 35 + "__id__": 41 }, "_children": [ { - "__id__": 125 + "__id__": 109 }, { - "__id__": 133 + "__id__": 117 } ], "_active": true, "_components": [ { - "__id__": 141 + "__id__": 125 }, { - "__id__": 143 + "__id__": 127 } ], "_prefab": { - "__id__": 145 + "__id__": 129 }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, - "y": -70, + "x": 139.99999999999972, + "y": -15, "z": 0 }, "_lrot": { @@ -3131,27 +2728,27 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 124 + "__id__": 108 }, "_children": [], "_active": true, "_components": [ { - "__id__": 126 + "__id__": 110 }, { - "__id__": 128 + "__id__": 112 }, { - "__id__": 130 + "__id__": 114 } ], "_prefab": { - "__id__": 132 + "__id__": 116 }, "_lpos": { "__type__": "cc.Vec3", - "x": -243.65484619140653, + "x": -73.65484619140625, "y": 0, "z": 0 }, @@ -3184,11 +2781,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 125 + "__id__": 109 }, "_enabled": true, "__prefab": { - "__id__": 127 + "__id__": 111 }, "_contentSize": { "__type__": "cc.Size", @@ -3212,11 +2809,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 125 + "__id__": 109 }, "_enabled": true, "__prefab": { - "__id__": 129 + "__id__": 113 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3231,8 +2828,8 @@ "_string": "暴击次数 :", "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 30, - "_fontSize": 29.7, + "_actualFontSize": 26, + "_fontSize": 25, "_fontFamily": "Arial", "_lineHeight": 40, "_overflow": 2, @@ -3241,7 +2838,7 @@ "_isSystemFontUsed": true, "_spacingX": 0, "_isItalic": false, - "_isBold": true, + "_isBold": false, "_isUnderline": false, "_underlineHeight": 2, "_cacheMode": 0, @@ -3280,11 +2877,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 125 + "__id__": 109 }, "_enabled": true, "__prefab": { - "__id__": 131 + "__id__": 115 }, "_alignFlags": 8, "_target": null, @@ -3329,23 +2926,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 124 + "__id__": 108 }, "_children": [], "_active": true, "_components": [ { - "__id__": 134 + "__id__": 118 }, { - "__id__": 136 + "__id__": 120 }, { - "__id__": 138 + "__id__": 122 } ], "_prefab": { - "__id__": 140 + "__id__": 124 }, "_lpos": { "__type__": "cc.Vec3", @@ -3382,15 +2979,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 133 + "__id__": 117 }, "_enabled": true, "__prefab": { - "__id__": 135 + "__id__": 119 }, "_contentSize": { "__type__": "cc.Size", - "width": 480.00000000000057, + "width": 140, "height": 50.4 }, "_anchorPoint": { @@ -3410,11 +3007,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 133 + "__id__": 117 }, "_enabled": true, "__prefab": { - "__id__": 137 + "__id__": 121 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3429,8 +3026,8 @@ "_string": "555", "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 31, - "_fontSize": 30, + "_actualFontSize": 26, + "_fontSize": 25, "_fontFamily": "Arial", "_lineHeight": 40, "_overflow": 2, @@ -3439,7 +3036,7 @@ "_isSystemFontUsed": true, "_spacingX": 0, "_isItalic": true, - "_isBold": true, + "_isBold": false, "_isUnderline": false, "_underlineHeight": 2, "_cacheMode": 0, @@ -3478,11 +3075,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 133 + "__id__": 117 }, "_enabled": true, "__prefab": { - "__id__": 139 + "__id__": 123 }, "_alignFlags": 40, "_target": null, @@ -3527,16 +3124,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 124 + "__id__": 108 }, "_enabled": true, "__prefab": { - "__id__": 142 + "__id__": 126 }, "_contentSize": { "__type__": "cc.Size", - "width": 640.0000000000006, - "height": 80 + "width": 300, + "height": 40 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -3555,16 +3152,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 124 + "__id__": 108 }, "_enabled": true, "__prefab": { - "__id__": 144 + "__id__": 128 }, "_alignFlags": 40, "_target": null, - "_left": 0, - "_right": 0, + "_left": 320, + "_right": 40.00000000000057, "_top": 0, "_bottom": 0, "_horizontalCenter": 0, @@ -3598,552 +3195,22 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, - { - "__type__": "cc.Node", - "_name": "dod_count", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 35 - }, - "_children": [ - { - "__id__": 147 - }, - { - "__id__": 155 - } - ], - "_active": true, - "_components": [ - { - "__id__": 163 - }, - { - "__id__": 165 - } - ], - "_prefab": { - "__id__": 167 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 0, - "y": -150, - "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": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "name", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 146 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 148 - }, - { - "__id__": 150 - }, - { - "__id__": 152 - } - ], - "_prefab": { - "__id__": 154 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -243.65484619140653, - "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": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, { "__type__": "cc.UITransform", "_name": "", "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 147 + "__id__": 41 }, "_enabled": true, "__prefab": { - "__id__": 149 + "__id__": 131 }, "_contentSize": { "__type__": "cc.Size", - "width": 150, - "height": 54.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "16TXvei8RMhob52ajJCLo7" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 147 - }, - "_enabled": true, - "__prefab": { - "__id__": 151 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "闪避次数 :", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 30, - "_fontSize": 29.7, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 2, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": true, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": true, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "967c7DoCxCwpDHTgCc9meX" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 147 - }, - "_enabled": true, - "__prefab": { - "__id__": 153 - }, - "_alignFlags": 8, - "_target": null, - "_left": 1.34515380859375, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 0, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "5dA4qHwd1MQoQjc7qWB3dM" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "eb1BQ7885AUp76Y2dm/480", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "num", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 146 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 156 - }, - { - "__id__": 158 - }, - { - "__id__": 160 - } - ], - "_prefab": { - "__id__": 162 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 70, - "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": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 155 - }, - "_enabled": true, - "__prefab": { - "__id__": 157 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 480.00000000000057, - "height": 50.4 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "47se0SL3NDubRAdarqSV9D" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 155 - }, - "_enabled": true, - "__prefab": { - "__id__": 159 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "444", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 31, - "_fontSize": 30, - "_fontFamily": "Arial", - "_lineHeight": 40, - "_overflow": 2, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": true, - "_isBold": true, - "_isUnderline": false, - "_underlineHeight": 2, - "_cacheMode": 0, - "_enableOutline": true, - "_outlineColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_outlineWidth": 2, - "_enableShadow": false, - "_shadowColor": { - "__type__": "cc.Color", - "r": 0, - "g": 0, - "b": 0, - "a": 255 - }, - "_shadowOffset": { - "__type__": "cc.Vec2", - "x": 2, - "y": 2 - }, - "_shadowBlur": 2, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "808d0qVstEKLvVHPxUJDdW" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 155 - }, - "_enabled": true, - "__prefab": { - "__id__": 161 - }, - "_alignFlags": 40, - "_target": null, - "_left": 150, - "_right": 10, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 42.255859375, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e7L1tQDuFIlpJSLgJzLM2C" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "15dZsmpkdLlYSUkoxNIUmz", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 146 - }, - "_enabled": true, - "__prefab": { - "__id__": 164 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 640.0000000000006, - "height": 80 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "16wuCcXMdPr4mb7qd2hCPe" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 146 - }, - "_enabled": true, - "__prefab": { - "__id__": 166 - }, - "_alignFlags": 40, - "_target": null, - "_left": 0, - "_right": 0, - "_top": 0, - "_bottom": 0, - "_horizontalCenter": 0, - "_verticalCenter": 0, - "_isAbsLeft": true, - "_isAbsRight": true, - "_isAbsTop": true, - "_isAbsBottom": true, - "_isAbsHorizontalCenter": true, - "_isAbsVerticalCenter": true, - "_originalWidth": 100, - "_originalHeight": 0, - "_alignMode": 2, - "_lockFlags": 0, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "42MdCww2VHAK9nfA+JwTWM" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "19/N1k0XxNyYbpjYnMbzoo", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 35 - }, - "_enabled": true, - "__prefab": { - "__id__": 169 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 640.0000000000006, - "height": 580 + "width": 660.0000000000006, + "height": 120 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -4162,18 +3229,18 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 35 + "__id__": 41 }, "_enabled": true, "__prefab": { - "__id__": 171 + "__id__": 133 }, - "_alignFlags": 45, + "_alignFlags": 44, "_target": null, - "_left": 40, - "_right": 40, - "_top": 100, - "_bottom": 200, + "_left": 30, + "_right": 30, + "_top": 625.809, + "_bottom": 150, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -4198,24 +3265,24 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 35 + "__id__": 41 }, "_enabled": true, "__prefab": { - "__id__": 173 + "__id__": 135 }, "_resizeMode": 0, - "_layoutType": 2, + "_layoutType": 3, "_cellSize": { "__type__": "cc.Size", "width": 40, "height": 40 }, "_startAxis": 0, - "_paddingLeft": 0, - "_paddingRight": 0, - "_paddingTop": 0, - "_paddingBottom": 0, + "_paddingLeft": 20, + "_paddingRight": 20, + "_paddingTop": 15, + "_paddingBottom": 15, "_spacingX": 0, "_spacingY": 0, "_verticalDirection": 1, @@ -4230,6 +3297,54 @@ "__type__": "cc.CompPrefabInfo", "fileId": "17BrZdyrBNsYIO3L+TU1Op" }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 41 + }, + "_enabled": true, + "__prefab": { + "__id__": 137 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@091ff", + "__expectedType__": "cc.SpriteFrame" + }, + "_type": 0, + "_fillType": 0, + "_sizeMode": 0, + "_fillCenter": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_fillStart": 0, + "_fillRange": 0, + "_isTrimmedMode": true, + "_useGrayscale": false, + "_atlas": { + "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "153oMOVo9Pb7Pzt3rkR/MG" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -4253,7 +3368,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 176 + "__id__": 140 }, "_contentSize": { "__type__": "cc.Size", @@ -4281,7 +3396,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 178 + "__id__": 142 }, "_alignFlags": 45, "_target": null, @@ -4330,34 +3445,34 @@ }, "_children": [ { - "__id__": 181 + "__id__": 145 }, { - "__id__": 196 + "__id__": 160 }, { - "__id__": 211 + "__id__": 175 } ], "_active": true, "_components": [ { - "__id__": 226 + "__id__": 190 }, { - "__id__": 228 + "__id__": 192 }, { - "__id__": 230 + "__id__": 194 } ], "_prefab": { - "__id__": 232 + "__id__": 196 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -340, + "y": -355.633, "z": 0 }, "_lrot": { @@ -4389,31 +3504,31 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 180 + "__id__": 144 }, "_children": [ { - "__id__": 182 + "__id__": 146 } ], "_active": true, "_components": [ { - "__id__": 188 + "__id__": 152 }, { - "__id__": 190 + "__id__": 154 }, { - "__id__": 192 + "__id__": 156 } ], "_prefab": { - "__id__": 195 + "__id__": 159 }, "_lpos": { "__type__": "cc.Vec3", - "x": 0, + "x": -410, "y": 0, "z": 0 }, @@ -4446,20 +3561,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 181 + "__id__": 145 }, "_children": [], "_active": true, "_components": [ { - "__id__": 183 + "__id__": 147 }, { - "__id__": 185 + "__id__": 149 } ], "_prefab": { - "__id__": 187 + "__id__": 151 }, "_lpos": { "__type__": "cc.Vec3", @@ -4496,11 +3611,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 182 + "__id__": 146 }, "_enabled": true, "__prefab": { - "__id__": 184 + "__id__": 148 }, "_contentSize": { "__type__": "cc.Size", @@ -4524,11 +3639,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 182 + "__id__": 146 }, "_enabled": true, "__prefab": { - "__id__": 186 + "__id__": 150 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4605,11 +3720,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 181 + "__id__": 145 }, "_enabled": true, "__prefab": { - "__id__": 189 + "__id__": 153 }, "_contentSize": { "__type__": "cc.Size", @@ -4633,11 +3748,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 181 + "__id__": 145 }, "_enabled": true, "__prefab": { - "__id__": 191 + "__id__": 155 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4650,7 +3765,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a@21123", + "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@15f3b", "__expectedType__": "cc.SpriteFrame" }, "_type": 1, @@ -4666,7 +3781,7 @@ "_isTrimmedMode": true, "_useGrayscale": false, "_atlas": { - "__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a", + "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4", "__expectedType__": "cc.SpriteAtlas" }, "_id": "" @@ -4681,15 +3796,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 181 + "__id__": 145 }, "_enabled": true, "__prefab": { - "__id__": 193 + "__id__": 157 }, "clickEvents": [ { - "__id__": 194 + "__id__": 158 } ], "_interactable": true, @@ -4764,31 +3879,31 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 180 + "__id__": 144 }, "_children": [ { - "__id__": 197 + "__id__": 161 } ], - "_active": false, + "_active": true, "_components": [ { - "__id__": 203 + "__id__": 167 }, { - "__id__": 205 + "__id__": 169 }, { - "__id__": 207 + "__id__": 171 } ], "_prefab": { - "__id__": 210 + "__id__": 174 }, "_lpos": { "__type__": "cc.Vec3", - "x": 135, + "x": -70, "y": 0, "z": 0 }, @@ -4821,20 +3936,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 196 + "__id__": 160 }, "_children": [], "_active": true, "_components": [ { - "__id__": 198 + "__id__": 162 }, { - "__id__": 200 + "__id__": 164 } ], "_prefab": { - "__id__": 202 + "__id__": 166 }, "_lpos": { "__type__": "cc.Vec3", @@ -4871,11 +3986,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 197 + "__id__": 161 }, "_enabled": true, "__prefab": { - "__id__": 199 + "__id__": 163 }, "_contentSize": { "__type__": "cc.Size", @@ -4899,11 +4014,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 197 + "__id__": 161 }, "_enabled": true, "__prefab": { - "__id__": 201 + "__id__": 165 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4980,11 +4095,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 196 + "__id__": 160 }, "_enabled": true, "__prefab": { - "__id__": 204 + "__id__": 168 }, "_contentSize": { "__type__": "cc.Size", @@ -5008,11 +4123,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 196 + "__id__": 160 }, "_enabled": true, "__prefab": { - "__id__": 206 + "__id__": 170 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5025,7 +4140,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a@e556e", + "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@7645f", "__expectedType__": "cc.SpriteFrame" }, "_type": 1, @@ -5041,7 +4156,7 @@ "_isTrimmedMode": true, "_useGrayscale": false, "_atlas": { - "__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a", + "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4", "__expectedType__": "cc.SpriteAtlas" }, "_id": "" @@ -5056,15 +4171,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 196 + "__id__": 160 }, "_enabled": true, "__prefab": { - "__id__": 208 + "__id__": 172 }, "clickEvents": [ { - "__id__": 209 + "__id__": 173 } ], "_interactable": true, @@ -5139,31 +4254,31 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 180 + "__id__": 144 }, "_children": [ { - "__id__": 212 + "__id__": 176 } ], - "_active": false, + "_active": true, "_components": [ { - "__id__": 218 + "__id__": 182 }, { - "__id__": 220 + "__id__": 184 }, { - "__id__": 222 + "__id__": 186 } ], "_prefab": { - "__id__": 225 + "__id__": 189 }, "_lpos": { "__type__": "cc.Vec3", - "x": 142.5, + "x": 340, "y": 0, "z": 0 }, @@ -5196,20 +4311,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 211 + "__id__": 175 }, "_children": [], "_active": true, "_components": [ { - "__id__": 213 + "__id__": 177 }, { - "__id__": 215 + "__id__": 179 } ], "_prefab": { - "__id__": 217 + "__id__": 181 }, "_lpos": { "__type__": "cc.Vec3", @@ -5246,11 +4361,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 212 + "__id__": 176 }, "_enabled": true, "__prefab": { - "__id__": 214 + "__id__": 178 }, "_contentSize": { "__type__": "cc.Size", @@ -5274,11 +4389,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 212 + "__id__": 176 }, "_enabled": true, "__prefab": { - "__id__": 216 + "__id__": 180 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5355,11 +4470,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 211 + "__id__": 175 }, "_enabled": true, "__prefab": { - "__id__": 219 + "__id__": 183 }, "_contentSize": { "__type__": "cc.Size", @@ -5383,11 +4498,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 211 + "__id__": 175 }, "_enabled": true, "__prefab": { - "__id__": 221 + "__id__": 185 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5400,7 +4515,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a@e556e", + "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4@7645f", "__expectedType__": "cc.SpriteFrame" }, "_type": 1, @@ -5416,7 +4531,7 @@ "_isTrimmedMode": true, "_useGrayscale": false, "_atlas": { - "__uuid__": "deedea09-8f2b-400f-9803-4cfd38e45d1a", + "__uuid__": "6165ffc9-a838-4a33-b569-bdbaaab0e6b4", "__expectedType__": "cc.SpriteAtlas" }, "_id": "" @@ -5431,15 +4546,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 211 + "__id__": 175 }, "_enabled": true, "__prefab": { - "__id__": 223 + "__id__": 187 }, "clickEvents": [ { - "__id__": 224 + "__id__": 188 } ], "_interactable": true, @@ -5514,15 +4629,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 180 + "__id__": 144 }, "_enabled": true, "__prefab": { - "__id__": 227 + "__id__": 191 }, "_contentSize": { "__type__": "cc.Size", - "width": 300, + "width": 1120, "height": 100 }, "_anchorPoint": { @@ -5542,11 +4657,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 180 + "__id__": 144 }, "_enabled": true, "__prefab": { - "__id__": 229 + "__id__": 193 }, "_resizeMode": 1, "_layoutType": 1, @@ -5580,18 +4695,18 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 180 + "__id__": 144 }, "_enabled": true, "__prefab": { - "__id__": 231 + "__id__": 195 }, "_alignFlags": 4, "_target": null, "_left": 0, "_right": 0, "_top": 0, - "_bottom": 250, + "_bottom": 234.36700000000002, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -5630,14 +4745,14 @@ "__id__": 1 }, "_prefab": { - "__id__": 234 + "__id__": 198 }, "__editorExtras__": {} }, { "__type__": "cc.PrefabInfo", "root": { - "__id__": 233 + "__id__": 197 }, "asset": { "__uuid__": "26bff847-cd29-48a5-bbfa-c3e2dbda688d", @@ -5645,7 +4760,7 @@ }, "fileId": "5a9CMsVQhKP5Y+UJfTKPbx", "instance": { - "__id__": 235 + "__id__": 199 }, "targetOverrides": null }, @@ -5659,31 +4774,25 @@ "mountedComponents": [], "propertyOverrides": [ { - "__id__": 236 + "__id__": 200 }, { - "__id__": 238 + "__id__": 202 }, { - "__id__": 239 + "__id__": 203 }, { - "__id__": 240 + "__id__": 204 }, { - "__id__": 241 + "__id__": 205 }, { - "__id__": 242 + "__id__": 206 }, { - "__id__": 244 - }, - { - "__id__": 246 - }, - { - "__id__": 248 + "__id__": 208 } ], "removedComponents": [] @@ -5691,7 +4800,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 237 + "__id__": 201 }, "propertyPath": [ "_name" @@ -5707,7 +4816,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 237 + "__id__": 201 }, "propertyPath": [ "_lpos" @@ -5722,7 +4831,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 237 + "__id__": 201 }, "propertyPath": [ "_lrot" @@ -5738,7 +4847,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 237 + "__id__": 201 }, "propertyPath": [ "_euler" @@ -5753,7 +4862,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 237 + "__id__": 201 }, "propertyPath": [ "_active" @@ -5763,7 +4872,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 243 + "__id__": 207 }, "propertyPath": [ "_contentSize" @@ -5783,7 +4892,7 @@ { "__type__": "CCPropertyOverrideInfo", "targetInfo": { - "__id__": 245 + "__id__": 209 }, "propertyPath": [ "_contentSize" @@ -5800,48 +4909,6 @@ "9d1lAxVeZJsI6hfgmn16l0" ] }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 247 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 740.0000000000006, - "height": 1300 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "7eQv5ppk1Hpr0USxE6y7Ww", - "77N2cid5pKDpXplRH/AWEU" - ] - }, - { - "__type__": "CCPropertyOverrideInfo", - "targetInfo": { - "__id__": 249 - }, - "propertyPath": [ - "_contentSize" - ], - "value": { - "__type__": "cc.Size", - "width": 740.0000000000006, - "height": 1300 - } - }, - { - "__type__": "cc.TargetInfo", - "localID": [ - "7eQv5ppk1Hpr0USxE6y7Ww", - "fbb9ezFuVDaKU7Tqqncexy" - ] - }, { "__type__": "cc.UITransform", "_name": "", @@ -5852,7 +4919,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 251 + "__id__": 211 }, "_contentSize": { "__type__": "cc.Size", @@ -5880,7 +4947,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 253 + "__id__": 213 }, "_id": "" }, @@ -5898,7 +4965,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 255 + "__id__": 215 }, "_alignFlags": 45, "_target": null, @@ -5934,7 +5001,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 257 + "__id__": 217 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -5976,7 +5043,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 259 + "__id__": 219 }, "_id": "" }, @@ -5997,7 +5064,7 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": [ { - "__id__": 233 + "__id__": 197 } ] } diff --git a/assets/script/game/map/MissionMonComp.ts b/assets/script/game/map/MissionMonComp.ts index 14e3338d..39744ff0 100644 --- a/assets/script/game/map/MissionMonComp.ts +++ b/assets/script/game/map/MissionMonComp.ts @@ -7,7 +7,7 @@ import { HeroInfo, MonStart } from "../common/config/heroSet"; import { smc } from "../common/SingletonModuleComp"; import { GameEvent } from "../common/config/GameEvent"; import {BoxSet } from "../common/config/GameSet"; -import { BossList, BossSpawnCd, MonList, MonType, SpawnBaseCd, SpawnMinCd, SpawnPowerBias, SpawnStageReduce, StageBossGrow, StageDuration, StageGrow, UpType } from "./RogueConfig"; +import { BossList, BossSpawnTimeline, MonList, MonType, SpawnBaseCd, SpawnMinCd, SpawnPowerBias, SpawnStageReduce, StageBossGrow, StageDuration, StageGrow, UpType } from "./RogueConfig"; import { HeroAttrsComp } from "../hero/HeroAttrsComp"; import { MoveComp } from "../hero/MoveComp"; const { ccclass, property } = _decorator; @@ -36,8 +36,7 @@ export class MissionMonCompComp extends CCComp { private waveTimer: number = 0; /** 插队刷怪处理计时器 */ private queueTimer: number = 0; - /** Boss 刷新计时器 */ - private bossTimer: number = 0; + private nextBossSpawnIndex: number = 0; onLoad(){ // 关卡准备、切换波次时重置刷怪状态 this.on(GameEvent.FightReady,this.fight_ready,this) @@ -72,7 +71,7 @@ export class MissionMonCompComp extends CCComp { this.gameTime = 0 this.waveTimer = 0 this.queueTimer = 0 - this.bossTimer = 0 + this.nextBossSpawnIndex = 0 this.MonQueue = [] this.spawnCount = 0 @@ -84,15 +83,14 @@ export class MissionMonCompComp extends CCComp { if(!smc.mission.play) return if(smc.mission.pause) return if(smc.mission.stop_mon_action) return; - if(smc.mission.stop_spawn_mon) return; if(!smc.mission.in_fight) return; // 计时推进:所有“按时间驱动”的曲线都依赖 gameTime this.gameTime += dt; - // 刷怪优先级:特殊队列 > 普通怪 > Boss(都满足条件时同帧可连续执行) + this.updateBossSpawn(); + if(smc.mission.stop_spawn_mon) return; this.updateSpecialQueue(dt); this.updateNormalSpawn(dt); - this.updateBossSpawn(dt); } @@ -124,15 +122,17 @@ export class MissionMonCompComp extends CCComp { this.spawnCount += 1; } - private updateBossSpawn(dt: number) { - this.bossTimer += dt; - // Boss 按固定周期出现,不受普通怪 CD 影响 - if (this.bossTimer < BossSpawnCd) return; - this.bossTimer = 0; - const uuid = this.getRandomBossUuid(); - const upType = this.getRandomUpType(); - this.addMonster(uuid, this.spawnCount, true, upType); - this.spawnCount += 1; + private updateBossSpawn() { + while ( + this.nextBossSpawnIndex < BossSpawnTimeline.length && + this.gameTime >= BossSpawnTimeline[this.nextBossSpawnIndex] + ) { + const uuid = this.getRandomBossUuid(); + const upType = this.getRandomUpType(); + this.addMonster(uuid, this.spawnCount, true, upType); + this.spawnCount += 1; + this.nextBossSpawnIndex += 1; + } } private getCurrentStage(): number { diff --git a/assets/script/game/map/RogueConfig.ts b/assets/script/game/map/RogueConfig.ts index 385ba230..8efdc2df 100644 --- a/assets/script/game/map/RogueConfig.ts +++ b/assets/script/game/map/RogueConfig.ts @@ -33,6 +33,6 @@ export const StageDuration = 30 export const SpawnBaseCd = 1.6 export const SpawnMinCd = 0.5 export const SpawnStageReduce = 0.08 -export const BossSpawnCd = 90 +export const BossSpawnTimeline = [60, 120, 180, 240, 300] export const SpawnPowerBias = 1