From 35af88d5707d81dd80ffe78ab605e5e7d0e45131 Mon Sep 17 00:00:00 2001 From: panw Date: Fri, 20 Mar 2026 10:54:29 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=87=8D=E6=9E=84=E8=8B=B1=E9=9B=84?= =?UTF-8?q?=E4=B8=8E=E6=80=AA=E7=89=A9=E7=B3=BB=E7=BB=9F=E5=B9=B6=E6=B7=BB?= =?UTF-8?q?=E5=8A=A0=E7=AD=89=E7=BA=A7=E6=9C=BA=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 调整怪物配置映射,将兽人系列怪物ID从5xxx改为6xxx - 为英雄系统添加等级支持,英雄属性随等级线性增长 - 重构卡牌系统,区分英雄卡和功能卡显示逻辑 - 重新组织英雄配置数据,按职业分类并添加等级字段 - 扩展技能配置,为各等级添加对应技能变体 - 简化特殊卡配置结构,添加名称和描述字段 --- assets/resources/gui/element/card.prefab | 2276 ++++++++++++------ assets/script/game/common/config/CardSet.ts | 112 +- assets/script/game/common/config/SkillSet.ts | 179 +- assets/script/game/common/config/heroSet.ts | 74 +- assets/script/game/hero/Hero.ts | 15 +- assets/script/game/map/CardComp.ts | 29 +- assets/script/game/map/MissionHeroComp.ts | 6 +- assets/script/game/map/RogueConfig.ts | 6 +- 8 files changed, 1749 insertions(+), 948 deletions(-) diff --git a/assets/resources/gui/element/card.prefab b/assets/resources/gui/element/card.prefab index 618ab770..3cf089d4 100644 --- a/assets/resources/gui/element/card.prefab +++ b/assets/resources/gui/element/card.prefab @@ -31,32 +31,32 @@ "__id__": 88 }, { - "__id__": 102 + "__id__": 94 }, { - "__id__": 116 + "__id__": 100 }, { - "__id__": 122 + "__id__": 106 }, { - "__id__": 128 + "__id__": 124 }, { - "__id__": 134 + "__id__": 138 } ], "_active": true, "_components": [ { - "__id__": 152 + "__id__": 186 }, { - "__id__": 154 + "__id__": 188 } ], "_prefab": { - "__id__": 156 + "__id__": 190 }, "_lpos": { "__type__": "cc.Vec3", @@ -1965,682 +1965,6 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, - { - "__type__": "cc.Node", - "_name": "ap", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 89 - } - ], - "_active": true, - "_components": [ - { - "__id__": 95 - }, - { - "__id__": 97 - }, - { - "__id__": 99 - } - ], - "_prefab": { - "__id__": 101 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": -58.5, - "y": -73.97800000000001, - "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__": 88 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 90 - }, - { - "__id__": 92 - } - ], - "_prefab": { - "__id__": 94 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 12, - "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__": 89 - }, - "_enabled": true, - "__prefab": { - "__id__": 91 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 50, - "height": 29.2 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "187VLFj2tM5qG9VyEO2ba4" - }, - { - "__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": "9999", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 19, - "_fontSize": 18, - "_fontFamily": "Arial", - "_lineHeight": 20, - "_overflow": 2, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_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": "ce97VINeNC+KH15xGN8VPh" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "6blaYobuRMBZfH/3dCjqx7", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 88 - }, - "_enabled": true, - "__prefab": { - "__id__": 96 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 22, - "height": 21 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "179jVPio1IHKCUFp7Tnjph" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 88 - }, - "_enabled": true, - "__prefab": { - "__id__": 98 - }, - "_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": "47eq2qFINPbLbmViwVIdpU" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 88 - }, - "_enabled": true, - "__prefab": { - "__id__": 100 - }, - "_alignFlags": 12, - "_target": null, - "_left": 18, - "_right": 0, - "_top": 0, - "_bottom": 30.522, - "_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": "8cgm/puVdG05jG9VFTxrdZ" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "27VLqrqwhDi7jlWTxZ3Kby", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.Node", - "_name": "hp", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": { - "__id__": 1 - }, - "_children": [ - { - "__id__": 103 - } - ], - "_active": true, - "_components": [ - { - "__id__": 109 - }, - { - "__id__": 111 - }, - { - "__id__": 113 - } - ], - "_prefab": { - "__id__": 115 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 12.397999999999996, - "y": -74.868, - "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__": 102 - }, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 104 - }, - { - "__id__": 106 - } - ], - "_prefab": { - "__id__": 108 - }, - "_lpos": { - "__type__": "cc.Vec3", - "x": 12, - "y": 0, - "z": 0 - }, - "_lrot": { - "__type__": "cc.Quat", - "x": 0, - "y": 0, - "z": 0, - "w": 1 - }, - "_lscale": { - "__type__": "cc.Vec3", - "x": 1, - "y": 1, - "z": 1 - }, - "_mobility": 0, - "_layer": 1073741824, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 103 - }, - "_enabled": true, - "__prefab": { - "__id__": 105 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 50, - "height": 29.2 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "349/MNxXBLjJFUZy1osNoU" - }, - { - "__type__": "cc.Label", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 103 - }, - "_enabled": true, - "__prefab": { - "__id__": 107 - }, - "_customMaterial": null, - "_srcBlendFactor": 2, - "_dstBlendFactor": 4, - "_color": { - "__type__": "cc.Color", - "r": 255, - "g": 255, - "b": 255, - "a": 255 - }, - "_string": "9999", - "_horizontalAlign": 0, - "_verticalAlign": 1, - "_actualFontSize": 19, - "_fontSize": 18, - "_fontFamily": "Arial", - "_lineHeight": 20, - "_overflow": 2, - "_enableWrapText": true, - "_font": null, - "_isSystemFontUsed": true, - "_spacingX": 0, - "_isItalic": false, - "_isBold": false, - "_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": "58H9bWef5MwYWXfdQwAYMH" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "52F5ef5xJPEJvqBAnr6DUu", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 102 - }, - "_enabled": true, - "__prefab": { - "__id__": 110 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 22, - "height": 21 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "d8m4WSyhxCWJKhcNWX6+xH" - }, - { - "__type__": "cc.Sprite", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 102 - }, - "_enabled": true, - "__prefab": { - "__id__": 112 - }, - "_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@9e897", - "__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": "9ddTg0By1KM4blw+DZdYTY" - }, - { - "__type__": "cc.Widget", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 102 - }, - "_enabled": true, - "__prefab": { - "__id__": 114 - }, - "_alignFlags": 12, - "_target": null, - "_left": 88.898, - "_right": 0, - "_top": 0, - "_bottom": 29.632000000000005, - "_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": "62/icSOIFNapPUPAPe4WwM" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "32IbZgaolFXaW8yccpSdeA", - "instance": null, - "targetOverrides": null, - "nestedPrefabInstanceRoots": null - }, { "__type__": "cc.Node", "_name": "name", @@ -2653,19 +1977,19 @@ "_active": true, "_components": [ { - "__id__": 117 + "__id__": 89 }, { - "__id__": 119 + "__id__": 91 } ], "_prefab": { - "__id__": 121 + "__id__": 93 }, "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -35.362, + "y": -31.07, "z": 0 }, "_lrot": { @@ -2697,16 +2021,16 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 116 + "__id__": 88 }, "_enabled": true, "__prefab": { - "__id__": 118 + "__id__": 90 }, "_contentSize": { "__type__": "cc.Size", - "width": 44, - "height": 41.926 + "width": 160, + "height": 30 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2725,11 +2049,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 116 + "__id__": 88 }, "_enabled": true, "__prefab": { - "__id__": 120 + "__id__": 92 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2744,11 +2068,11 @@ "_string": "名称", "_horizontalAlign": 1, "_verticalAlign": 1, - "_actualFontSize": 20, - "_fontSize": 20, + "_actualFontSize": 23, + "_fontSize": 22, "_fontFamily": "Arial", - "_lineHeight": 30.1, - "_overflow": 0, + "_lineHeight": 25, + "_overflow": 2, "_enableWrapText": true, "_font": null, "_isSystemFontUsed": true, @@ -2812,14 +2136,14 @@ "_active": true, "_components": [ { - "__id__": 123 + "__id__": 95 }, { - "__id__": 125 + "__id__": 97 } ], "_prefab": { - "__id__": 127 + "__id__": 99 }, "_lpos": { "__type__": "cc.Vec3", @@ -2856,11 +2180,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 122 + "__id__": 94 }, "_enabled": true, "__prefab": { - "__id__": 124 + "__id__": 96 }, "_contentSize": { "__type__": "cc.Size", @@ -2884,11 +2208,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 122 + "__id__": 94 }, "_enabled": true, "__prefab": { - "__id__": 126 + "__id__": 98 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2951,14 +2275,14 @@ "_active": true, "_components": [ { - "__id__": 129 + "__id__": 101 }, { - "__id__": 131 + "__id__": 103 } ], "_prefab": { - "__id__": 133 + "__id__": 105 }, "_lpos": { "__type__": "cc.Vec3", @@ -2995,11 +2319,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 128 + "__id__": 100 }, "_enabled": true, "__prefab": { - "__id__": 130 + "__id__": 102 }, "_contentSize": { "__type__": "cc.Size", @@ -3023,11 +2347,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 128 + "__id__": 100 }, "_enabled": true, "__prefab": { - "__id__": 132 + "__id__": 104 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3088,23 +2412,23 @@ }, "_children": [ { - "__id__": 135 + "__id__": 107 }, { - "__id__": 141 + "__id__": 113 } ], "_active": true, "_components": [ { - "__id__": 147 + "__id__": 119 }, { - "__id__": 149 + "__id__": 121 } ], "_prefab": { - "__id__": 151 + "__id__": 123 }, "_lpos": { "__type__": "cc.Vec3", @@ -3141,20 +2465,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 134 + "__id__": 106 }, "_children": [], "_active": true, "_components": [ { - "__id__": 136 + "__id__": 108 }, { - "__id__": 138 + "__id__": 110 } ], "_prefab": { - "__id__": 140 + "__id__": 112 }, "_lpos": { "__type__": "cc.Vec3", @@ -3191,11 +2515,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 135 + "__id__": 107 }, "_enabled": true, "__prefab": { - "__id__": 137 + "__id__": 109 }, "_contentSize": { "__type__": "cc.Size", @@ -3219,11 +2543,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 135 + "__id__": 107 }, "_enabled": true, "__prefab": { - "__id__": 139 + "__id__": 111 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3280,20 +2604,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 134 + "__id__": 106 }, "_children": [], "_active": true, "_components": [ { - "__id__": 142 + "__id__": 114 }, { - "__id__": 144 + "__id__": 116 } ], "_prefab": { - "__id__": 146 + "__id__": 118 }, "_lpos": { "__type__": "cc.Vec3", @@ -3330,11 +2654,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 141 + "__id__": 113 }, "_enabled": true, "__prefab": { - "__id__": 143 + "__id__": 115 }, "_contentSize": { "__type__": "cc.Size", @@ -3358,11 +2682,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 141 + "__id__": 113 }, "_enabled": true, "__prefab": { - "__id__": 145 + "__id__": 117 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3439,11 +2763,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 134 + "__id__": 106 }, "_enabled": true, "__prefab": { - "__id__": 148 + "__id__": 120 }, "_contentSize": { "__type__": "cc.Size", @@ -3467,11 +2791,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 134 + "__id__": 106 }, "_enabled": true, "__prefab": { - "__id__": 150 + "__id__": 122 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3516,6 +2840,1464 @@ "targetOverrides": null, "nestedPrefabInstanceRoots": null }, + { + "__type__": "cc.Node", + "_name": "oinfo", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 125 + } + ], + "_active": true, + "_components": [ + { + "__id__": 133 + }, + { + "__id__": 135 + } + ], + "_prefab": { + "__id__": 137 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -66.81200000000001, + "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": "info", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 124 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 126 + }, + { + "__id__": 128 + }, + { + "__id__": 130 + } + ], + "_prefab": { + "__id__": 132 + }, + "_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.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 125 + }, + "_enabled": true, + "__prefab": { + "__id__": 127 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 139, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9cBqTFL1FP049pPb06PtGb" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 125 + }, + "_enabled": true, + "__prefab": { + "__id__": 129 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "这是说明说明这是说明说", + "_horizontalAlign": 1, + "_verticalAlign": 1, + "_actualFontSize": 16, + "_fontSize": 15, + "_fontFamily": "Arial", + "_lineHeight": 20, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_isUnderline": false, + "_underlineHeight": 2, + "_cacheMode": 0, + "_enableOutline": true, + "_outlineColor": { + "__type__": "cc.Color", + "r": 65, + "g": 65, + "b": 65, + "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": "2a+9af0zREO5CpPsTdWlHw" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 125 + }, + "_enabled": true, + "__prefab": { + "__id__": 131 + }, + "_alignFlags": 45, + "_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": 42.255859375, + "_originalHeight": 25, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b6S4RSwaJPyax+qBTbzZ+m" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4bvU56crlNNbAN1vkTpADF", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 124 + }, + "_enabled": true, + "__prefab": { + "__id__": 134 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 139, + "height": 50 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5eQRJIRe5LYaiAVtgQE6bT" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 124 + }, + "_enabled": true, + "__prefab": { + "__id__": 136 + }, + "_alignFlags": 44, + "_target": null, + "_left": 18, + "_right": 18, + "_top": 0, + "_bottom": 23.187999999999995, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b1dSZ2V9FAB5MrYaruenge" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "cb6bU8nHdMR4ZWNMbWKWMI", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "info", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [ + { + "__id__": 139 + }, + { + "__id__": 159 + } + ], + "_active": true, + "_components": [ + { + "__id__": 179 + }, + { + "__id__": 181 + }, + { + "__id__": 183 + } + ], + "_prefab": { + "__id__": 185 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": -74, + "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": "ap", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 138 + }, + "_children": [ + { + "__id__": 140 + }, + { + "__id__": 146 + } + ], + "_active": true, + "_components": [ + { + "__id__": 152 + }, + { + "__id__": 154 + }, + { + "__id__": 156 + } + ], + "_prefab": { + "__id__": 158 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -34.5, + "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": "Stat_Attack_01", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 139 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 141 + }, + { + "__id__": 143 + } + ], + "_prefab": { + "__id__": 145 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -22.364, + "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__": 140 + }, + "_enabled": true, + "__prefab": { + "__id__": 142 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 21, + "height": 21 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "c7mwM9PRNDUr3M+Rnc3OZp" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 140 + }, + "_enabled": true, + "__prefab": { + "__id__": 144 + }, + "_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": "83sNN7IL9KV6hY9qxkc9DC" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "38WxCaahlEIZ/eT9tARlMi", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "val", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 139 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 147 + }, + { + "__id__": 149 + } + ], + "_prefab": { + "__id__": 151 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -11.794, + "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__": 146 + }, + "_enabled": true, + "__prefab": { + "__id__": 148 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 29.2 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "187VLFj2tM5qG9VyEO2ba4" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 146 + }, + "_enabled": true, + "__prefab": { + "__id__": 150 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "9999", + "_horizontalAlign": 0, + "_verticalAlign": 1, + "_actualFontSize": 19, + "_fontSize": 18, + "_fontFamily": "Arial", + "_lineHeight": 20, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_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": "ce97VINeNC+KH15xGN8VPh" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "6blaYobuRMBZfH/3dCjqx7", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 139 + }, + "_enabled": true, + "__prefab": { + "__id__": 153 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 70, + "height": 21 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "179jVPio1IHKCUFp7Tnjph" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 139 + }, + "_enabled": false, + "__prefab": { + "__id__": 155 + }, + "_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": "47eq2qFINPbLbmViwVIdpU" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 139 + }, + "_enabled": true, + "__prefab": { + "__id__": 157 + }, + "_alignFlags": 12, + "_target": null, + "_left": 0, + "_right": 0, + "_top": 0, + "_bottom": 4.5, + "_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": "8cgm/puVdG05jG9VFTxrdZ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "27VLqrqwhDi7jlWTxZ3Kby", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "hp", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 138 + }, + "_children": [ + { + "__id__": 160 + }, + { + "__id__": 166 + } + ], + "_active": true, + "_components": [ + { + "__id__": 172 + }, + { + "__id__": 174 + }, + { + "__id__": 176 + } + ], + "_prefab": { + "__id__": 178 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 35.5, + "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": "Economy_Heart_Red", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 159 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 161 + }, + { + "__id__": 163 + } + ], + "_prefab": { + "__id__": 165 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -22.364, + "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__": 160 + }, + "_enabled": true, + "__prefab": { + "__id__": 162 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 21, + "height": 21 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d0IXyJFR9Fa4/BzyVHpKdP" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 160 + }, + "_enabled": true, + "__prefab": { + "__id__": 164 + }, + "_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@9e897", + "__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": "e3kuHinX5Jaowr5PJaMNQl" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0bgYibhVNP9qxPgVLT8WgM", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "val", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 159 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 167 + }, + { + "__id__": 169 + } + ], + "_prefab": { + "__id__": 171 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -11.794, + "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__": 166 + }, + "_enabled": true, + "__prefab": { + "__id__": 168 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 29.2 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "349/MNxXBLjJFUZy1osNoU" + }, + { + "__type__": "cc.Label", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 166 + }, + "_enabled": true, + "__prefab": { + "__id__": 170 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_string": "9999", + "_horizontalAlign": 0, + "_verticalAlign": 1, + "_actualFontSize": 19, + "_fontSize": 18, + "_fontFamily": "Arial", + "_lineHeight": 20, + "_overflow": 2, + "_enableWrapText": true, + "_font": null, + "_isSystemFontUsed": true, + "_spacingX": 0, + "_isItalic": false, + "_isBold": false, + "_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": "58H9bWef5MwYWXfdQwAYMH" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "52F5ef5xJPEJvqBAnr6DUu", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 159 + }, + "_enabled": true, + "__prefab": { + "__id__": 173 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 70, + "height": 21 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "d8m4WSyhxCWJKhcNWX6+xH" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 159 + }, + "_enabled": false, + "__prefab": { + "__id__": 175 + }, + "_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@9e897", + "__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": "9ddTg0By1KM4blw+DZdYTY" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 159 + }, + "_enabled": true, + "__prefab": { + "__id__": 177 + }, + "_alignFlags": 12, + "_target": null, + "_left": 70, + "_right": 0, + "_top": 0, + "_bottom": 4.5, + "_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": "62/icSOIFNapPUPAPe4WwM" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "32IbZgaolFXaW8yccpSdeA", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 138 + }, + "_enabled": true, + "__prefab": { + "__id__": 180 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 139, + "height": 30 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "13CDuGaLlM5Z2Nh9wFe9DA" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 138 + }, + "_enabled": true, + "__prefab": { + "__id__": 182 + }, + "_alignFlags": 44, + "_target": null, + "_left": 18, + "_right": 18, + "_top": 0, + "_bottom": 26, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "23FrXN9T9O2ITB7cph0Bkr" + }, + { + "__type__": "cc.Layout", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 138 + }, + "_enabled": true, + "__prefab": { + "__id__": 184 + }, + "_resizeMode": 0, + "_layoutType": 1, + "_cellSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_startAxis": 0, + "_paddingLeft": 0, + "_paddingRight": 0, + "_paddingTop": 0, + "_paddingBottom": 0, + "_spacingX": 0, + "_spacingY": 0, + "_verticalDirection": 1, + "_horizontalDirection": 0, + "_constraint": 0, + "_constraintNum": 2, + "_affectedByScale": false, + "_isAlign": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5atNjTsGJM7KgtxUdjgFur" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "edUlwiH79FNYETZ5t4Lyqy", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -3526,7 +4308,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 153 + "__id__": 187 }, "_contentSize": { "__type__": "cc.Size", @@ -3554,28 +4336,28 @@ }, "_enabled": true, "__prefab": { - "__id__": 155 + "__id__": 189 }, "Lock": { - "__id__": 122 + "__id__": 94 }, "unLock": { - "__id__": 128 + "__id__": 100 }, - "ap_node": { - "__id__": 89 + "info_node": { + "__id__": 138 }, - "hp_node": { - "__id__": 103 + "oinfo_node": { + "__id__": 124 }, "name_node": { - "__id__": 116 + "__id__": 88 }, "icon_node": { "__id__": 63 }, "cost_node": { - "__id__": 141 + "__id__": 113 }, "_id": "" }, diff --git a/assets/script/game/common/config/CardSet.ts b/assets/script/game/common/config/CardSet.ts index 63a465fe..47519962 100644 --- a/assets/script/game/common/config/CardSet.ts +++ b/assets/script/game/common/config/CardSet.ts @@ -25,25 +25,7 @@ export interface CardConfig { cost: number weight: number lv: CardKind -} - -/** 特殊卡效果类型 */ -export enum SpecialEffectType { - DrawHero = 1, - RepeatNextUse = 2, -} - -/** 特殊卡效果参数 */ -export interface SpecialCardEffect { - type: SpecialEffectType - drawHeroCount?: number - drawHeroLv?: CardKind - repeatNextUseTimes?: number -} - -/** 特殊卡完整配置 */ -export interface SpecialCardConfig extends CardConfig { - effect: SpecialCardEffect + hero_lv?: number } /** 卡池默认初始等级 */ @@ -53,62 +35,56 @@ export const CARD_POOL_MAX_LEVEL = CardKind.LV6 /** 基础卡池(英雄、技能、Buff、Debuff) */ export const CardPoolList: CardConfig[] = [ - { uuid: 5001, type: CardType.Hero, cost: 3, weight: 20, lv: 1 }, - { uuid: 5003, type: CardType.Hero, cost: 3, weight: 20, lv: 1 }, - { uuid: 5002, type: CardType.Hero, cost: 3, weight: 25, lv: 2 }, - { uuid: 5005, type: CardType.Hero, cost: 3, weight: 25, lv: 2 }, - { uuid: 5004, type: CardType.Hero, cost: 3, weight: 30, lv: 3 }, - { uuid: 5006, type: CardType.Hero, cost: 3, weight: 35, lv: 4 }, - { uuid: 5007, type: CardType.Hero, cost: 3, weight: 40, lv: 5 }, + { uuid: 5001, type: CardType.Hero, cost: 3, weight: 25, lv: 1 ,hero_lv:1,}, + { uuid: 5101, type: CardType.Hero, cost: 3, weight: 25, lv: 1 ,hero_lv:1,}, + { uuid: 5201, type: CardType.Hero, cost: 3, weight: 25, lv: 1 ,hero_lv:1,}, + { uuid: 5301, type: CardType.Hero, cost: 3, weight: 25, lv: 1 ,hero_lv:1,}, + { uuid: 5001, type: CardType.Hero, cost: 3, weight: 25, lv: 3 ,hero_lv:2,}, + { uuid: 5101, type: CardType.Hero, cost: 3, weight: 25, lv: 3 ,hero_lv:2,}, + { uuid: 5201, type: CardType.Hero, cost: 3, weight: 25, lv: 3 ,hero_lv:2,}, + { uuid: 5301, type: CardType.Hero, cost: 3, weight: 25, lv: 3 ,hero_lv:2,}, + { uuid: 5001, type: CardType.Hero, cost: 3, weight: 25, lv: 5 ,hero_lv:3,}, + { uuid: 5101, type: CardType.Hero, cost: 3, weight: 25, lv: 5 ,hero_lv:3,}, + { uuid: 5201, type: CardType.Hero, cost: 3, weight: 25, lv: 5 ,hero_lv:3,}, + { uuid: 5301, type: CardType.Hero, cost: 3, weight: 25, lv: 5 ,hero_lv:3,}, - { uuid: 6001, type: CardType.Skill, cost: 1, weight: 20, lv: 1 }, - { uuid: 6002, type: CardType.Skill, cost: 1, weight: 20, lv: 1 }, - { uuid: 6003, type: CardType.Skill, cost: 2, weight: 25, lv: 2 }, - { uuid: 6100, type: CardType.Skill, cost: 4, weight: 25, lv: 2 }, - { uuid: 6004, type: CardType.Skill, cost: 3, weight: 30, lv: 3 }, - { uuid: 6102, type: CardType.Skill, cost: 4, weight: 35, lv: 4 }, - { uuid: 6101, type: CardType.Skill, cost: 5, weight: 40, lv: 5 }, - { uuid: 6103, type: CardType.Skill, cost: 6, weight: 45, lv: 6 }, - - { uuid: 10001, type: CardType.Buff, cost: 2, weight: 30, lv: 1 }, - { uuid: 10101, type: CardType.Buff, cost: 3, weight: 26, lv: 2 }, - { uuid: 10011, type: CardType.Buff, cost: 3, weight: 24, lv: 3 }, - { uuid: 10311, type: CardType.Buff, cost: 4, weight: 20, lv: 4 }, - { uuid: 10302, type: CardType.Buff, cost: 5, weight: 18, lv: 5 }, - - { uuid: 10201, type: CardType.Debuff, cost: 3, weight: 24, lv: 2 }, - { uuid: 10211, type: CardType.Debuff, cost: 4, weight: 20, lv: 3 }, - { uuid: 10312, type: CardType.Debuff, cost: 4, weight: 18, lv: 4 }, - { uuid: 20001, type: CardType.Debuff, cost: 5, weight: 14, lv: 5 }, - { uuid: 20011, type: CardType.Debuff, cost: 6, weight: 12, lv: 6 }, + { uuid: 7001, type: CardType.Special, cost: 1, weight: 20, lv: 1 }, ] -/** 特殊卡定义表 */ + +/** 功能卡效果类型 */ +export enum SpecialEffectType { + DrawHero = 1, + RepeatNextUse = 2, +} + +/** 功能卡效果参数 */ +export interface SpecialCardEffect { + type: SpecialEffectType + drawHeroCount?: number + drawHeroLv?: CardKind + repeatNextUseTimes?: number +} + +/** 功能卡完整配置 */ +export interface SpecialCardConfig extends CardConfig { + name: string + info: string + effect: SpecialCardEffect +} + +/** 功能卡定义表 */ + + + export const SpecialCardList: Record = { - 7001: { - uuid: 7001, - type: CardType.Special, - cost: 6, - weight: 20, - lv: CardKind.LV3, - effect: { - type: SpecialEffectType.DrawHero, - drawHeroCount: 4, - drawHeroLv: CardKind.LV3, - }, + 7001: { uuid: 7001,type: CardType.Special,cost: 6,weight: 20,lv: CardKind.LV1,name:"哈哈",info: "抽取4张等级3的英雄", + effect: {type: SpecialEffectType.DrawHero,drawHeroCount: 4,drawHeroLv: CardKind.LV3,}, }, - 7002: { - uuid: 7002, - type: CardType.Special, - cost: 5, - weight: 20, - lv: CardKind.LV4, - effect: { - type: SpecialEffectType.RepeatNextUse, - repeatNextUseTimes: 1, - }, + 7002: { uuid: 7002,type: CardType.Special,cost: 5,weight: 20,lv: CardKind.LV2,name:"哈哈哈", info: "重复使用下一张卡1次", + effect: {type: SpecialEffectType.RepeatNextUse,repeatNextUseTimes: 1,}, }, } diff --git a/assets/script/game/common/config/SkillSet.ts b/assets/script/game/common/config/SkillSet.ts index 383e7317..a0d61d33 100644 --- a/assets/script/game/common/config/SkillSet.ts +++ b/assets/script/game/common/config/SkillSet.ts @@ -202,6 +202,7 @@ export const SkillSet: Record = { uuid:6014,name:"闪击1",sp_name:"atk_s3",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,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"对多个目标造成150%攻击的伤害", }, + 6021: { uuid:6021,name:"暴射2",sp_name:"arrow_green",icon:"1135",TGroup:TGroup.Enemy,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,crt:25, ap:100,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.linear,EType:EType.collision,buffs:[],info:"对单个目标造成100%攻击的伤害,暴击率20%", @@ -285,134 +286,142 @@ export const SkillSet: Record = { uuid:6125,name:"月波3",sp_name:"ball_gquan",icon:"1126",TGroup:TGroup.Enemy,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single, ap:200,hit_count:6,hitcd:0.3,speed:300,with:90,ready:0,EAnm:0,DAnm:9001,RType:RType.linear,EType:EType.collision,buffs:[],info:"对多个目标造成200%攻击的伤害", }, + 6131: { + uuid:6131,name:"光箭4",sp_name:"arrow_big_yellow",icon:"1135",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max",DTType:DTType.single,crt:30, + ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.linear,EType:EType.collision,buffs:[],info:"对多个目标造成100%攻击的伤害,暴击", + }, + 6132: { + uuid:6132,name:"电击4",sp_name:"atk_s4",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"blues",endAnm:"",act:"max",DTType:DTType.single,crt:30, + ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.collision,buffs:[],info:"对多个目标造成150%攻击的伤害,暴击率20%", + }, + 6134: { + uuid:6134,name:"火焰击4",sp_name:"atk_f2",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max",DTType:DTType.single,bck:30, + ap:150,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"多次对多个目标造成150%攻击的伤害,击退率20%", + }, + 6135: { + uuid:6135,name:"月波4",sp_name:"ball_gquan",icon:"1126",TGroup:TGroup.Enemy,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single, + ap:200,hit_count:6,hitcd:0.3,speed:300,with:90,ready:0,EAnm:0,DAnm:9001,RType:RType.linear,EType:EType.collision,buffs:[],info:"对多个目标造成200%攻击的伤害", + }, + 6141: { + uuid:6141,name:"光箭5",sp_name:"arrow_big_yellow",icon:"1135",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max",DTType:DTType.single,crt:30, + ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.linear,EType:EType.collision,buffs:[],info:"对多个目标造成100%攻击的伤害,暴击", + }, + 6142: { + uuid:6142,name:"电击5",sp_name:"atk_s4",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"blues",endAnm:"",act:"max",DTType:DTType.single,crt:30, + ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.collision,buffs:[],info:"对多个目标造成150%攻击的伤害,暴击率20%", + }, + 6144: { + uuid:6144,name:"火焰击5",sp_name:"atk_f2",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max",DTType:DTType.single,bck:30, + ap:150,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"多次对多个目标造成150%攻击的伤害,击退率20%", + }, + 6145: { + uuid:6145,name:"月波5",sp_name:"ball_gquan",icon:"1126",TGroup:TGroup.Enemy,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single, + ap:200,hit_count:6,hitcd:0.3,speed:300,with:90,ready:0,EAnm:0,DAnm:9001,RType:RType.linear,EType:EType.collision,buffs:[],info:"对多个目标造成200%攻击的伤害", + }, + 6161: { + uuid:6161,name:"光箭6",sp_name:"arrow_big_yellow",icon:"1135",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max",DTType:DTType.single,crt:30, + ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.linear,EType:EType.collision,buffs:[],info:"对多个目标造成100%攻击的伤害,暴击", + }, + 6162: { + uuid:6162,name:"电击6",sp_name:"atk_s4",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"blues",endAnm:"",act:"max",DTType:DTType.single,crt:30, + ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.collision,buffs:[],info:"对多个目标造成150%攻击的伤害,暴击率20%", + }, + 6164: { + uuid:6164,name:"火焰击6",sp_name:"atk_f2",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max",DTType:DTType.single,bck:30, + ap:150,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"多次对多个目标造成150%攻击的伤害,击退率20%", + }, + 6165: { + uuid:6165,name:"月波6",sp_name:"ball_gquan",icon:"1126",TGroup:TGroup.Enemy,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single, + ap:200,hit_count:6,hitcd:0.3,speed:300,with:90,ready:0,EAnm:0,DAnm:9001,RType:RType.linear,EType:EType.collision,buffs:[],info:"对多个目标造成200%攻击的伤害", + }, /*********************** 高阶群体******************/ 6201: { - uuid:6201,name:"陨石术",sp_name:"atk_f2",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max",DTType:DTType.range,crt:20, + uuid:6201,name:"陨石术1",sp_name:"atk_f2",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,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"多次对多个目标造成150%攻击的伤害,暴击率20%", }, 6202: { - uuid:6202,name:"冰锥",sp_name:"atk_f2",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max",DTType:DTType.range,frz:20, + uuid:6202,name:"冰锥1",sp_name:"atk_f2",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max",DTType:DTType.range,frz:20, ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"多次对多个目标造成150%攻击的伤害,冰冻率20%", }, 6203: { - uuid:6203,name:"火墙",sp_name:"atk_f2",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max",DTType:DTType.range,bck:20, + uuid:6203,name:"火墙1",sp_name:"atk_f2",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,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"多次对多个目标造成150%攻击的伤害,击退率20%", }, 6211: { - uuid:6211,name:"陨石术",sp_name:"atk_f2",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max",DTType:DTType.range,crt:20, + uuid:6211,name:"陨石术2",sp_name:"atk_f2",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,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"多次对多个目标造成150%攻击的伤害,暴击率20%", }, 6212: { - uuid:6212,name:"冰锥",sp_name:"atk_f2",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max",DTType:DTType.range,frz:20, + uuid:6212,name:"冰锥2",sp_name:"atk_f2",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max",DTType:DTType.range,frz:20, ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"多次对多个目标造成150%攻击的伤害,冰冻率20%", }, 6213: { - uuid:6213,name:"火墙",sp_name:"atk_f2",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max",DTType:DTType.range,bck:20, + uuid:6213,name:"火墙2",sp_name:"atk_f2",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,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"多次对多个目标造成150%攻击的伤害,击退率20%", }, 6221: { - uuid:6221,name:"陨石术",sp_name:"atk_f2",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max",DTType:DTType.range,crt:20, + uuid:6221,name:"陨石术3",sp_name:"atk_f2",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,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"多次对多个目标造成150%攻击的伤害,暴击率20%", }, 6222: { - uuid:6222,name:"冰锥",sp_name:"atk_f2",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max",DTType:DTType.range,frz:20, + uuid:6222,name:"冰锥3",sp_name:"atk_f2",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max",DTType:DTType.range,frz:20, ap:100,hit_count:6,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"多次对多个目标造成150%攻击的伤害,冰冻率20%", }, 6223: { - uuid:6223,name:"火墙",sp_name:"atk_f2",icon:"1173",TGroup:TGroup.Enemy,readyAnm:"reds",endAnm:"",act:"max",DTType:DTType.range,bck:20, + uuid:6223,name:"火墙3",sp_name:"atk_f2",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,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"多次对多个目标造成150%攻击的伤害,击退率20%", }, //============================= ====== 辅助技能 ====== ========================== 6301:{ - uuid:6301,name:"魔法盾",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Shield, + uuid:6301,name:"魔法盾1",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Shield, ap:30,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"获得30%最大生命值的护盾", }, 6302: { - uuid:6302,name:"治疗",sp_name:"buff_wind",icon:"1292",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Heal, + uuid:6302,name:"治疗1",sp_name:"buff_wind",icon:"1292",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Heal, ap:30,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"治疗自己,回复30%最大生命值", }, 6303:{ - uuid:6303,name:"群体魔法盾",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Team,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Shield, + uuid:6303,name:"群体魔法盾1",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Team,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Shield, ap:20,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"全体获得20%最大生命值的护盾", }, 6304: { - uuid:6304,name:"群体治疗",sp_name:"buff_wind",icon:"1292",TGroup:TGroup.Team,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Heal, + uuid:6304,name:"群体治疗1",sp_name:"buff_wind",icon:"1292",TGroup:TGroup.Team,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Heal, ap:20,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"全体队友,回复20%最大生命值", }, + 6311:{ + uuid:6311,name:"魔法盾2",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Shield, + ap:40,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"获得40%最大生命值的护盾", + }, + 6312: { + uuid:6312,name:"治疗2",sp_name:"buff_wind",icon:"1292",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Heal, + ap:40,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"治疗自己,回复40%最大生命值", + }, + 6313:{ + uuid:6313,name:"群体魔法盾2",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Team,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Shield, + ap:25,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"全体获得25%最大生命值的护盾", + }, + 6314: { + uuid:6314,name:"群体治疗2",sp_name:"buff_wind",icon:"1292",TGroup:TGroup.Team,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Heal, + ap:25,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"全体队友,回复25%最大生命值", + }, + 6321:{ + uuid:6321,name:"魔法盾3",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Shield, + ap:50,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"获得50%最大生命值的护盾", + }, + 6322: { + uuid:6322,name:"治疗3",sp_name:"buff_wind",icon:"1292",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Heal, + ap:50,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"治疗自己,回复50%最大生命值", + }, + 6323:{ + uuid:6323,name:"群体魔法盾3",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Team,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Shield, + ap:30,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"全体获得30%最大生命值的护盾", + }, + 6324: { + uuid:6324,name:"群体治疗3",sp_name:"buff_wind",icon:"1292",TGroup:TGroup.Team,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Heal, + ap:30,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[],info:"全体队友,回复30%最大生命值", + }, - 6401:{ - uuid:6401,name:"单体攻击1",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, - ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1002],info:"自身+5攻击", - }, - 6402:{ - uuid:6402,name:"单体生命1",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, - ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1102],info:"自身+20最大生命值", - }, - 6403:{ - uuid:6403,name:"单体全能1",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, - ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1001,1101],info:"自身+2攻击,+10最大生命值", - }, - 6411:{ - uuid:6411,name:"单体攻击2",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, - ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1003],info:"自身+10攻击", - }, - 6412:{ - uuid:6412,name:"单体生命2",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, - ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1103],info:"自身+30最大生命值", - }, - 6413:{ - uuid:6413,name:"单体全能2",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, - ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1002,1102],info:"自身+5攻击,+20最大生命值", - }, - 6421:{ - uuid:6421,name:"单体攻击3",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, - ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1004],info:"自身+15攻击", - }, - 6422:{ - uuid:6422,name:"单体生命3",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, - ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1104],info:"自身+40最大生命值", - }, - 6423:{ - uuid:6423,name:"单体全能3",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, - ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1003,1103],info:"自身+10攻击,+30最大生命值", - }, - 6431:{ - uuid:6431,name:"单体攻击4",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, - ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1005],info:"自身+20攻击", - }, - 6432:{ - uuid:6432,name:"单体生命4",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, - ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1105],info:"自身+50最大生命值", - }, - 6433:{ - uuid:6433,name:"单体全能4",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, - ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1004,1104],info:"自身+15攻击,+40最大生命值", - }, - 6441:{ - uuid:6441,name:"单体攻击5",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, - ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1006],info:"自身+25攻击", - }, - 6442:{ - uuid:6442,name:"单体生命5",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, - ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1106],info:"自身+60最大生命值", - }, - 6443:{ - uuid:6443,name:"单体全能5",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, - ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1005,1105],info:"自身+20攻击,+50最大生命值", - }, - 6451:{ - uuid:6451,name:"单体攻击6",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, - ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1007],info:"自身+30攻击", - }, - 6452:{ - uuid:6452,name:"单体生命6",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, - ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1107],info:"自身+70最大生命值", - }, - 6453:{ - uuid:6453,name:"单体全能6",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Self,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, - ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1006,1106],info:"自身+25攻击,+60最大生命值", - }, 6601:{ uuid:6601,name:"全体攻击1",sp_name:"buff_wind",icon:"1255",TGroup:TGroup.Team,readyAnm:"",endAnm:"",act:"atk",DTType:DTType.single,kind:SkillKind.Support, ap:0,hit_count:1,hitcd:0.2,speed:720,with:0,ready:0,EAnm:0,DAnm:9001,RType:RType.fixed,EType:EType.animationEnd,buffs:[1001],info:"全体+2攻击", diff --git a/assets/script/game/common/config/heroSet.ts b/assets/script/game/common/config/heroSet.ts index 3d2330c6..9b0331b1 100644 --- a/assets/script/game/common/config/heroSet.ts +++ b/assets/script/game/common/config/heroSet.ts @@ -60,6 +60,7 @@ export interface heroInfo { path: string; // 资源路径(对应美术资源名) fac: FacSet; // 阵营(FacSet.HERO 或 FacSet.MON) kind?: number; // 未使用 + lv: number; // 等级 as: number; // 攻击间隔(越小越快) ss:number; // 技能间隔 type: HType; // 攻击定位(近战/中程/远程) @@ -74,29 +75,48 @@ export interface heroInfo { export const HeroInfo: Record = { - // ========== 英雄角色 ========== - - 5001:{uuid:5001,name:"盾战士",path:"hk1", fac:FacSet.HERO, as:1,ss:5,type:HType.Melee,hp:300,ap:25,speed:120,skills:[6001,6201],info:""}, - 5008:{uuid:5008,name:"圣骑士",path:"", fac:FacSet.HERO, as:1,ss:5,type:HType.Melee,hp:340,ap:22,speed:115,skills:[6001,6202],info:""}, - 5014:{uuid:5014,name:"风行剑士",path:"", fac:FacSet.HERO, as:1,ss:5,type:HType.Melee,hp:210,ap:38,speed:170,skills:[6001,6104],info:""}, - 5007:{uuid:5007,name:"刺客",path:"hc1", fac:FacSet.HERO, as:1,ss:5,type:HType.Melee,hp:140,ap:50,speed:180,skills:[6001,6102],info:""}, + // ========== 近战英雄 ========== + 5001:{uuid:5001,name:"盾战士",path:"hk1", fac:FacSet.HERO, lv:1,as:1,ss:5,type:HType.Melee,hp:300,ap:25,speed:120, + skills:[6001,6201],info:""}, + 5002:{uuid:5002,name:"圣骑士",path:"", fac:FacSet.HERO, lv:1,as:1,ss:5,type:HType.Melee,hp:340,ap:22,speed:115, + skills:[6001,6202],info:""}, + 5003:{uuid:5003,name:"风行剑士",path:"", fac:FacSet.HERO, lv:1,as:1,ss:5,type:HType.Melee,hp:210,ap:38,speed:170, + skills:[6001,6104],info:""}, + 5004:{uuid:5004,name:"刺客",path:"hc1", fac:FacSet.HERO, lv:1,as:1,ss:5,type:HType.Melee,hp:140,ap:50,speed:180, + skills:[6001,6102],info:""}, - 5002:{uuid:5002,name:"奥术法师",path:"hm2", fac:FacSet.HERO, as:1,ss:5,type:HType.Long,hp:150,ap:40,speed:95,skills:[6008,6105],info:""}, - 5004:{uuid:5004,name:"火焰法师",path:"hm1", fac:FacSet.HERO, as:1,ss:5,type:HType.Long,hp:150,ap:45,speed:90,skills:[6006,6007],info:""}, - 5006:{uuid:5006,name:"冰法法师",path:"hz1", fac:FacSet.HERO, as:1,ss:5,type:HType.Long,hp:200,ap:20,speed:105,skills:[6004,6005],info:""}, - 5010:{uuid:5010,name:"寒霜术士",path:"", fac:FacSet.HERO, as:1,ss:5,type:HType.Long,hp:160,ap:36,speed:105,skills:[6005,6107],info:""}, - 5011:{uuid:5011,name:"炎爆法师",path:"", fac:FacSet.HERO, as:1,ss:5,type:HType.Long,hp:155,ap:42,speed:95,skills:[6007,6108],info:""}, + + // ========== 法师英雄 ========== + 5101:{uuid:5101,name:"奥术法师",path:"hm2", fac:FacSet.HERO, lv:1,as:1,ss:5,type:HType.Long,hp:150,ap:40,speed:95, + skills:[6008,6105],info:""}, + 5102:{uuid:5012,name:"火焰法师",path:"hm1", fac:FacSet.HERO, lv:1,as:1,ss:5,type:HType.Long,hp:150,ap:45,speed:90, + skills:[6006,6007],info:""}, + 5103:{uuid:5013,name:"冰法法师",path:"hz1", fac:FacSet.HERO, lv:1,as:1,ss:5,type:HType.Long,hp:200,ap:20,speed:105, + skills:[6004,6005],info:""}, + 5104:{uuid:5104,name:"寒霜术士",path:"", fac:FacSet.HERO, lv:1,as:1,ss:5,type:HType.Long,hp:160,ap:36,speed:105, + skills:[6005,6107],info:""}, + 5105:{uuid:5105,name:"炎爆法师",path:"", fac:FacSet.HERO, lv:1,as:1,ss:5,type:HType.Long,hp:155,ap:42,speed:95, + skills:[6007,6108],info:""}, - 5003:{uuid:5003,name:"射手",path:"ha1", fac:FacSet.HERO, as:1,ss:5,type:HType.Long,hp:180,ap:30,speed:140,skills:[6002,6003],info:""}, - 5009:{uuid:5009,name:"游侠",path:"", fac:FacSet.HERO, as:1,ss:5,type:HType.Long,hp:170,ap:32,speed:145,skills:[6002,6101],info:""}, + // ========== 远程英雄 ========== + 5201:{uuid:5201,name:"射手",path:"ha1", fac:FacSet.HERO, lv:1,as:1,ss:5,type:HType.Long,hp:180,ap:30,speed:140, + skills:[6002,6003],info:""}, + 5202:{uuid:5202,name:"游侠",path:"", fac:FacSet.HERO, lv:1,as:1,ss:5,type:HType.Long,hp:170,ap:32,speed:145, + skills:[6002,6101],info:""}, - 5005:{uuid:5005,name:"牧师",path:"hh1", fac:FacSet.HERO, as:1,ss:5,type:HType.Long,hp:160,ap:25,speed:100,skills:[6003,6100],info:""}, - 5012:{uuid:5012,name:"战地医师",path:"", fac:FacSet.HERO, as:1,ss:5,type:HType.Mid,hp:220,ap:24,speed:120,skills:[6004,6204],info:""}, - 5013:{uuid:5013,name:"守护祭司",path:"", fac:FacSet.HERO, as:1,ss:5,type:HType.Mid,hp:240,ap:20,speed:110,skills:[6006,6203],info:""}, - 5015:{uuid:5015,name:"秘法贤者",path:"", fac:FacSet.HERO, as:1,ss:5,type:HType.Long,hp:175,ap:34,speed:100,skills:[6003,6207],info:""}, + // ========== 腐竹英雄 ========== + 5301:{uuid:5301,name:"牧师",path:"hh1", fac:FacSet.HERO, lv:1,as:1,ss:5,type:HType.Long,hp:160,ap:25,speed:100, + skills:[6003,6100],info:""}, + + 5302:{uuid:5302,name:"战地医师",path:"", fac:FacSet.HERO, lv:1,as:1,ss:5,type:HType.Mid,hp:220,ap:24,speed:120, + skills:[6004,6204],info:""}, + 5303:{uuid:5303,name:"守护祭司",path:"", fac:FacSet.HERO, lv:1,as:1,ss:5,type:HType.Mid,hp:240,ap:20,speed:110, + skills:[6006,6203],info:""}, + 5304:{uuid:5304,name:"秘法贤者",path:"", fac:FacSet.HERO, lv:1,as:1,ss:5,type:HType.Long,hp:175,ap:34,speed:100, + skills:[6003,6207],info:""}, @@ -107,22 +127,22 @@ export const HeroInfo: Record = { - + //============== 兽人系列 =============== // 1. 基础近战型 - 5201:{uuid:5201,name:"兽人战士",path:"mo1", fac:FacSet.MON, as:3.0,ss:10,type:HType.Melee,hp:60,ap:8,speed:180,skills:[6001,6003],info:""}, + 6001:{uuid:6001,name:"兽人战士",path:"mo1", fac:FacSet.MON, lv:1,as:3.0,ss:10,type:HType.Melee,hp:60,ap:8,speed:180,skills:[6001,6003],info:""}, // 2. 快速突击型 - 5301:{uuid:5301,name:"兽人斥候",path:"mo1", fac:FacSet.MON, as:1.2,ss:10,type:HType.Melee,hp:40,ap:12,speed:400,skills:[6001,6003],info:""}, + 6002:{uuid:6002,name:"兽人斥候",path:"mo1", fac:FacSet.MON, lv:1,as:1.2,ss:10,type:HType.Melee,hp:40,ap:12,speed:400,skills:[6001,6003],info:""}, // 3. 重型坦克型 - 5401:{uuid:5401,name:"兽人卫士",path:"mo3", fac:FacSet.MON, as:5.0,ss:10,type:HType.Melee,hp:200,ap:15,speed:60,skills:[6001,6003],info:""}, + 6003:{uuid:6003,name:"兽人卫士",path:"mo3", fac:FacSet.MON, lv:1,as:5.0,ss:10,type:HType.Melee,hp:200,ap:15,speed:60,skills:[6001,6003],info:""}, // 4. 远程骚扰型 - 5501:{uuid:5501,name:"兽人射手",path:"mo1", fac:FacSet.MON, as:3.0,ss:10,type:HType.Long,hp:50,ap:10,speed:90,skills:[6001,6003],info:""}, + 6004:{uuid:6004,name:"兽人射手",path:"mo1", fac:FacSet.MON, lv:1,as:3.0,ss:10,type:HType.Long,hp:50,ap:10,speed:90,skills:[6001,6003],info:""}, // 5. 特殊机制型 - 5601:{uuid:5601,name:"兽人自爆兵",path:"mo1", fac:FacSet.MON, as:3.0,ss:10,type:HType.Melee,hp:80,ap:200,speed:220,skills:[6001,6003],info:""}, - 5602:{uuid:5602,name:"兽人召唤师",path:"mo1", fac:FacSet.MON, as:3.0,ss:10,type:HType.Melee,hp:150,ap:10,speed:100,skills:[6001,6003],info:""}, - 5603:{uuid:5603,name:"兽人祭司",path:"mo1", fac:FacSet.MON, as:3.0,ss:10,type:HType.Melee,hp:150,ap:10,speed:105,skills:[6001,6003],info:""}, - 5604:{uuid:5604,name:"兽人图腾师",path:"mo1", fac:FacSet.MON, as:3.0,ss:10,type:HType.Melee,hp:150,ap:10,speed:110,skills:[6001,6003],info:""}, + 6005:{uuid:6005,name:"兽人自爆兵",path:"mo1", fac:FacSet.MON, lv:1,as:3.0,ss:10,type:HType.Melee,hp:80,ap:200,speed:220,skills:[6001,6003],info:""}, + 6006:{uuid:6006,name:"兽人召唤师",path:"mo1", fac:FacSet.MON, lv:1,as:3.0,ss:10,type:HType.Melee,hp:150,ap:10,speed:100,skills:[6001,6003],info:""}, + 6007:{uuid:6007,name:"兽人祭司",path:"mo1", fac:FacSet.MON, lv:1,as:3.0,ss:10,type:HType.Melee,hp:150,ap:10,speed:105,skills:[6001,6003],info:""}, + 6008:{uuid:6008,name:"兽人图腾师",path:"mo1", fac:FacSet.MON, lv:1,as:3.0,ss:10,type:HType.Melee,hp:150,ap:10,speed:110,skills:[6001,6003],info:""}, // 6. 精英/BOSS型 - 5701:{uuid:5701,name:"兽人首领(BOSS)",path:"mo4", fac:FacSet.MON, as:2.5,ss:10,type:HType.Melee,hp:2000,ap:60,speed:120,skills:[6002,6004],info:""}, + 6009:{uuid:6009,name:"兽人首领(BOSS)",path:"mo4", fac:FacSet.MON, lv:1,as:2.5,ss:10,type:HType.Melee,hp:2000,ap:60,speed:120,skills:[6002,6004],info:""}, }; diff --git a/assets/script/game/hero/Hero.ts b/assets/script/game/hero/Hero.ts index 87ad2bb0..60d80e86 100644 --- a/assets/script/game/hero/Hero.ts +++ b/assets/script/game/hero/Hero.ts @@ -39,7 +39,7 @@ export class Hero extends ecs.Entity { /** 加载角色 */ - load(pos: Vec3 = Vec3.ZERO,scale:number = 1,uuid:number=1001, dropToY:number = pos.y) { + load(pos: Vec3 = Vec3.ZERO,scale:number = 1,uuid:number=1001, dropToY:number = pos.y,hero_lv:number=1) { scale = 1 // 查找空闲英雄槽位 let size=1 @@ -67,7 +67,7 @@ export class Hero extends ecs.Entity { // 设置 Model 层属性(数据相关) model.hero_uuid = uuid; model.hero_name = hero.name; - model.lv = 1 + model.lv = hero_lv; model.type = hero.type; model.fac = FacSet.HERO; // 只有主角才挂载天赋组件 @@ -75,15 +75,16 @@ export class Hero extends ecs.Entity { // ✅ 初始化技能数据(迁移到 HeroSkillsComp) // 设置基础属性 - model.ap = hero.ap; - model.hp= model.hp_max = hero.hp; + model.ap = hero.ap*model.lv; + model.hp= model.hp_max = hero.hp*model.lv; model.speed = hero.speed; model.a_cd_max=hero.as model.s_cd_max=hero.ss // 初始化技能信息数组 - if(hero.skills[0]) model.atk_id=hero.skills[0] - if(hero.skills[1]) { - model.skill_id=hero.skills[1] + if(hero.skills[0]) model.atk_id=hero.skills[0]*model.lv + let s_lv=hero.skills[model.lv]?model.lv:1 + if(hero.skills[s_lv]) { + model.skill_id=hero.skills[s_lv] } model.updateSkillDistanceCache(model.skill_id || model.atk_id); diff --git a/assets/script/game/map/CardComp.ts b/assets/script/game/map/CardComp.ts index 27d5c6ce..b0185463 100644 --- a/assets/script/game/map/CardComp.ts +++ b/assets/script/game/map/CardComp.ts @@ -2,7 +2,7 @@ import { mLogger } from "../common/Logger"; import { _decorator, Animation, AnimationClip, EventTouch, Label, Node, NodeEventType, Sprite, SpriteAtlas, Tween, tween, UIOpacity, Vec3, resources } 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 { CardConfig, CardType } from "../common/config/CardSet"; +import { CardConfig, CardType, SpecialCardList } from "../common/config/CardSet"; import { CardUseComp } from "./CardUseComp"; import { HeroInfo } from "../common/config/heroSet"; import { BuffsList, SkillSet } from "../common/config/SkillSet"; @@ -22,9 +22,9 @@ export class CardComp extends CCComp { @property(Node) unLock: Node = null! @property(Node) - ap_node=null! + info_node=null! @property(Node) - hp_node=null! + oinfo_node=null! @property(Node) name_node=null! @property(Node) @@ -320,10 +320,23 @@ export class CardComp extends CCComp { this.iconVisualToken += 1; if (this.opacityComp) this.opacityComp.opacity = 255; this.node.setPosition(this.restPosition); - this.setLabel(this.name_node, `${CardType[this.card_type]}-${this.card_uuid}`); + + + if(this.card_type===CardType.Hero){ + this.setLabel(this.name_node, `${HeroInfo[this.card_uuid].name}Lv.${this.cardData.hero_lv}`); + this.info_node.active = true; + this.oinfo_node.active = false; + this.info_node.getChildByName("ap").getChildByName("val").getComponent(Label).string = `${HeroInfo[this.card_uuid].ap*this.cardData.hero_lv}`; + this.info_node.getChildByName("hp").getChildByName("val").getComponent(Label).string = `${HeroInfo[this.card_uuid].hp*this.cardData.hero_lv}`; + }else{ + this.setLabel(this.name_node, `${SpecialCardList[this.card_uuid].name}Lv.${this.cardData.lv}`); + this.info_node.active = false; + this.oinfo_node.active = true; + this.oinfo_node.getChildByName("info").getComponent(Label).string = `${SpecialCardList[this.card_uuid].info}`; + } + this.setLabel(this.cost_node, `${this.card_cost}`); - if (this.ap_node) this.ap_node.active = false; - if (this.hp_node) this.hp_node.active = false; + const iconNode = this.icon_node as Node; if (this.card_type === CardType.Hero) { this.updateHeroAnimation(iconNode, this.card_uuid, this.iconVisualToken); @@ -383,8 +396,8 @@ export class CardComp extends CCComp { this.iconVisualToken += 1; this.setLabel(this.name_node, ""); this.setLabel(this.cost_node, ""); - if (this.ap_node) this.ap_node.active = false; - if (this.hp_node) this.hp_node.active = false; + if (this.info_node) this.info_node.active = false; + if (this.oinfo_node) this.oinfo_node.active = false; this.clearIconAnimation(this.icon_node as Node); const sprite = this.icon_node?.getComponent(Sprite) || this.icon_node?.getComponentInChildren(Sprite); if (sprite) sprite.spriteFrame = null; diff --git a/assets/script/game/map/MissionHeroComp.ts b/assets/script/game/map/MissionHeroComp.ts index 477387e9..d98203f7 100644 --- a/assets/script/game/map/MissionHeroComp.ts +++ b/assets/script/game/map/MissionHeroComp.ts @@ -52,17 +52,17 @@ export class MissionHeroCompComp extends CCComp { } private call_hero(event: string, args: any){ - this.addHero(args.uuid) + this.addHero(args.uuid,args.hero_lv) } /** 添加英雄 */ - private addHero(uuid:number=1001) { + private addHero(uuid:number=1001,hero_lv:number=1) { console.log("addHero uuid:",uuid) let hero_pos=0 let hero = ecs.getEntity(Hero); let scale = 1 let landingPos:Vec3 = HeroPos[hero_pos].pos; let spawnPos:Vec3 = v3(landingPos.x, landingPos.y + MissionHeroCompComp.HERO_DROP_HEIGHT, 0); - hero.load(spawnPos,scale,uuid,landingPos.y); + hero.load(spawnPos,scale,uuid,landingPos.y,hero_lv); } diff --git a/assets/script/game/map/RogueConfig.ts b/assets/script/game/map/RogueConfig.ts index 8efdc2df..72391e32 100644 --- a/assets/script/game/map/RogueConfig.ts +++ b/assets/script/game/map/RogueConfig.ts @@ -22,9 +22,9 @@ export const MonType = { // } export const MonList = { - [MonType.AP]: [5201,5401], // 近战高功 - [MonType.SPEED]: [5301], // 高速贴近 - [MonType.HP]: [5501], // 高血皮厚 + [MonType.AP]: [6001,6002], // 近战高功 + [MonType.SPEED]: [6003], // 高速贴近 + [MonType.HP]: [6009], // 高血皮厚 //远程攻击 // }