From a9e940b1665232d46ef917933945ff8a4a06563c Mon Sep 17 00:00:00 2001 From: panw Date: Fri, 29 Aug 2025 16:01:39 +0800 Subject: [PATCH] dd --- assets/resources/gui/Hinfo.prefab | 10 +- .../resources/loading/prefab/loading.prefab | 730 +++++++++++++++--- assets/script/game/common/config/heroSet.ts | 24 +- assets/script/game/map/HInfoComp.ts | 4 +- 4 files changed, 631 insertions(+), 137 deletions(-) diff --git a/assets/resources/gui/Hinfo.prefab b/assets/resources/gui/Hinfo.prefab index 96b9d1b5..82ef8883 100644 --- a/assets/resources/gui/Hinfo.prefab +++ b/assets/resources/gui/Hinfo.prefab @@ -25061,7 +25061,7 @@ "__id__": 1091 }, "_children": [], - "_active": true, + "_active": false, "_components": [ { "__id__": 1099 @@ -25796,7 +25796,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 309.6, + "y": 447.384, "z": 0 }, "_lrot": { @@ -26002,7 +26002,7 @@ "_target": null, "_left": 0, "_right": 0, - "_top": 100, + "_top": -37.78399999999996, "_bottom": 0, "_horizontalCenter": 0, "_verticalCenter": 0, @@ -26048,7 +26048,7 @@ "__id__": 1144 } ], - "_active": false, + "_active": true, "_components": [ { "__id__": 1150 @@ -26195,7 +26195,7 @@ "b": 255, "a": 255 }, - "_string": "解锁", + "_string": "招募", "_horizontalAlign": 1, "_verticalAlign": 1, "_actualFontSize": 45, diff --git a/assets/resources/loading/prefab/loading.prefab b/assets/resources/loading/prefab/loading.prefab index 3bdb6ccb..d0bdc1c2 100644 --- a/assets/resources/loading/prefab/loading.prefab +++ b/assets/resources/loading/prefab/loading.prefab @@ -25,26 +25,29 @@ "__id__": 10 }, { - "__id__": 18 + "__id__": 20 }, { - "__id__": 24 - } - ], - "_active": true, - "_components": [ - { - "__id__": 78 - }, - { - "__id__": 80 + "__id__": 28 }, { "__id__": 82 } ], + "_active": true, + "_components": [ + { + "__id__": 98 + }, + { + "__id__": 100 + }, + { + "__id__": 102 + } + ], "_prefab": { - "__id__": 84 + "__id__": 104 }, "_lpos": { "__type__": "cc.Vec3", @@ -269,10 +272,13 @@ }, { "__id__": 15 + }, + { + "__id__": 17 } ], "_prefab": { - "__id__": 17 + "__id__": 19 }, "_lpos": { "__type__": "cc.Vec3", @@ -412,6 +418,42 @@ "__type__": "cc.CompPrefabInfo", "fileId": "9dDyTqv/NOXo8i8pSRqAeV" }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 10 + }, + "_enabled": true, + "__prefab": { + "__id__": 18 + }, + "_alignFlags": 0, + "_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": 0, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "aeFyd4omtAf5lxbKXNNmFj" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -437,19 +479,22 @@ "_active": true, "_components": [ { - "__id__": 19 + "__id__": 21 }, { - "__id__": 21 + "__id__": 23 + }, + { + "__id__": 25 } ], "_prefab": { - "__id__": 23 + "__id__": 27 }, "_lpos": { "__type__": "cc.Vec3", "x": -1.052, - "y": 188.604, + "y": 400, "z": 0 }, "_lrot": { @@ -481,11 +526,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 18 + "__id__": 20 }, "_enabled": true, "__prefab": { - "__id__": 20 + "__id__": 22 }, "_contentSize": { "__type__": "cc.Size", @@ -509,11 +554,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 18 + "__id__": 20 }, "_enabled": true, "__prefab": { - "__id__": 22 + "__id__": 24 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -551,6 +596,42 @@ "__type__": "cc.CompPrefabInfo", "fileId": "30mkWlnGVJOrpGmFdDAZBK" }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 20 + }, + "_enabled": true, + "__prefab": { + "__id__": 26 + }, + "_alignFlags": 2, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 400, + "_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": "6aDD9Yj0RIHplo9L7nkr1g" + }, { "__type__": "cc.PrefabInfo", "root": { @@ -574,29 +655,23 @@ }, "_children": [ { - "__id__": 25 + "__id__": 29 }, { - "__id__": 31 + "__id__": 35 }, { - "__id__": 41 + "__id__": 45 }, { - "__id__": 49 + "__id__": 53 }, { - "__id__": 57 + "__id__": 61 } ], "_active": true, "_components": [ - { - "__id__": 67 - }, - { - "__id__": 69 - }, { "__id__": 71 }, @@ -605,15 +680,21 @@ }, { "__id__": 75 + }, + { + "__id__": 77 + }, + { + "__id__": 79 } ], "_prefab": { - "__id__": 77 + "__id__": 81 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -527.5, + "y": 0, "z": 0 }, "_lrot": { @@ -645,20 +726,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 24 + "__id__": 28 }, "_children": [], "_active": true, "_components": [ { - "__id__": 26 + "__id__": 30 }, { - "__id__": 28 + "__id__": 32 } ], "_prefab": { - "__id__": 30 + "__id__": 34 }, "_lpos": { "__type__": "cc.Vec3", @@ -695,11 +776,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 25 + "__id__": 29 }, "_enabled": true, "__prefab": { - "__id__": 27 + "__id__": 31 }, "_contentSize": { "__type__": "cc.Size", @@ -723,11 +804,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 25 + "__id__": 29 }, "_enabled": true, "__prefab": { - "__id__": 29 + "__id__": 33 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -781,26 +862,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 24 + "__id__": 28 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 32 - }, - { - "__id__": 34 - }, { "__id__": 36 }, { "__id__": 38 + }, + { + "__id__": 40 + }, + { + "__id__": 42 } ], "_prefab": { - "__id__": 40 + "__id__": 44 }, "_lpos": { "__type__": "cc.Vec3", @@ -837,11 +918,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 31 + "__id__": 35 }, "_enabled": true, "__prefab": { - "__id__": 33 + "__id__": 37 }, "_contentSize": { "__type__": "cc.Size", @@ -865,11 +946,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 31 + "__id__": 35 }, "_enabled": true, "__prefab": { - "__id__": 35 + "__id__": 39 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -933,11 +1014,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 31 + "__id__": 35 }, "_enabled": true, "__prefab": { - "__id__": 37 + "__id__": 41 }, "_id": "" }, @@ -951,11 +1032,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 31 + "__id__": 35 }, "_enabled": true, "__prefab": { - "__id__": 39 + "__id__": 43 }, "templateMode": true, "watchPath": "", @@ -988,23 +1069,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 24 + "__id__": 28 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 42 - }, - { - "__id__": 44 - }, { "__id__": 46 + }, + { + "__id__": 48 + }, + { + "__id__": 50 } ], "_prefab": { - "__id__": 48 + "__id__": 52 }, "_lpos": { "__type__": "cc.Vec3", @@ -1041,11 +1122,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 41 + "__id__": 45 }, "_enabled": true, "__prefab": { - "__id__": 43 + "__id__": 47 }, "_contentSize": { "__type__": "cc.Size", @@ -1069,11 +1150,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 41 + "__id__": 45 }, "_enabled": true, "__prefab": { - "__id__": 45 + "__id__": 49 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1114,11 +1195,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 41 + "__id__": 45 }, "_enabled": true, "__prefab": { - "__id__": 47 + "__id__": 51 }, "_alignFlags": 45, "_target": null, @@ -1163,23 +1244,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 24 + "__id__": 28 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 50 - }, - { - "__id__": 52 - }, { "__id__": 54 + }, + { + "__id__": 56 + }, + { + "__id__": 58 } ], "_prefab": { - "__id__": 56 + "__id__": 60 }, "_lpos": { "__type__": "cc.Vec3", @@ -1216,11 +1297,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 49 + "__id__": 53 }, "_enabled": true, "__prefab": { - "__id__": 51 + "__id__": 55 }, "_contentSize": { "__type__": "cc.Size", @@ -1244,11 +1325,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 49 + "__id__": 53 }, "_enabled": true, "__prefab": { - "__id__": 53 + "__id__": 57 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1289,11 +1370,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 49 + "__id__": 53 }, "_enabled": true, "__prefab": { - "__id__": 55 + "__id__": 59 }, "playOnLoad": true, "_clips": [ @@ -1331,26 +1412,26 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 24 + "__id__": 28 }, "_children": [], "_active": true, "_components": [ - { - "__id__": 58 - }, - { - "__id__": 60 - }, { "__id__": 62 }, { "__id__": 64 + }, + { + "__id__": 66 + }, + { + "__id__": 68 } ], "_prefab": { - "__id__": 66 + "__id__": 70 }, "_lpos": { "__type__": "cc.Vec3", @@ -1387,11 +1468,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 57 + "__id__": 61 }, "_enabled": true, "__prefab": { - "__id__": 59 + "__id__": 63 }, "_contentSize": { "__type__": "cc.Size", @@ -1415,11 +1496,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 57 + "__id__": 61 }, "_enabled": true, "__prefab": { - "__id__": 61 + "__id__": 65 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1483,11 +1564,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 57 + "__id__": 61 }, "_enabled": true, "__prefab": { - "__id__": 63 + "__id__": 67 }, "_id": "" }, @@ -1501,11 +1582,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 57 + "__id__": 61 }, "_enabled": true, "__prefab": { - "__id__": 65 + "__id__": 69 }, "templateMode": false, "watchPath": "*.prompt", @@ -1536,11 +1617,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 24 + "__id__": 28 }, "_enabled": true, "__prefab": { - "__id__": 68 + "__id__": 72 }, "_contentSize": { "__type__": "cc.Size", @@ -1564,11 +1645,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 24 + "__id__": 28 }, "_enabled": true, "__prefab": { - "__id__": 70 + "__id__": 74 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1609,14 +1690,14 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 24 + "__id__": 28 }, "_enabled": true, "__prefab": { - "__id__": 72 + "__id__": 76 }, "_barSprite": { - "__id__": 28 + "__id__": 32 }, "_mode": 2, "_totalLength": 1, @@ -1634,11 +1715,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 24 + "__id__": 28 }, "_enabled": true, "__prefab": { - "__id__": 74 + "__id__": 78 }, "controller": false, "watchPath": "", @@ -1662,18 +1743,18 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 24 + "__id__": 28 }, "_enabled": true, "__prefab": { - "__id__": 76 + "__id__": 80 }, - "_alignFlags": 4, + "_alignFlags": 2, "_target": null, "_left": 0, "_right": 0, "_top": 0, - "_bottom": 97.5, + "_bottom": 506.488, "_horizontalCenter": 0, "_verticalCenter": 0, "_isAbsLeft": true, @@ -1705,6 +1786,419 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "Node", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 83 + }, + { + "__id__": 89 + } + ], + "_active": true, + "_components": [ + { + "__id__": 95 + } + ], + "_prefab": { + "__id__": 97 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -120.108, + "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": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "title", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 82 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 84 + }, + { + "__id__": 86 + } + ], + "_prefab": { + "__id__": 88 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -137.413, + "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": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 83 + }, + "_enabled": true, + "__prefab": { + "__id__": 85 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 244, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d2yzkq7eBBD47RDwrLS2gj" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 83 + }, + "_enabled": true, + "__prefab": { + "__id__": 87 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "健康游戏忠告", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 40, + "_fontSize": 40, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_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": "60d3nZcypCUJcdb90sK20e" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "42sadk+kZP0Lpt9E01/3An", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "con", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 82 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 90 + }, + { + "__id__": 92 + } + ], + "_prefab": { + "__id__": 94 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -251.652, + "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": 33554432, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 89 + }, + "_enabled": true, + "__prefab": { + "__id__": 91 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 494, + "height": 174.39999999999998 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e8ZG2Fy8VNbJsQu69i0gPi" + }, + { + "__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": "抵制不良游戏,拒绝盗版游戏。\n注意自我保护,谨防受骗上当。\n适度游戏益脑,沉迷游戏伤身。\n合理安排时间,享受健康生活。", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 35, + "_fontSize": 35, + "_fontFamily": "Arial", + "_lineHeight": 40, + "_overflow": 0, + "_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": "fewRE+xAxE/6DWaAgaJNok" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "7birKlHpRBJ7ANQ/6LjZ/g", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 82 + }, + "_enabled": true, + "__prefab": { + "__id__": 96 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "10OuKEtStKV79XAz9S8qrN" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0eDR4gyz1KfrPBkZih5IXD", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "loading", @@ -1715,7 +2209,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 79 + "__id__": 99 }, "_contentSize": { "__type__": "cc.Size", @@ -1743,7 +2237,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 81 + "__id__": 101 }, "_alignFlags": 45, "_target": null, @@ -1779,7 +2273,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 83 + "__id__": 103 }, "_id": "" }, diff --git a/assets/script/game/common/config/heroSet.ts b/assets/script/game/common/config/heroSet.ts index 79d065b9..60e34aef 100644 --- a/assets/script/game/common/config/heroSet.ts +++ b/assets/script/game/common/config/heroSet.ts @@ -97,44 +97,44 @@ export const HeroInfo = { //主将 5001:{uuid:5001,name:"火焰骑士",path:"hk1", fac:FacSet.HERO, quality:QualitySet.GREEN,lv:1,kind:1, type:HType.warrior,hp:100,ap:15,dis:100,cd:1,speed:150,skills:[6001,6001], - buff:[],info:"剑类专精,穿刺伤害额外+10%"}, + buff:[],info:""}, - 5002:{uuid:5002,name:"hk1",path:"hk1", fac:FacSet.HERO, quality:QualitySet.BLUE,lv:1,kind:1, + 5002:{uuid:5002,name:"刺客",path:"hc1", fac:FacSet.HERO, quality:QualitySet.BLUE,lv:1,kind:1, type:HType.warrior,hp:100,ap:15,dis:100,cd:1,speed:150,skills:[6001,6001], - buff:[],info:"斧类专精,风怒概率增加10%"}, + buff:[],info:""}, // 5003:{uuid:5003,name:"碎颅.赫克托",path:"k4", quality:QualitySet.BLUE,lv:1,kind:1, // type:HType.warrior,hp:100,ap:15,dis:400,cd:1,speed:100,skills:[6010,6021,6001], -// buff:[],info:"锤类专精,暴击概率增加10%"}, +// buff:[],info:""}, // 5004:{uuid:5004,name:"裂伤.塔米拉",path:"k3", quality:QualitySet.BLUE,lv:1,kind:1, // type:HType.warrior,hp:100,ap:15,dis:400,cd:1,speed:100,skills:[6010,6021,6001], -// buff:[],info:"刀类专精,易伤效果额外持续1次"}, +// buff:[],info:""}, 5005:{uuid:5005,name:"ha1",path:"ha1", fac:FacSet.HERO, quality:QualitySet.BLUE,lv:1,kind:2, type:HType.remote,hp:100,ap:15,dis:400,cd:1,speed:100,skills:[6003,6003], - buff:[],info:"说明"}, + buff:[],info:""}, 5007:{uuid:5007,name:"mh1",path:"hmh1", fac:FacSet.HERO, quality:QualitySet.PURPLE,lv:1,kind:2, type:HType.mage,hp:100,ap:15,dis:400,cd:1,speed:100,skills:[6004], - buff:[],info:"说明"}, + buff:[],info:""}, - 5008:{uuid:5008,name:"mf1",path:"hmf1", fac:FacSet.HERO, quality:QualitySet.BLUE,lv:1,kind:2, + 5008:{uuid:5008,name:"",path:"hmf1", fac:FacSet.HERO, quality:QualitySet.BLUE,lv:1,kind:2, type:HType.mage,hp:100,ap:15,dis:400,cd:1.5,speed:100,skills:[6005], - buff:[],info:"说明"}, + buff:[],info:""}, 5009:{uuid:5009,name:"风暴精灵",path:"hk1", fac:FacSet.HERO, quality:QualitySet.BLUE,lv:1,kind:2, type:HType.mage,hp:100,ap:15,dis:400,cd:1.5,speed:100,skills:[6006], - buff:[],info:"说明"}, + buff:[],info:""}, 5010:{uuid:5010,name:"战争祭祀",path:"hk1", fac:FacSet.HERO, quality:QualitySet.ORANGE,lv:1,kind:2, type:HType.mage,hp:100,ap:15,dis:400,cd:1.5,speed:100,skills:[6007], - buff:[],info:"说明"}, + buff:[],info:""}, 5011:{uuid:5011,name:"ha2",path:"ha2", fac:FacSet.HERO, quality:QualitySet.BLUE,lv:1,kind:2, type:HType.remote,hp:100,ap:15,dis:400,cd:1,speed:100,skills:[6003], - buff:[],info:"说明"}, + buff:[],info:""}, //怪物 diff --git a/assets/script/game/map/HInfoComp.ts b/assets/script/game/map/HInfoComp.ts index 7758b231..02623cf3 100644 --- a/assets/script/game/map/HInfoComp.ts +++ b/assets/script/game/map/HInfoComp.ts @@ -91,10 +91,10 @@ export class HInfoComp extends Component { } if(!smc.addHero(this.h_uuid)){ smc.addItem(need_item.i_uuid,need_item.num,false) - oops.gui.toast("英雄< "+HeroInfo[this.h_uuid].name+" >解锁失败") + oops.gui.toast("英雄< "+HeroInfo[this.h_uuid].name+" >招募失败") return } - oops.gui.toast("英雄< "+HeroInfo[this.h_uuid].name+" >解锁成功") + oops.gui.toast("英雄< "+HeroInfo[this.h_uuid].name+" >招募成功") finishCurrGuide(4) startGuide(5) this.update_data(this.h_uuid)