From 52fe4358ea25163a118da1fe6ed6926a72226c88 Mon Sep 17 00:00:00 2001 From: panw Date: Wed, 15 Apr 2026 14:41:23 +0800 Subject: [PATCH] =?UTF-8?q?feat(=E6=8A=80=E8=83=BD=E6=8F=90=E7=A4=BA):=20?= =?UTF-8?q?=E5=9C=A8=E6=8A=80=E8=83=BD=E5=90=8D=E7=A7=B0=E5=90=8E=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E6=96=BD=E6=94=BE=E6=AC=A1=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 当技能有多次施放时,在技能名称后添加"*N"标识 --- .../resources/game/skill/buff/tooltip.prefab | 2042 ++++++++++++++++- assets/script/game/hero/HeroViewComp.ts | 7 +- assets/script/game/hero/SCastSystem.ts | 8 +- assets/script/game/skill/TooltipCom.ts | 2 +- 4 files changed, 1937 insertions(+), 122 deletions(-) diff --git a/assets/resources/game/skill/buff/tooltip.prefab b/assets/resources/game/skill/buff/tooltip.prefab index 6d193f41..a66e8cee 100644 --- a/assets/resources/game/skill/buff/tooltip.prefab +++ b/assets/resources/game/skill/buff/tooltip.prefab @@ -34,35 +34,35 @@ "__id__": 82 }, { - "__id__": 94 + "__id__": 172 }, { - "__id__": 104 + "__id__": 182 }, { - "__id__": 114 + "__id__": 192 }, { - "__id__": 130 + "__id__": 208 }, { - "__id__": 146 + "__id__": 224 } ], "_active": true, "_components": [ { - "__id__": 164 + "__id__": 242 }, { - "__id__": 166 + "__id__": 244 }, { - "__id__": 168 + "__id__": 246 } ], "_prefab": { - "__id__": 170 + "__id__": 248 }, "_lpos": { "__type__": "cc.Vec3", @@ -2120,17 +2120,17 @@ "__id__": 83 } ], - "_active": false, + "_active": true, "_components": [ { - "__id__": 89 + "__id__": 167 }, { - "__id__": 91 + "__id__": 169 } ], "_prefab": { - "__id__": 93 + "__id__": 171 }, "_lpos": { "__type__": "cc.Vec3", @@ -2169,18 +2169,195 @@ "_parent": { "__id__": 82 }, - "_children": [], + "_children": [ + { + "__id__": 84 + } + ], "_active": true, "_components": [ { - "__id__": 84 + "__id__": 162 }, + { + "__id__": 164 + } + ], + "_prefab": { + "__id__": 166 + }, + "_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": "Node", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 83 + }, + "_children": [ + { + "__id__": 85 + }, + { + "__id__": 97 + }, + { + "__id__": 109 + }, + { + "__id__": 121 + }, + { + "__id__": 133 + }, + { + "__id__": 145 + } + ], + "_active": true, + "_components": [ + { + "__id__": 157 + }, + { + "__id__": 159 + } + ], + "_prefab": { + "__id__": 161 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -65.359375, + "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": "dead", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 84 + }, + "_children": [ { "__id__": 86 } ], + "_active": false, + "_components": [ + { + "__id__": 92 + }, + { + "__id__": 94 + } + ], "_prefab": { - "__id__": 88 + "__id__": 96 + }, + "_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": 0.5, + "y": 0.5, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "function_icon_death", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 85 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 87 + }, + { + "__id__": 89 + } + ], + "_prefab": { + "__id__": 91 }, "_lpos": { "__type__": "cc.Vec3", @@ -2211,6 +2388,1635 @@ }, "_id": "" }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 86 + }, + "_enabled": true, + "__prefab": { + "__id__": 88 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 48, + "height": 38 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9f1/9co+FA9ZtVhnZf2I3O" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 86 + }, + "_enabled": true, + "__prefab": { + "__id__": 90 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 184, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@2505c", + "__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": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8cQwK8WvhG272Ip9WaedUJ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "5dRCLLIV1O1YhvmfZst5oL", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 85 + }, + "_enabled": true, + "__prefab": { + "__id__": 93 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 50, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "53L+zD3fxKcbOVaknE4ngw" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 85 + }, + "_enabled": true, + "__prefab": { + "__id__": 95 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@2505c", + "__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": "5c4akofX1LMqgB4GIcutey" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "02RSr0EWhEH5//jcW8tpEY", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "atking", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 84 + }, + "_children": [ + { + "__id__": 98 + } + ], + "_active": true, + "_components": [ + { + "__id__": 104 + }, + { + "__id__": 106 + } + ], + "_prefab": { + "__id__": 108 + }, + "_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": 0.5, + "y": 0.5, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "function_icon_sword_1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 97 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 99 + }, + { + "__id__": 101 + } + ], + "_prefab": { + "__id__": 103 + }, + "_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__": 98 + }, + "_enabled": true, + "__prefab": { + "__id__": 100 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 38, + "height": 38 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "72CkPt/GJGyrQ31FkrD9vl" + }, + { + "__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": 184, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@d271f", + "__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": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8deubZOyVD/5dczuIY+4eP" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "74hLN83gBLHaRI7LzIqcxK", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 97 + }, + "_enabled": true, + "__prefab": { + "__id__": 105 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f1DVu8LDxIJ6X3kXXJdiuk" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 97 + }, + "_enabled": true, + "__prefab": { + "__id__": 107 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@d271f", + "__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": "deVDZdyEdMtqklm7L11Udu" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "7fK9ZZONJKsKdodKXJA9Mn", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "atked", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 84 + }, + "_children": [ + { + "__id__": 110 + } + ], + "_active": false, + "_components": [ + { + "__id__": 116 + }, + { + "__id__": 118 + } + ], + "_prefab": { + "__id__": 120 + }, + "_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": 0.5, + "y": 0.5, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "function_icon_goal", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 109 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 111 + }, + { + "__id__": 113 + } + ], + "_prefab": { + "__id__": 115 + }, + "_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__": 110 + }, + "_enabled": true, + "__prefab": { + "__id__": 112 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 38, + "height": 38 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b5pgLFdP5A4YGY4EsA7LgH" + }, + { + "__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": 184, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@0961b", + "__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": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "21JOrxqY1IpZfKfygjF3AB" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "eaZbtdTIBMY4Tx4YPHUYlo", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 109 + }, + "_enabled": true, + "__prefab": { + "__id__": 117 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 40, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "461c3NfXFGz6C45u/kTrz8" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 109 + }, + "_enabled": true, + "__prefab": { + "__id__": 119 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@0961b", + "__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": "06l0fGPc9OQLKraooOzWkb" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "54TeEPiV1PS69EA/YujKzr", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "call", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 84 + }, + "_children": [ + { + "__id__": 122 + } + ], + "_active": false, + "_components": [ + { + "__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": 0.5, + "y": 0.5, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "function_icon_blast", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 121 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 123 + }, + { + "__id__": 125 + } + ], + "_prefab": { + "__id__": 127 + }, + "_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__": 122 + }, + "_enabled": true, + "__prefab": { + "__id__": 124 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 44, + "height": 40 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8buGHbCO9OYLA5gghmCGl4" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 122 + }, + "_enabled": true, + "__prefab": { + "__id__": 126 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 184, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@7429a", + "__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": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f6/gDo2F1ORrX/ruJtZB87" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a4UecgrRtGCYXwnT/RuZpl", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 121 + }, + "_enabled": true, + "__prefab": { + "__id__": 129 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 46, + "height": 42 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "4c4BVNFU1AL5d6pBOmXCLS" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 121 + }, + "_enabled": true, + "__prefab": { + "__id__": 131 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@7429a", + "__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": "f3noky0e9Iyqwd+uIyBSgr" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "ffk99gYUZOy7FGolsWPJLC", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "fstart", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 84 + }, + "_children": [ + { + "__id__": 134 + } + ], + "_active": false, + "_components": [ + { + "__id__": 140 + }, + { + "__id__": 142 + } + ], + "_prefab": { + "__id__": 144 + }, + "_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": 0.5, + "y": 0.5, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "function_icon_knight", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 133 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 135 + }, + { + "__id__": 137 + } + ], + "_prefab": { + "__id__": 139 + }, + "_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__": 134 + }, + "_enabled": true, + "__prefab": { + "__id__": 136 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 42, + "height": 44 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "1dCHmb0exEGKARB1P/529o" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 134 + }, + "_enabled": true, + "__prefab": { + "__id__": 138 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 184, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@809f2", + "__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": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6bpxyS21xF+7S0QmxvT6HC" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "0ct78N8v1OarlQs6Z8yM44", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 133 + }, + "_enabled": true, + "__prefab": { + "__id__": 141 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 44, + "height": 46 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "05wR4W86hFjJtAk3q9xFat" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 133 + }, + "_enabled": true, + "__prefab": { + "__id__": 143 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@809f2", + "__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": "1dgLpCf0xAj5IqE5qgdjXb" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "95t30fLNJOXZ8DVs22e+Dh", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_name": "fend", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 84 + }, + "_children": [ + { + "__id__": 146 + } + ], + "_active": false, + "_components": [ + { + "__id__": 152 + }, + { + "__id__": 154 + } + ], + "_prefab": { + "__id__": 156 + }, + "_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": 0.5, + "y": -0.5, + "z": 1 + }, + "_mobility": 0, + "_layer": 1073741824, + "_euler": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_id": "" + }, + { + "__type__": "cc.Node", + "_name": "function_icon_knight", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 145 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 147 + }, + { + "__id__": 149 + } + ], + "_prefab": { + "__id__": 151 + }, + "_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__": 146 + }, + "_enabled": true, + "__prefab": { + "__id__": 148 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 42, + "height": 44 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "99waYVihtNDJ71XzkdarTF" + }, + { + "__type__": "cc.Sprite", + "_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": 184, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@809f2", + "__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": null, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "75x6VB9CdEnIg74Mvm8g8h" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "61daF9l3NFCoLOLKg+PdOR", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 145 + }, + "_enabled": true, + "__prefab": { + "__id__": 153 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 44, + "height": 46 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "bdI+S3VzVEtKcsfhR3nTFF" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 145 + }, + "_enabled": true, + "__prefab": { + "__id__": 155 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 0, + "g": 0, + "b": 0, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "cb93c900-b440-4571-91d1-7da1636e3d73@809f2", + "__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": "84akYiXzFOf4rghU/0Boq0" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "b8tXNJXRBNwJJLwKkyaxvJ", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 84 + }, + "_enabled": true, + "__prefab": { + "__id__": 158 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 100, + "height": 100 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b9/lSRewpOUJZKfDi4ofsZ" + }, + { + "__type__": "cc.Widget", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 84 + }, + "_enabled": true, + "__prefab": { + "__id__": 160 + }, + "_alignFlags": 10, + "_target": null, + "_left": -15, + "_right": 0.359375, + "_top": 0, + "_bottom": 0, + "_horizontalCenter": 0, + "_verticalCenter": 0, + "_isAbsLeft": true, + "_isAbsRight": true, + "_isAbsTop": true, + "_isAbsBottom": true, + "_isAbsHorizontalCenter": true, + "_isAbsVerticalCenter": true, + "_originalWidth": 100, + "_originalHeight": 0, + "_alignMode": 2, + "_lockFlags": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ca6cs6uJpMjKoVlkleFt7p" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "deTY1bnmtLzq1igR74DwJm", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, { "__type__": "cc.UITransform", "_name": "", @@ -2221,7 +4027,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 85 + "__id__": 163 }, "_contentSize": { "__type__": "cc.Size", @@ -2249,7 +4055,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 87 + "__id__": 165 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2330,7 +4136,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 90 + "__id__": 168 }, "_contentSize": { "__type__": "cc.Size", @@ -2358,7 +4164,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 92 + "__id__": 170 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2413,17 +4219,17 @@ }, "_children": [ { - "__id__": 95 + "__id__": 173 } ], "_active": false, "_components": [ { - "__id__": 101 + "__id__": 179 } ], "_prefab": { - "__id__": 103 + "__id__": 181 }, "_lpos": { "__type__": "cc.Vec3", @@ -2460,20 +4266,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 94 + "__id__": 172 }, "_children": [], "_active": true, "_components": [ { - "__id__": 96 + "__id__": 174 }, { - "__id__": 98 + "__id__": 176 } ], "_prefab": { - "__id__": 100 + "__id__": 178 }, "_lpos": { "__type__": "cc.Vec3", @@ -2510,11 +4316,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 95 + "__id__": 173 }, "_enabled": true, "__prefab": { - "__id__": 97 + "__id__": 175 }, "_contentSize": { "__type__": "cc.Size", @@ -2538,11 +4344,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 95 + "__id__": 173 }, "_enabled": true, "__prefab": { - "__id__": 99 + "__id__": 177 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2619,11 +4425,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 94 + "__id__": 172 }, "_enabled": true, "__prefab": { - "__id__": 102 + "__id__": 180 }, "_contentSize": { "__type__": "cc.Size", @@ -2664,17 +4470,17 @@ }, "_children": [ { - "__id__": 105 + "__id__": 183 } ], "_active": false, "_components": [ { - "__id__": 111 + "__id__": 189 } ], "_prefab": { - "__id__": 113 + "__id__": 191 }, "_lpos": { "__type__": "cc.Vec3", @@ -2711,20 +4517,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 104 + "__id__": 182 }, "_children": [], "_active": true, "_components": [ { - "__id__": 106 + "__id__": 184 }, { - "__id__": 108 + "__id__": 186 } ], "_prefab": { - "__id__": 110 + "__id__": 188 }, "_lpos": { "__type__": "cc.Vec3", @@ -2761,11 +4567,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 105 + "__id__": 183 }, "_enabled": true, "__prefab": { - "__id__": 107 + "__id__": 185 }, "_contentSize": { "__type__": "cc.Size", @@ -2789,11 +4595,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 105 + "__id__": 183 }, "_enabled": true, "__prefab": { - "__id__": 109 + "__id__": 187 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -2870,11 +4676,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 104 + "__id__": 182 }, "_enabled": true, "__prefab": { - "__id__": 112 + "__id__": 190 }, "_contentSize": { "__type__": "cc.Size", @@ -2915,20 +4721,20 @@ }, "_children": [ { - "__id__": 115 + "__id__": 193 }, { - "__id__": 121 + "__id__": 199 } ], "_active": false, "_components": [ { - "__id__": 127 + "__id__": 205 } ], "_prefab": { - "__id__": 129 + "__id__": 207 }, "_lpos": { "__type__": "cc.Vec3", @@ -2965,20 +4771,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 114 + "__id__": 192 }, "_children": [], "_active": true, "_components": [ { - "__id__": 116 + "__id__": 194 }, { - "__id__": 118 + "__id__": 196 } ], "_prefab": { - "__id__": 120 + "__id__": 198 }, "_lpos": { "__type__": "cc.Vec3", @@ -3015,11 +4821,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 115 + "__id__": 193 }, "_enabled": true, "__prefab": { - "__id__": 117 + "__id__": 195 }, "_contentSize": { "__type__": "cc.Size", @@ -3043,11 +4849,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 115 + "__id__": 193 }, "_enabled": true, "__prefab": { - "__id__": 119 + "__id__": 197 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3104,20 +4910,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 114 + "__id__": 192 }, "_children": [], "_active": true, "_components": [ { - "__id__": 122 + "__id__": 200 }, { - "__id__": 124 + "__id__": 202 } ], "_prefab": { - "__id__": 126 + "__id__": 204 }, "_lpos": { "__type__": "cc.Vec3", @@ -3154,11 +4960,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 121 + "__id__": 199 }, "_enabled": true, "__prefab": { - "__id__": 123 + "__id__": 201 }, "_contentSize": { "__type__": "cc.Size", @@ -3182,11 +4988,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 121 + "__id__": 199 }, "_enabled": true, "__prefab": { - "__id__": 125 + "__id__": 203 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3263,11 +5069,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 114 + "__id__": 192 }, "_enabled": true, "__prefab": { - "__id__": 128 + "__id__": 206 }, "_contentSize": { "__type__": "cc.Size", @@ -3308,20 +5114,20 @@ }, "_children": [ { - "__id__": 131 + "__id__": 209 }, { - "__id__": 137 + "__id__": 215 } ], "_active": false, "_components": [ { - "__id__": 143 + "__id__": 221 } ], "_prefab": { - "__id__": 145 + "__id__": 223 }, "_lpos": { "__type__": "cc.Vec3", @@ -3358,20 +5164,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 130 + "__id__": 208 }, "_children": [], "_active": true, "_components": [ { - "__id__": 132 + "__id__": 210 }, { - "__id__": 134 + "__id__": 212 } ], "_prefab": { - "__id__": 136 + "__id__": 214 }, "_lpos": { "__type__": "cc.Vec3", @@ -3408,11 +5214,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 131 + "__id__": 209 }, "_enabled": true, "__prefab": { - "__id__": 133 + "__id__": 211 }, "_contentSize": { "__type__": "cc.Size", @@ -3436,11 +5242,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 131 + "__id__": 209 }, "_enabled": true, "__prefab": { - "__id__": 135 + "__id__": 213 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3497,20 +5303,20 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 130 + "__id__": 208 }, "_children": [], "_active": true, "_components": [ { - "__id__": 138 + "__id__": 216 }, { - "__id__": 140 + "__id__": 218 } ], "_prefab": { - "__id__": 142 + "__id__": 220 }, "_lpos": { "__type__": "cc.Vec3", @@ -3547,11 +5353,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 137 + "__id__": 215 }, "_enabled": true, "__prefab": { - "__id__": 139 + "__id__": 217 }, "_contentSize": { "__type__": "cc.Size", @@ -3575,11 +5381,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 137 + "__id__": 215 }, "_enabled": true, "__prefab": { - "__id__": 141 + "__id__": 219 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3656,11 +5462,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 130 + "__id__": 208 }, "_enabled": true, "__prefab": { - "__id__": 144 + "__id__": 222 }, "_contentSize": { "__type__": "cc.Size", @@ -3701,17 +5507,17 @@ }, "_children": [ { - "__id__": 147 + "__id__": 225 } ], "_active": false, "_components": [ { - "__id__": 161 + "__id__": 239 } ], "_prefab": { - "__id__": 163 + "__id__": 241 }, "_lpos": { "__type__": "cc.Vec3", @@ -3748,24 +5554,24 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 146 + "__id__": 224 }, "_children": [ { - "__id__": 148 + "__id__": 226 } ], "_active": true, "_components": [ { - "__id__": 156 + "__id__": 234 }, { - "__id__": 158 + "__id__": 236 } ], "_prefab": { - "__id__": 160 + "__id__": 238 }, "_lpos": { "__type__": "cc.Vec3", @@ -3802,23 +5608,23 @@ "_objFlags": 0, "__editorExtras__": {}, "_parent": { - "__id__": 147 + "__id__": 225 }, "_children": [], "_active": true, "_components": [ { - "__id__": 149 + "__id__": 227 }, { - "__id__": 151 + "__id__": 229 }, { - "__id__": 153 + "__id__": 231 } ], "_prefab": { - "__id__": 155 + "__id__": 233 }, "_lpos": { "__type__": "cc.Vec3", @@ -3855,11 +5661,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 148 + "__id__": 226 }, "_enabled": true, "__prefab": { - "__id__": 150 + "__id__": 228 }, "_contentSize": { "__type__": "cc.Size", @@ -3883,11 +5689,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 148 + "__id__": 226 }, "_enabled": true, "__prefab": { - "__id__": 152 + "__id__": 230 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -3954,11 +5760,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 148 + "__id__": 226 }, "_enabled": true, "__prefab": { - "__id__": 154 + "__id__": 232 }, "_alignFlags": 8, "_target": null, @@ -4003,11 +5809,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 147 + "__id__": 225 }, "_enabled": true, "__prefab": { - "__id__": 157 + "__id__": 235 }, "_contentSize": { "__type__": "cc.Size", @@ -4031,11 +5837,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 147 + "__id__": 225 }, "_enabled": true, "__prefab": { - "__id__": 159 + "__id__": 237 }, "_customMaterial": null, "_srcBlendFactor": 2, @@ -4112,11 +5918,11 @@ "_objFlags": 0, "__editorExtras__": {}, "node": { - "__id__": 146 + "__id__": 224 }, "_enabled": true, "__prefab": { - "__id__": 162 + "__id__": 240 }, "_contentSize": { "__type__": "cc.Size", @@ -4157,7 +5963,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 165 + "__id__": 243 }, "_contentSize": { "__type__": "cc.Size", @@ -4185,7 +5991,7 @@ }, "_enabled": true, "__prefab": { - "__id__": 167 + "__id__": 245 }, "_id": "" }, @@ -4203,7 +6009,7 @@ }, "_enabled": false, "__prefab": { - "__id__": 169 + "__id__": 247 }, "playOnLoad": true, "_clips": [ diff --git a/assets/script/game/hero/HeroViewComp.ts b/assets/script/game/hero/HeroViewComp.ts index ff36bdd0..050c95ed 100644 --- a/assets/script/game/hero/HeroViewComp.ts +++ b/assets/script/game/hero/HeroViewComp.ts @@ -269,7 +269,12 @@ export class HeroViewComp extends CCComp { pos.y = pos.y + y; Tooltip.load(pos, type, value, s_uuid, this.node); } - + /** 技能提示 */ + public skill_name(value: string = "", s_uuid: number = 1001, y: number = 50) { + let pos = v3(0, 60); + pos.y = pos.y + y; + Tooltip.load(pos, TooltipTypes.skill, value, s_uuid, this.node); + } /** 血量提示(伤害数字) */ private hp_tip(type: number = 1, value: string = "", s_uuid: number = 1001, y: number = 0) { let x = this.node.position.x; diff --git a/assets/script/game/hero/SCastSystem.ts b/assets/script/game/hero/SCastSystem.ts index 708cc32b..d04e4ec9 100644 --- a/assets/script/game/hero/SCastSystem.ts +++ b/assets/script/game/hero/SCastSystem.ts @@ -108,7 +108,7 @@ export class SCastSystem extends ecs.ComblockSystem implements ecs.ISystemUpdate mockAttrs.back_chance = 0; mockAttrs.puncture = 0; mockAttrs.fac = FacSet.HERO; - + for (let i = 0; i < castTimes; i++) { if (isFriendly) { const friendlyTargets = this.resolveFriendlyTargets(targetEids, FacSet.HERO); @@ -232,7 +232,11 @@ export class SCastSystem extends ecs.ComblockSystem implements ecs.ISystemUpdate const sUp = SkillUpList[s_uuid] ? SkillUpList[s_uuid] : SkillUpList[1001]; const cNum = Math.min(2, Math.max(0, Math.floor(sUp.num ?? 0))); const castTimes = 1 + cNum; - + let val="" + if(castTimes >1){ + val = "*"+castTimes.toString + } + heroView.skill_name(val,s_uuid) for (let i = 0; i < castTimes; i++) { if (!heroView.node || !heroView.node.isValid) return; if (isFriendly) { diff --git a/assets/script/game/skill/TooltipCom.ts b/assets/script/game/skill/TooltipCom.ts index 053d39cf..ff3df7bc 100644 --- a/assets/script/game/skill/TooltipCom.ts +++ b/assets/script/game/skill/TooltipCom.ts @@ -101,7 +101,7 @@ export class TooltipCom extends CCComp { case TooltipTypes.skill: const skillConfig = SkillSet[this.s_uuid]; const skillName = skillConfig ? "<" + skillConfig.name + ">" : ""; - this.setupLabel("skill", "name", skillName); + this.setupLabel("skill", "name", skillName+this.value); this.node.setPosition(v3(this.node.position.x, currentY)); this.node.setSiblingIndex(topSiblingIndex); break;