From 5e47919e5b810e5b297ca3b0ef717cc81c930e3c Mon Sep 17 00:00:00 2001 From: walkpan Date: Fri, 27 Mar 2026 20:04:20 +0800 Subject: [PATCH] =?UTF-8?q?feat(game):=20=E4=B8=BA=E6=8A=80=E8=83=BD?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=E6=B7=BB=E5=8A=A0=E7=B1=BB=E5=9E=8B=E5=AD=97?= =?UTF-8?q?=E6=AE=B5=E5=B9=B6=E5=AE=8C=E5=96=84=E4=BF=A1=E6=81=AF=E6=A1=86?= =?UTF-8?q?=E4=BA=A4=E4=BA=92?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 在 SkillSet 中新增 IType 枚举定义技能类型(近战/远程/辅助) - 为所有技能配置添加 IType 字段 - 在 IBoxComp 中添加英雄名称显示和点击关闭功能 --- assets/resources/gui/element/ibox.prefab | 3277 ++++++++++++++---- assets/script/game/common/config/SkillSet.ts | 62 +- assets/script/game/map/IBoxComp.ts | 31 +- 3 files changed, 2575 insertions(+), 795 deletions(-) diff --git a/assets/resources/gui/element/ibox.prefab b/assets/resources/gui/element/ibox.prefab index 92ae5999..4cedd36a 100644 --- a/assets/resources/gui/element/ibox.prefab +++ b/assets/resources/gui/element/ibox.prefab @@ -22,26 +22,26 @@ "__id__": 2 }, { - "__id__": 10 + "__id__": 24 } ], "_active": true, "_components": [ { - "__id__": 118 + "__id__": 192 }, { - "__id__": 120 + "__id__": 194 }, { - "__id__": 122 + "__id__": 196 }, { - "__id__": 124 + "__id__": 198 } ], "_prefab": { - "__id__": 126 + "__id__": 200 }, "_lpos": { "__type__": "cc.Vec3", @@ -80,21 +80,25 @@ "_parent": { "__id__": 1 }, - "_children": [], + "_children": [ + { + "__id__": 3 + } + ], "_active": true, "_components": [ { - "__id__": 3 + "__id__": 17 }, { - "__id__": 5 + "__id__": 19 }, { - "__id__": 7 + "__id__": 21 } ], "_prefab": { - "__id__": 9 + "__id__": 23 }, "_lpos": { "__type__": "cc.Vec3", @@ -125,6 +129,347 @@ }, "_id": "" }, + { + "__type__": "cc.Node", + "_name": "name", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 2 + }, + "_children": [ + { + "__id__": 4 + } + ], + "_active": true, + "_components": [ + { + "__id__": 10 + }, + { + "__id__": 12 + }, + { + "__id__": 14 + } + ], + "_prefab": { + "__id__": 16 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -195.637, + "y": 94.223, + "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": "val", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 3 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 5 + }, + { + "__id__": 7 + } + ], + "_prefab": { + "__id__": 9 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 2.428, + "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__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 103.5999755859375, + "height": 54.4 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "89yskQyxVP3Is2NsisM2Vr" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 4 + }, + "_enabled": true, + "__prefab": { + "__id__": 8 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "这是名字", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 24.9, + "_fontSize": 24.9, + "_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": "781zb0grhDv4AOZT0BVdxZ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "9c4cB1VTJCrLHCJOg6oV7L", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 200, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "01MW+K2rlDHKCf4gbiATww" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "_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": 1, + "_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": "7d5NPWIM1L96hiaEfOEgAk" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 3 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "_alignFlags": 1, + "_target": null, + "_left": 0, + "_right": 0, + "_top": -19.223, + "_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": "73eHsPVmxJBYuKtQ/sRQlx" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0d5hyBXC1HQpFyzf/6ZWeI", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -135,12 +480,12 @@ }, "_enabled": true, "__prefab": { - "__id__": 4 + "__id__": 18 }, "_contentSize": { "__type__": "cc.Size", "width": 700, - "height": 150 + "height": 200 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -163,7 +508,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 6 + "__id__": 20 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -211,14 +556,14 @@ }, "_enabled": true, "__prefab": { - "__id__": 8 + "__id__": 22 }, "_alignFlags": 18, "_target": null, "_left": 330, "_right": 330, "_top": 610, - "_bottom": 610, + "_bottom": 630, "_horizontalCenter": 0, "_verticalCenter": 125, "_isAbsLeft": true, @@ -260,40 +605,40 @@ }, "_children": [ { - "__id__": 11 + "__id__": 25 }, { - "__id__": 31 + "__id__": 57 }, { - "__id__": 51 + "__id__": 89 }, { - "__id__": 71 + "__id__": 121 }, { - "__id__": 91 + "__id__": 153 } ], "_active": true, "_components": [ { - "__id__": 111 + "__id__": 185 }, { - "__id__": 113 + "__id__": 187 }, { - "__id__": 115 + "__id__": 189 } ], "_prefab": { - "__id__": 117 + "__id__": 191 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 125, + "y": 115, "z": 0 }, "_lrot": { @@ -325,32 +670,38 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 10 + "__id__": 24 }, "_children": [ { - "__id__": 12 + "__id__": 26 }, { - "__id__": 18 + "__id__": 32 + }, + { + "__id__": 38 + }, + { + "__id__": 44 } ], "_active": true, "_components": [ { - "__id__": 26 + "__id__": 52 }, { - "__id__": 28 + "__id__": 54 } ], "_prefab": { - "__id__": 30 + "__id__": 56 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": 25, + "y": 100, "z": 0 }, "_lrot": { @@ -378,28 +729,28 @@ }, { "__type__": "cc.Node", - "_name": "icon", + "_name": "Melee", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 11 + "__id__": 25 }, "_children": [], "_active": true, "_components": [ { - "__id__": 13 + "__id__": 27 }, { - "__id__": 15 + "__id__": 29 } ], "_prefab": { - "__id__": 17 + "__id__": 31 }, "_lpos": { "__type__": "cc.Vec3", - "x": -277.081, + "x": -297.791, "y": 0, "z": 0 }, @@ -432,11 +783,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 12 + "__id__": 26 }, "_enabled": true, "__prefab": { - "__id__": 14 + "__id__": 28 }, "_contentSize": { "__type__": "cc.Size", @@ -460,11 +811,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 12 + "__id__": 26 }, "_enabled": true, "__prefab": { - "__id__": 16 + "__id__": 30 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -514,31 +865,309 @@ }, { "__type__": "cc.Node", - "_name": "note", + "_name": "remote", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 11 + "__id__": 25 }, "_children": [], "_active": true, "_components": [ { - "__id__": 19 + "__id__": 33 }, { - "__id__": 21 - }, - { - "__id__": 23 + "__id__": 35 } ], "_prefab": { - "__id__": 25 + "__id__": 37 }, "_lpos": { "__type__": "cc.Vec3", - "x": -230, + "x": -297.791, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.35, + "y": 0.35, + "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__": 32 + }, + "_enabled": true, + "__prefab": { + "__id__": 34 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 108, + "height": 112 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ceU2A0NLJD5LkwOXsrDc0Q" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 32 + }, + "_enabled": true, + "__prefab": { + "__id__": 36 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@a8a88", + "__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": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d1e81uWLNF3rlF6LWbmAuD" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "32Ve79beZKCr3OrM2wCZny", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "support", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 25 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 39 + }, + { + "__id__": 41 + } + ], + "_prefab": { + "__id__": 43 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -297.791, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.35, + "y": 0.35, + "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__": 38 + }, + "_enabled": true, + "__prefab": { + "__id__": 40 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 108, + "height": 112 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "21HQDfezVHAI0JBp/R2Rj7" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 38 + }, + "_enabled": true, + "__prefab": { + "__id__": 42 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@a8a88", + "__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": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b3tFBUe8FC0Z2c33BjoXM7" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4f6elm/81FGpcbNjC5BLNi", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "note", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 25 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 45 + }, + { + "__id__": 47 + }, + { + "__id__": 49 + } + ], + "_prefab": { + "__id__": 51 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -270, "y": 0, "z": 0 }, @@ -571,15 +1200,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 18 + "__id__": 44 }, "_enabled": true, "__prefab": { - "__id__": 20 + "__id__": 46 }, "_contentSize": { "__type__": "cc.Size", - "width": 535, + "width": 600, "height": 50.4 }, "_anchorPoint": { @@ -599,11 +1228,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 18 + "__id__": 44 }, "_enabled": true, "__prefab": { - "__id__": 22 + "__id__": 48 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -618,12 +1247,12 @@ "_string": "这里是说明", "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 26, + "_actualFontSize": 25, "_fontSize": 25, "_fontFamily": "Arial", "_lineHeight": 28, "_overflow": 2, - "_enableWrapText": true, + "_enableWrapText": false, "_font": null, "_isSystemFontUsed": true, "_spacingX": 0, @@ -667,16 +1296,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 18 + "__id__": 44 }, "_enabled": true, "__prefab": { - "__id__": 24 + "__id__": 50 }, "_alignFlags": 40, "_target": null, - "_left": 75, - "_right": 0, + "_left": 55, + "_right": -5, "_top": 0, "_bottom": 0, "_horizontalCenter": 0, @@ -716,15 +1345,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 11 + "__id__": 25 }, "_enabled": true, "__prefab": { - "__id__": 27 + "__id__": 53 }, "_contentSize": { "__type__": "cc.Size", - "width": 610, + "width": 650, "height": 40 }, "_anchorPoint": { @@ -744,16 +1373,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 11 + "__id__": 25 }, "_enabled": true, "__prefab": { - "__id__": 29 + "__id__": 55 }, "_alignFlags": 40, "_target": null, - "_left": 20, - "_right": 20, + "_left": 0, + "_right": 0, "_top": 0, "_bottom": 0, "_horizontalCenter": 0, @@ -793,32 +1422,38 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 10 + "__id__": 24 }, "_children": [ { - "__id__": 32 + "__id__": 58 }, { - "__id__": 38 + "__id__": 66 + }, + { + "__id__": 72 + }, + { + "__id__": 78 } ], "_active": true, "_components": [ { - "__id__": 46 + "__id__": 84 }, { - "__id__": 48 + "__id__": 86 } ], "_prefab": { - "__id__": 50 + "__id__": 88 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -25, + "y": 50, "z": 0 }, "_lrot": { @@ -844,172 +1479,33 @@ }, "_id": "" }, - { - "__type__": "cc.Node", - "_name": "icon", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 31 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 33 - }, - { - "__id__": 35 - } - ], - "_prefab": { - "__id__": 37 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -277.081, - "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__": 32 - }, - "_enabled": true, - "__prefab": { - "__id__": 34 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "a2snnhvRZAPquhyq4VbPoY" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 32 - }, - "_enabled": true, - "__prefab": { - "__id__": 36 - }, - "_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@7a4bc", - "__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": "99EJq3ZkFDK5YnOUKXGF4K" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "6d6d89p6NPA7W4HuPb4oKL", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, { "__type__": "cc.Node", "_name": "note", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 31 + "__id__": 57 }, "_children": [], "_active": true, "_components": [ { - "__id__": 39 + "__id__": 59 }, { - "__id__": 41 + "__id__": 61 }, { - "__id__": 43 + "__id__": 63 } ], "_prefab": { - "__id__": 45 + "__id__": 65 }, "_lpos": { "__type__": "cc.Vec3", - "x": -230, + "x": -270, "y": 0, "z": 0 }, @@ -1042,15 +1538,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 38 + "__id__": 58 }, "_enabled": true, "__prefab": { - "__id__": 40 + "__id__": 60 }, "_contentSize": { "__type__": "cc.Size", - "width": 535, + "width": 600, "height": 50.4 }, "_anchorPoint": { @@ -1070,11 +1566,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 38 + "__id__": 58 }, "_enabled": true, "__prefab": { - "__id__": 42 + "__id__": 62 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1089,12 +1585,12 @@ "_string": "这里是说明", "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 26, + "_actualFontSize": 25, "_fontSize": 25, "_fontFamily": "Arial", "_lineHeight": 28, "_overflow": 2, - "_enableWrapText": true, + "_enableWrapText": false, "_font": null, "_isSystemFontUsed": true, "_spacingX": 0, @@ -1138,16 +1634,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 38 + "__id__": 58 }, "_enabled": true, "__prefab": { - "__id__": 44 + "__id__": 64 }, "_alignFlags": 40, "_target": null, - "_left": 75, - "_right": 0, + "_left": 55, + "_right": -5, "_top": 0, "_bottom": 0, "_horizontalCenter": 0, @@ -1181,21 +1677,435 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "Melee", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 57 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 67 + }, + { + "__id__": 69 + } + ], + "_prefab": { + "__id__": 71 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -297.791, + "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__": 31 + "__id__": 66 }, "_enabled": true, "__prefab": { - "__id__": 47 + "__id__": 68 }, "_contentSize": { "__type__": "cc.Size", - "width": 610, + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "fftG6imoFDXrAPIbvf7xQS" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 66 + }, + "_enabled": true, + "__prefab": { + "__id__": 70 + }, + "_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@8a9eb", + "__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": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f8M+jiNJlM9brql1EPBawQ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ecZj5PrYpPOb13RQpdRVuy", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "support", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 57 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 73 + }, + { + "__id__": 75 + } + ], + "_prefab": { + "__id__": 77 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -297.791, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.35, + "y": 0.35, + "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__": 72 + }, + "_enabled": true, + "__prefab": { + "__id__": 74 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 108, + "height": 112 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d1rft88EpCjZUqVvguJjSe" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 72 + }, + "_enabled": true, + "__prefab": { + "__id__": 76 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@a8a88", + "__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": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "776R6F4iJNtKvwTs9UdTl0" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "fflN5O5AxAkaCWljpUP43f", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "remote", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 57 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 79 + }, + { + "__id__": 81 + } + ], + "_prefab": { + "__id__": 83 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -297.791, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.35, + "y": 0.35, + "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__": 78 + }, + "_enabled": true, + "__prefab": { + "__id__": 80 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 108, + "height": 112 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "80TiehYg5BTLkf0PsLrYvZ" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 78 + }, + "_enabled": true, + "__prefab": { + "__id__": 82 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@a8a88", + "__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": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "bbbYzbxG9M/7cjZSIGHyy0" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "95HEjYPodJ3pg0yAiEeMfy", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 57 + }, + "_enabled": true, + "__prefab": { + "__id__": 85 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 650, "height": 40 }, "_anchorPoint": { @@ -1215,16 +2125,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 31 + "__id__": 57 }, "_enabled": true, "__prefab": { - "__id__": 49 + "__id__": 87 }, "_alignFlags": 40, "_target": null, - "_left": 20, - "_right": 20, + "_left": 0, + "_right": 0, "_top": 0, "_bottom": 0, "_horizontalCenter": 0, @@ -1264,81 +2174,37 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 10 + "__id__": 24 }, "_children": [ { - "__id__": 52 + "__id__": 90 }, { - "__id__": 58 - } - ], - "_active": false, - "_components": [ - { - "__id__": 66 + "__id__": 98 }, { - "__id__": 68 + "__id__": 104 + }, + { + "__id__": 110 } ], - "_prefab": { - "__id__": 70 - }, - "_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": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.Node", - "_name": "icon", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 51 - }, - "_children": [], "_active": true, "_components": [ { - "__id__": 53 + "__id__": 116 }, { - "__id__": 55 + "__id__": 118 } ], "_prefab": { - "__id__": 57 + "__id__": 120 }, "_lpos": { "__type__": "cc.Vec3", - "x": -277.081, + "x": 0, "y": 0, "z": 0 }, @@ -1365,122 +2231,33 @@ }, "_id": "" }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 52 - }, - "_enabled": true, - "__prefab": { - "__id__": 54 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "21pRZAUMBIpLQRc2M4Kaqu" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 52 - }, - "_enabled": true, - "__prefab": { - "__id__": 56 - }, - "_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@7a4bc", - "__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": "acGJMktutMLI8C+tcwu+qd" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "dbdAhijSVPt5SCqVtHQ21b", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, { "__type__": "cc.Node", "_name": "note", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 51 + "__id__": 89 }, "_children": [], "_active": true, "_components": [ { - "__id__": 59 + "__id__": 91 }, { - "__id__": 61 + "__id__": 93 }, { - "__id__": 63 + "__id__": 95 } ], "_prefab": { - "__id__": 65 + "__id__": 97 }, "_lpos": { "__type__": "cc.Vec3", - "x": -235, + "x": -270, "y": 0, "z": 0 }, @@ -1513,15 +2290,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 58 + "__id__": 90 }, "_enabled": true, "__prefab": { - "__id__": 60 + "__id__": 92 }, "_contentSize": { "__type__": "cc.Size", - "width": 545, + "width": 600, "height": 50.4 }, "_anchorPoint": { @@ -1541,11 +2318,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 58 + "__id__": 90 }, "_enabled": true, "__prefab": { - "__id__": 62 + "__id__": 94 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -1560,12 +2337,12 @@ "_string": "这里是说明", "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 26, + "_actualFontSize": 25, "_fontSize": 25, "_fontFamily": "Arial", "_lineHeight": 28, "_overflow": 2, - "_enableWrapText": true, + "_enableWrapText": false, "_font": null, "_isSystemFontUsed": true, "_spacingX": 0, @@ -1609,16 +2386,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 58 + "__id__": 90 }, "_enabled": true, "__prefab": { - "__id__": 64 + "__id__": 96 }, "_alignFlags": 40, "_target": null, - "_left": 75, - "_right": 0, + "_left": 55, + "_right": -5, "_top": 0, "_bottom": 0, "_horizontalCenter": 0, @@ -1652,21 +2429,435 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "Melee", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 89 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 99 + }, + { + "__id__": 101 + } + ], + "_prefab": { + "__id__": 103 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -297.791, + "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__": 51 + "__id__": 98 }, "_enabled": true, "__prefab": { - "__id__": 67 + "__id__": 100 }, "_contentSize": { "__type__": "cc.Size", - "width": 620, + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8fQhko1SNA75udJ/oPJ3Mf" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 98 + }, + "_enabled": true, + "__prefab": { + "__id__": 102 + }, + "_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@8a9eb", + "__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": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8dUemOutZMp4zHHpkqMGpI" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "64+LT52+xOXZDcs4FLbdUo", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "support", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 89 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 105 + }, + { + "__id__": 107 + } + ], + "_prefab": { + "__id__": 109 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -297.791, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.35, + "y": 0.35, + "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__": 104 + }, + "_enabled": true, + "__prefab": { + "__id__": 106 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 108, + "height": 112 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e6jTs6h0hGc7PW0kjHE/lw" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 104 + }, + "_enabled": true, + "__prefab": { + "__id__": 108 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@a8a88", + "__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": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9eaxJg3VNCfL1L0gUFTtZ2" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "8ebsygr+1Fv7WBvDkuA7GB", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "remote", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 89 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 111 + }, + { + "__id__": 113 + } + ], + "_prefab": { + "__id__": 115 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -297.791, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.35, + "y": 0.35, + "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__": 110 + }, + "_enabled": true, + "__prefab": { + "__id__": 112 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 108, + "height": 112 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c9Y0uMoLBPb6sBryfZHcAm" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 110 + }, + "_enabled": true, + "__prefab": { + "__id__": 114 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@a8a88", + "__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": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "19VQPznvhMcKvZ2eCqFBJJ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "84I2yufnhOOIpKj80DJuk/", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 89 + }, + "_enabled": true, + "__prefab": { + "__id__": 117 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 650, "height": 40 }, "_anchorPoint": { @@ -1686,16 +2877,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 51 + "__id__": 89 }, "_enabled": true, "__prefab": { - "__id__": 69 + "__id__": 119 }, "_alignFlags": 40, "_target": null, - "_left": 20, - "_right": 20, + "_left": 0, + "_right": 0, "_top": 0, "_bottom": 0, "_horizontalCenter": 0, @@ -1735,27 +2926,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 10 + "__id__": 24 }, "_children": [ { - "__id__": 72 + "__id__": 122 }, { - "__id__": 78 + "__id__": 130 + }, + { + "__id__": 136 + }, + { + "__id__": 142 } ], - "_active": false, + "_active": true, "_components": [ { - "__id__": 86 + "__id__": 148 }, { - "__id__": 88 + "__id__": 150 } ], "_prefab": { - "__id__": 90 + "__id__": 152 }, "_lpos": { "__type__": "cc.Vec3", @@ -1786,172 +2983,33 @@ }, "_id": "" }, - { - "__type__": "cc.Node", - "_name": "icon", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 71 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 73 - }, - { - "__id__": 75 - } - ], - "_prefab": { - "__id__": 77 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -277.081, - "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__": 72 - }, - "_enabled": true, - "__prefab": { - "__id__": 74 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "49eGM+YX1NmIlljnk7O567" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 72 - }, - "_enabled": true, - "__prefab": { - "__id__": 76 - }, - "_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@7a4bc", - "__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": "12IxsLTKtHuK81hYYZrCyG" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "67rwfvsNVJ0YnEZLYikTa7", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, { "__type__": "cc.Node", "_name": "note", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 71 + "__id__": 121 }, "_children": [], "_active": true, "_components": [ { - "__id__": 79 + "__id__": 123 }, { - "__id__": 81 + "__id__": 125 }, { - "__id__": 83 + "__id__": 127 } ], "_prefab": { - "__id__": 85 + "__id__": 129 }, "_lpos": { "__type__": "cc.Vec3", - "x": -235, + "x": -270, "y": 0, "z": 0 }, @@ -1984,15 +3042,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 78 + "__id__": 122 }, "_enabled": true, "__prefab": { - "__id__": 80 + "__id__": 124 }, "_contentSize": { "__type__": "cc.Size", - "width": 545, + "width": 600, "height": 50.4 }, "_anchorPoint": { @@ -2012,11 +3070,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 78 + "__id__": 122 }, "_enabled": true, "__prefab": { - "__id__": 82 + "__id__": 126 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2031,12 +3089,12 @@ "_string": "这里是说明", "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 26, + "_actualFontSize": 25, "_fontSize": 25, "_fontFamily": "Arial", "_lineHeight": 28, "_overflow": 2, - "_enableWrapText": true, + "_enableWrapText": false, "_font": null, "_isSystemFontUsed": true, "_spacingX": 0, @@ -2080,16 +3138,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 78 + "__id__": 122 }, "_enabled": true, "__prefab": { - "__id__": 84 + "__id__": 128 }, "_alignFlags": 40, "_target": null, - "_left": 75, - "_right": 0, + "_left": 35, + "_right": -25, "_top": 0, "_bottom": 0, "_horizontalCenter": 0, @@ -2123,21 +3181,435 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "Melee", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 121 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 131 + }, + { + "__id__": 133 + } + ], + "_prefab": { + "__id__": 135 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -297.791, + "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__": 71 + "__id__": 130 }, "_enabled": true, "__prefab": { - "__id__": 87 + "__id__": 132 }, "_contentSize": { "__type__": "cc.Size", - "width": 620, + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "25ctGJdEBHrZRSO+rNLWQt" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 130 + }, + "_enabled": true, + "__prefab": { + "__id__": 134 + }, + "_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@8a9eb", + "__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": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "53+mforIpPvJGX5jX+ioUI" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f5EhqYFGFFSIcT+NxjZ+ml", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "support", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 121 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 137 + }, + { + "__id__": 139 + } + ], + "_prefab": { + "__id__": 141 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -297.791, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.35, + "y": 0.35, + "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__": 136 + }, + "_enabled": true, + "__prefab": { + "__id__": 138 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 108, + "height": 112 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "78Zc8jflxF6YQd9M1HFLMF" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 136 + }, + "_enabled": true, + "__prefab": { + "__id__": 140 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@a8a88", + "__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": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f8QAmzELBAv4F77H0V6Fbo" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "6aWJLytPhHZ6IBoU33R8f8", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "remote", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 121 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 143 + }, + { + "__id__": 145 + } + ], + "_prefab": { + "__id__": 147 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -297.791, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.35, + "y": 0.35, + "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__": 142 + }, + "_enabled": true, + "__prefab": { + "__id__": 144 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 108, + "height": 112 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9frru8FR9E3LBuQZnxziMT" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 142 + }, + "_enabled": true, + "__prefab": { + "__id__": 146 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@a8a88", + "__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": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8d9fBmRghKr69y73CM6XtQ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "f5YWEX+CVBU4qtn+lZZG2c", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 121 + }, + "_enabled": true, + "__prefab": { + "__id__": 149 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 610, "height": 40 }, "_anchorPoint": { @@ -2157,11 +3629,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 71 + "__id__": 121 }, "_enabled": true, "__prefab": { - "__id__": 89 + "__id__": 151 }, "_alignFlags": 40, "_target": null, @@ -2206,27 +3678,33 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 10 + "__id__": 24 }, "_children": [ { - "__id__": 92 + "__id__": 154 }, { - "__id__": 98 + "__id__": 162 + }, + { + "__id__": 168 + }, + { + "__id__": 174 } ], - "_active": false, + "_active": true, "_components": [ { - "__id__": 106 + "__id__": 180 }, { - "__id__": 108 + "__id__": 182 } ], "_prefab": { - "__id__": 110 + "__id__": 184 }, "_lpos": { "__type__": "cc.Vec3", @@ -2257,172 +3735,33 @@ }, "_id": "" }, - { - "__type__": "cc.Node", - "_name": "icon", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 91 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 93 - }, - { - "__id__": 95 - } - ], - "_prefab": { - "__id__": 97 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -277.081, - "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__": 92 - }, - "_enabled": true, - "__prefab": { - "__id__": 94 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 40, - "height": 40 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "94c8WQ4idAxo6Gtkph0YOW" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 92 - }, - "_enabled": true, - "__prefab": { - "__id__": 96 - }, - "_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@7a4bc", - "__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": "09Jgtc1XBLqKVb2cqgja9c" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "c0BrJM9AREeqlUrg639/p+", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, { "__type__": "cc.Node", "_name": "note", "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 91 + "__id__": 153 }, "_children": [], "_active": true, "_components": [ { - "__id__": 99 + "__id__": 155 }, { - "__id__": 101 + "__id__": 157 }, { - "__id__": 103 + "__id__": 159 } ], "_prefab": { - "__id__": 105 + "__id__": 161 }, "_lpos": { "__type__": "cc.Vec3", - "x": -235, + "x": -270, "y": 0, "z": 0 }, @@ -2455,15 +3794,15 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 98 + "__id__": 154 }, "_enabled": true, "__prefab": { - "__id__": 100 + "__id__": 156 }, "_contentSize": { "__type__": "cc.Size", - "width": 545, + "width": 600, "height": 50.4 }, "_anchorPoint": { @@ -2483,11 +3822,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 98 + "__id__": 154 }, "_enabled": true, "__prefab": { - "__id__": 102 + "__id__": 158 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2502,12 +3841,12 @@ "_string": "这里是说明", "_horizontalAlign": 0, "_verticalAlign": 1, - "_actualFontSize": 26, + "_actualFontSize": 25, "_fontSize": 25, "_fontFamily": "Arial", "_lineHeight": 28, "_overflow": 2, - "_enableWrapText": true, + "_enableWrapText": false, "_font": null, "_isSystemFontUsed": true, "_spacingX": 0, @@ -2551,16 +3890,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 98 + "__id__": 154 }, "_enabled": true, "__prefab": { - "__id__": 104 + "__id__": 160 }, "_alignFlags": 40, "_target": null, - "_left": 75, - "_right": 0, + "_left": 35, + "_right": -25, "_top": 0, "_bottom": 0, "_horizontalCenter": 0, @@ -2594,21 +3933,435 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "Melee", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 153 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 163 + }, + { + "__id__": 165 + } + ], + "_prefab": { + "__id__": 167 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -297.791, + "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__": 91 + "__id__": 162 }, "_enabled": true, "__prefab": { - "__id__": 107 + "__id__": 164 }, "_contentSize": { "__type__": "cc.Size", - "width": 620, + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "41KVDlJXBGYYi06/MHOieD" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 162 + }, + "_enabled": true, + "__prefab": { + "__id__": 166 + }, + "_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@8a9eb", + "__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": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b2ijOUErpOqIdfDL52MHpX" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "517edYtLxIhYur7vrcrSNa", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "support", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 153 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 169 + }, + { + "__id__": 171 + } + ], + "_prefab": { + "__id__": 173 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -297.791, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.35, + "y": 0.35, + "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__": 168 + }, + "_enabled": true, + "__prefab": { + "__id__": 170 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 108, + "height": 112 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e3DGJqz3tLEb6DZdaPPkg/" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 168 + }, + "_enabled": true, + "__prefab": { + "__id__": 172 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@a8a88", + "__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": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "06zjPBfF9MW6GsXXsd/b/5" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "27+IwuqchAyr0b4ILTd66C", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "remote", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 153 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 175 + }, + { + "__id__": 177 + } + ], + "_prefab": { + "__id__": 179 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -297.791, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + }, + "_lscale": { + "__type__": "cc.Vec3", + "x": 0.35, + "y": 0.35, + "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__": 174 + }, + "_enabled": true, + "__prefab": { + "__id__": 176 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 108, + "height": 112 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c5YAJEk0lBZpKRIGj4zn4O" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 174 + }, + "_enabled": true, + "__prefab": { + "__id__": 178 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@a8a88", + "__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": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73", + "__expectedType__": "cc.SpriteAtlas" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "08q/qERDdNhL8hYlb5tIg6" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "02Berx3H1FOYkOZ9D2GauU", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 153 + }, + "_enabled": true, + "__prefab": { + "__id__": 181 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 610, "height": 40 }, "_anchorPoint": { @@ -2628,11 +4381,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 91 + "__id__": 153 }, "_enabled": true, "__prefab": { - "__id__": 109 + "__id__": 183 }, "_alignFlags": 40, "_target": null, @@ -2677,16 +4430,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 10 + "__id__": 24 }, "_enabled": true, "__prefab": { - "__id__": 112 + "__id__": 186 }, "_contentSize": { "__type__": "cc.Size", "width": 650, - "height": 100 + "height": 250 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2705,20 +4458,20 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 10 + "__id__": 24 }, "_enabled": true, "__prefab": { - "__id__": 114 + "__id__": 188 }, "_alignFlags": 18, "_target": null, "_left": 310, "_right": 310, "_top": 590, - "_bottom": 590, + "_bottom": 630, "_horizontalCenter": 0, - "_verticalCenter": 125, + "_verticalCenter": 115, "_isAbsLeft": true, "_isAbsRight": true, "_isAbsTop": true, @@ -2741,11 +4494,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 10 + "__id__": 24 }, "_enabled": true, "__prefab": { - "__id__": 116 + "__id__": 190 }, "_resizeMode": 1, "_layoutType": 2, @@ -2796,7 +4549,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 119 + "__id__": 193 }, "_contentSize": { "__type__": "cc.Size", @@ -2824,7 +4577,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 121 + "__id__": 195 }, "_alignFlags": 45, "_target": null, @@ -2860,22 +4613,22 @@ }, "_enabled": true, "__prefab": { - "__id__": 123 + "__id__": 197 }, "Line1": { - "__id__": 11 + "__id__": 25 }, "Line2": { - "__id__": 31 + "__id__": 57 }, "Line3": { - "__id__": 51 + "__id__": 89 }, "Line4": { - "__id__": 71 + "__id__": 121 }, "Line5": { - "__id__": 91 + "__id__": 153 }, "_id": "" }, @@ -2893,7 +4646,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 125 + "__id__": 199 }, "_id": "" }, diff --git a/assets/script/game/common/config/SkillSet.ts b/assets/script/game/common/config/SkillSet.ts index 5ce2570d..e8804da1 100644 --- a/assets/script/game/common/config/SkillSet.ts +++ b/assets/script/game/common/config/SkillSet.ts @@ -93,6 +93,11 @@ export enum DType { WIND=3, // 风元素 } +export enum IType { + Melee = 0, // 近战 + remote = 1, // 远程 + support = 2, // 辅助 +} export const HeroSkillList = [6001,6001,6001,6001,6001,6001] // Debuff配置接口 @@ -137,6 +142,7 @@ export interface SkillConfig { endAnm:string, // 结束动画名称 EAnm:number, // 结束动画ID DAnm:string, // 命中后动画ID + IType:IType, // 技能类型(近战/远程/辅助) RType:RType, // 技能运行类型(直线/贝塞尔/固定起点/固定终点) EType:EType, // 结束条件(动画结束/时间结束/距离结束/碰撞/次数结束) time?:number, // timeEnd 持续时间(秒) @@ -164,153 +170,153 @@ export const SkillSet: Record = { // ========== 近战技能 ========== 6001: { uuid:6001,name:"近战攻击",sp_name:"atk",icon:"1026",TGroup:TGroup.Enemy,readyAnm:"",endAnm:"",act:"atk", - DTType:DTType.single,ap:100,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,ap:100,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.Melee, RType:RType.linear,EType:EType.collision,buffs:[],info:"对单个造成100%攻击的伤害", }, //大招 6002: { uuid:6002,name:"闪光攻击",sp_name:"atk_s2",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"blues",endAnm:"",act:"max", - DTType:DTType.single,ap:150,hit_count:3,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,ap:150,hit_count:3,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.Melee, RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"对多个目标造成150%攻击的伤害", }, 6003: { uuid:6003,name:"火焰攻击",sp_name:"atk_fire",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max", - DTType:DTType.single,bck:20,ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,bck:20,ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.Melee, RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"对多个目标造成150%攻击的伤害,击退率20%", }, 6004: { uuid:6004,name:"闪电攻击",sp_name:"atk_s4",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"yellow",endAnm:"",act:"max", - DTType:DTType.single,crt:20,ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,crt:20,ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.Melee, RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"对多个目标造成150%攻击的伤害,暴击率20%", }, 6005: { uuid:6005,name:"半月攻击",sp_name:"atk_light",icon:"1126",TGroup:TGroup.Enemy,readyAnm:"blues",endAnm:"",act:"atk", - DTType:DTType.single,ap:100,hit_count:3,hitcd:0.3,speed:720,with:90,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,ap:100,hit_count:3,hitcd:0.3,speed:720,with:90,ready:0.1,EAnm:0,DAnm:"",IType:IType.Melee, RType:RType.linear,EType:EType.collision,buffs:[],info:"穿透多个目标造成100%攻击的伤害", }, //===============射手技能================== 6101: { uuid:6101,name:"普通射击",sp_name:"arrow",icon:"1135",TGroup:TGroup.Enemy,readyAnm:"",endAnm:"",act:"atk", - DTType:DTType.single,ap:100,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,ap:100,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.remote, RType:RType.linear,EType:EType.collision,buffs:[],info:"对单个目标造成100%攻击的伤害", }, 6102: { uuid:6102,name:"冰冻射击",sp_name:"arrow_blue",icon:"1135",TGroup:TGroup.Enemy,readyAnm:"",endAnm:"",act:"atk", - DTType:DTType.single,ap:100,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,ap:100,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.remote, RType:RType.linear,EType:EType.collision,buffs:[],info:"对单个目标造成100%攻击的伤害", }, 6103: { uuid:6103,name:"暴击射击",sp_name:"arrow_red",icon:"1135",TGroup:TGroup.Enemy,readyAnm:"",endAnm:"",act:"atk", - DTType:DTType.single,ap:100,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,ap:100,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.remote, RType:RType.linear,EType:EType.collision,buffs:[],info:"对单个目标造成100%攻击的伤害", }, //大招 6104: { uuid:6104,name:"闪光射击",sp_name:"arrow_big_yellow",icon:"1135",TGroup:TGroup.Enemy,readyAnm:"yellow",endAnm:"",act:"max", - DTType:DTType.single,crt:20,ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,crt:20,ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.remote, RType:RType.linear,EType:EType.collision,buffs:[],info:"对多个目标造成100%攻击的伤害,暴击", }, //===========魔法技能=========== 6201: { uuid:6201,name:"蓝波",sp_name:"ball_blue",icon:"1126",TGroup:TGroup.Enemy,readyAnm:"",endAnm:"",act:"atk", - DTType:DTType.single,frz:0,ap:100,hit_count:1,hitcd:0.3,speed:720,with:90,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,frz:0,ap:100,hit_count:1,hitcd:0.3,speed:720,with:90,ready:0.1,EAnm:0,DAnm:"",IType:IType.remote, RType:RType.linear,EType:EType.collision,buffs:[],info:"对单个目标造成100%攻击的伤害,冰冻率20%", }, 6202: { uuid:6202,name:"绿波",sp_name:"ball_green",icon:"1126",TGroup:TGroup.Enemy,readyAnm:"",endAnm:"",act:"atk", - DTType:DTType.single,ap:100,hit_count:1,hitcd:0.3,speed:720,with:90,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,ap:100,hit_count:1,hitcd:0.3,speed:720,with:90,ready:0.1,EAnm:0,DAnm:"",IType:IType.remote, RType:RType.linear,EType:EType.collision,buffs:[],info:"对单个目标造成100%攻击的伤害", }, 6203: { uuid:6203,name:"红波",sp_name:"ball_red",icon:"1126",TGroup:TGroup.Enemy,readyAnm:"",endAnm:"",act:"atk", - DTType:DTType.single,ap:100,hit_count:1,hitcd:0.3,speed:720,with:90,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,ap:100,hit_count:1,hitcd:0.3,speed:720,with:90,ready:0.1,EAnm:0,DAnm:"",IType:IType.remote, RType:RType.linear,EType:EType.collision,buffs:[],info:"对单个目标造成100%攻击的伤害", }, //大招 6204: { uuid:6204,name:"火球",sp_name:"ball_fire",icon:"1126",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"atk", - DTType:DTType.single,bck:20,ap:100,hit_count:1,hitcd:0.3,speed:720,with:90,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,bck:20,ap:100,hit_count:1,hitcd:0.3,speed:720,with:90,ready:0.1,EAnm:0,DAnm:"",IType:IType.remote, RType:RType.linear,EType:EType.collision,buffs:[],info:"对单个目标造成100%攻击的伤害,击退率20%", }, 6205: { uuid:6205,name:"月波",sp_name:"ball_gquan",icon:"1126",TGroup:TGroup.Enemy,readyAnm:"blues",endAnm:"",act:"atk", - DTType:DTType.single,ap:200,hit_count:6,hitcd:0.3,speed:300,with:90,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,ap:200,hit_count:6,hitcd:0.3,speed:300,with:90,ready:0.1,EAnm:0,DAnm:"",IType:IType.remote, RType:RType.linear,EType:EType.collision,buffs:[],info:"对多个目标造成200%攻击的伤害", }, 6206: { uuid:6206,name:"陨石术",sp_name:"atk_fire",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max", - DTType:DTType.range,crt:20,ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.range,crt:20,ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.remote, RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"多次对多个目标造成150%攻击的伤害,暴击率20%", }, 6207: { uuid:6207,name:"冰刺",sp_name:"atk_fire",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"blues",endAnm:"",act:"max", - DTType:DTType.range,frz:0,ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.range,frz:0,ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.remote, RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"多次对多个目标造成150%攻击的伤害,冰冻率20%", }, 6208: { uuid:6208,name:"火墙",sp_name:"atk_fire",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max", - DTType:DTType.range,bck:20,ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.range,bck:20,ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.remote, RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"多次对多个目标造成150%攻击的伤害,击退率20%", }, //============================= ====== 辅助技能 ====== ========================== 6301:{ uuid:6301,name:"魔法盾",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"up_hp",endAnm:"",act:"atk", - DTType:DTType.single,kind:SkillKind.Shield,ap:3,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,kind:SkillKind.Shield,ap:3,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.support, RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"获得3次伤害免疫", }, 6302: { uuid:6302,name:"治疗",sp_name:"buff_wind",icon:"1292",TGroup:TGroup.Team,readyAnm:"",endAnm:"",act:"atk", - DTType:DTType.single,kind:SkillKind.Heal,ap:300,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,kind:SkillKind.Heal,ap:300,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.support, RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"治疗1个友方300%攻击力的生命值", }, 6303:{ uuid:6303,name:"护盾",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"up_hp",endAnm:"",act:"atk", - DTType:DTType.single,kind:SkillKind.Shield,ap:3,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,kind:SkillKind.Shield,ap:3,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.support, RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"随机1个友方获得3次伤害免疫", }, 6304: { uuid:6304,name:"群体治疗",sp_name:"buff_wind",icon:"1292",TGroup:TGroup.Team,readyAnm:"",endAnm:"",act:"atk", - DTType:DTType.single,kind:SkillKind.Heal,ap:200,hit_count:3,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,kind:SkillKind.Heal,ap:200,hit_count:3,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.support, RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"随机治疗3个友方200%攻击力的生命值", }, 6305:{ uuid:6305,name:"群体护盾",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Team,readyAnm:"up_hp",endAnm:"",act:"atk", - DTType:DTType.single,kind:SkillKind.Shield,ap:2,hit_count:3,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,kind:SkillKind.Shield,ap:2,hit_count:3,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.support, RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"随机3个友方获得2次伤害免疫", }, //==========================buff 技能===================== 6401:{ uuid:6401,name:"单体攻击",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Team,readyAnm:"ap_up",endAnm:"",act:"atk", - DTType:DTType.single,kind:SkillKind.Support,ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,kind:SkillKind.Support,ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.support, RType:RType.fixed,EType:EType.animationEnd,buffs:[{buff:Attrs.ap,value:5}],info:"随机1个友方+5攻击", }, 6402:{ uuid:6402,name:"单体生命",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Team,readyAnm:"up_hp",endAnm:"",act:"atk", - DTType:DTType.single,kind:SkillKind.Support,ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,kind:SkillKind.Support,ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.support, RType:RType.fixed,EType:EType.animationEnd,buffs:[{buff:Attrs.hp_max,value:20}],info:"随机1个友方+20最大生命值", }, 6403:{ uuid:6403,name:"单体全能",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Team,readyAnm:"up_hp",endAnm:"",act:"atk", - DTType:DTType.single,kind:SkillKind.Support,ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,kind:SkillKind.Support,ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.support, RType:RType.fixed,EType:EType.animationEnd,buffs:[{buff:Attrs.ap,value:5},{buff:Attrs.hp_max,value:20}],info:"随机1个友方+2攻击,+10最大生命值", }, 6404:{ uuid:6404,name:"群体攻击",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Team,readyAnm:"ap_up",endAnm:"",act:"atk", - DTType:DTType.single,kind:SkillKind.Support,ap:0,hit_count:3,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,kind:SkillKind.Support,ap:0,hit_count:3,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.support, RType:RType.fixed,EType:EType.animationEnd,buffs:[{buff:Attrs.ap,value:2}],info:"随机3个友方+2攻击", }, 6405:{ uuid:6405,name:"群体生命",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Team,readyAnm:"up_hp",endAnm:"",act:"atk", - DTType:DTType.single,kind:SkillKind.Support,ap:0,hit_count:3,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,kind:SkillKind.Support,ap:0,hit_count:3,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.support, RType:RType.fixed,EType:EType.animationEnd,buffs:[{buff:Attrs.hp_max,value:10}],info:"随机3个友方+10最大生命值", }, 6406:{ uuid:6406,name:"群体全能",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Team,readyAnm:"ap_up",endAnm:"",act:"atk", - DTType:DTType.single,kind:SkillKind.Support,ap:0,hit_count:3,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"", + DTType:DTType.single,kind:SkillKind.Support,ap:0,hit_count:3,hitcd:0.2,speed:720,with:0,ready:0.1,EAnm:0,DAnm:"",IType:IType.support, RType:RType.fixed,EType:EType.animationEnd,buffs:[{buff:Attrs.ap,value:2},{buff:Attrs.hp_max,value:10}],info:"随机3个友方+2攻击,+10最大生命值", }, diff --git a/assets/script/game/map/IBoxComp.ts b/assets/script/game/map/IBoxComp.ts index 3b72eb42..50f4d8b3 100644 --- a/assets/script/game/map/IBoxComp.ts +++ b/assets/script/game/map/IBoxComp.ts @@ -1,8 +1,9 @@ -import { _decorator, Label, Node, UITransform } from "cc"; +import { _decorator, Label, Node, NodeEventType, UITransform } from "cc"; import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; import { CCComp } from "../../../../extensions/oops-plugin-framework/assets/module/common/CCComp"; import { HeroInfo } from "../common/config/heroSet"; import { SkillSet } from "../common/config/SkillSet"; +import { oops } from "db://oops-framework/core/Oops"; const { ccclass, property } = _decorator; @ccclass('IBoxComp') @@ -29,6 +30,14 @@ export class IBoxComp extends CCComp { this.renderHeroInfo(args); } + onLoad() { + this.node.on(NodeEventType.TOUCH_END, this.onTapClose, this); + } + + onDestroy() { + this.node.off(NodeEventType.TOUCH_END, this.onTapClose, this); + } + reset() { this.node.destroy(); } @@ -42,9 +51,11 @@ export class IBoxComp extends CCComp { const heroLv = Math.max(1, Math.floor(args?.heroLv ?? 1)); const hero = HeroInfo[heroUuid]; if (!hero) { + this.setHeroName(""); this.applyLineTexts(["暂无技能信息"]); return; } + this.setHeroName(hero.name); const runtimeSkills = args?.skills ? Object.values(args.skills) : []; const sourceSkills = runtimeSkills.length > 0 ? runtimeSkills : Object.values(hero.skills ?? {}); const skillTexts = sourceSkills.map(skill => { @@ -78,14 +89,24 @@ export class IBoxComp extends CCComp { } private updateIBoxHeight(height: number) { - const rootTransform = this.node.getComponent(UITransform); - if (rootTransform) { - rootTransform.setContentSize(rootTransform.contentSize.width, height); - } const bgNode = this.node.getChildByName("Bg"); const bgTransform = bgNode?.getComponent(UITransform); if (bgTransform) { bgTransform.setContentSize(bgTransform.contentSize.width, height); } } + + private setHeroName(name: string) { + const bgNode = this.node.getChildByName("Bg"); + const nameNode = bgNode?.getChildByName("name"); + const valNode = nameNode?.getChildByName("val"); + const label = valNode?.getComponent(Label) || valNode?.getComponentInChildren(Label); + if (label) { + label.string = name; + } + } + + private onTapClose() { + oops.gui.removeByNode(this.node); + } }