From 5083910c9507fbfceb16c013383d480b7db5969b Mon Sep 17 00:00:00 2001 From: panw Date: Wed, 18 Jun 2025 16:04:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=8A=80=E8=83=BD=E6=B8=85=E7=90=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- assets/resources/game/skills/bingyu.prefab | 44 +---- assets/resources/game/skills/buff_all.prefab | 141 --------------- .../game/skills/buff_all.prefab.meta | 13 -- assets/resources/game/skills/buffto.prefab | 162 ----------------- .../resources/game/skills/buffto.prefab.meta | 13 -- assets/resources/game/skills/cuida.prefab | 23 +-- assets/resources/game/skills/debuff.prefab | 44 +---- assets/resources/game/skills/dianquan.prefab | 44 +---- assets/resources/game/skills/fireys.prefab | 44 +---- assets/resources/game/skills/flash.prefab | 23 +-- assets/resources/game/skills/fwind.prefab | 44 +---- .../resources/game/skills/heath_small.prefab | 23 +-- assets/resources/game/skills/icet.prefab | 44 +---- assets/resources/game/skills/icez.prefab | 44 +---- assets/resources/game/skills/kingba.prefab | 23 +-- assets/script/game/common/config/CardSet.ts | 10 ++ assets/script/game/common/config/CardsSet.ts | 168 ++++++++++++++++++ .../game/common/config/CardsSet.ts.meta | 9 + assets/script/game/map/EquipSkillComp.ts | 11 +- assets/script/todo.md | 2 +- 20 files changed, 209 insertions(+), 720 deletions(-) delete mode 100644 assets/resources/game/skills/buff_all.prefab delete mode 100644 assets/resources/game/skills/buff_all.prefab.meta delete mode 100644 assets/resources/game/skills/buffto.prefab delete mode 100644 assets/resources/game/skills/buffto.prefab.meta create mode 100644 assets/script/game/common/config/CardsSet.ts create mode 100644 assets/script/game/common/config/CardsSet.ts.meta diff --git a/assets/resources/game/skills/bingyu.prefab b/assets/resources/game/skills/bingyu.prefab index 5f41f53e..0a818af0 100644 --- a/assets/resources/game/skills/bingyu.prefab +++ b/assets/resources/game/skills/bingyu.prefab @@ -29,16 +29,10 @@ }, { "__id__": 10 - }, - { - "__id__": 12 - }, - { - "__id__": 14 } ], "_prefab": { - "__id__": 16 + "__id__": 12 }, "_lpos": { "__type__": "cc.Vec3", @@ -251,42 +245,6 @@ "__type__": "cc.CompPrefabInfo", "fileId": "8ahZv91itPcYJm8S0veHYl" }, - { - "__type__": "45555O5rSNCoInYTSkGkxIS", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 13 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "3bvjzQ/gdCNZjpTIg8X/x/" - }, - { - "__type__": "2e239CwoM1FmoR8QJ5eOtPz", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 15 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e0TE1xx+VJGKfRm/neG/NV" - }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/resources/game/skills/buff_all.prefab b/assets/resources/game/skills/buff_all.prefab deleted file mode 100644 index 884f2da8..00000000 --- a/assets/resources/game/skills/buff_all.prefab +++ /dev/null @@ -1,141 +0,0 @@ -[ - { - "__type__": "cc.Prefab", - "_name": "buff_all", - "_objFlags": 0, - "__editorExtras__": {}, - "_native": "", - "data": { - "__id__": 1 - }, - "optimizationPolicy": 0, - "persistent": false - }, - { - "__type__": "cc.Node", - "_name": "buff_all", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": null, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 2 - }, - { - "__id__": 4 - }, - { - "__id__": 6 - } - ], - "_prefab": { - "__id__": 8 - }, - "_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__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 3 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 720, - "height": 100 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "63NP9yq3hEUKD/OZZZ5t7x" - }, - { - "__type__": "45646oIyIdA24W+0c5rdELD", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "8ahZv91itPcYJm8S0veHYl" - }, - { - "__type__": "9e0d3yayihFMKm6st+kCG3D", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 7 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "67ZCgFgJpMoYe9C5hTfbWN" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "c46/YsCPVOJYA4mWEpNYRx", - "instance": null, - "targetOverrides": null - } -] \ No newline at end of file diff --git a/assets/resources/game/skills/buff_all.prefab.meta b/assets/resources/game/skills/buff_all.prefab.meta deleted file mode 100644 index f7794e98..00000000 --- a/assets/resources/game/skills/buff_all.prefab.meta +++ /dev/null @@ -1,13 +0,0 @@ -{ - "ver": "1.1.50", - "importer": "prefab", - "imported": true, - "uuid": "963874ed-fe4f-48ae-aa18-05cb8b80b336", - "files": [ - ".json" - ], - "subMetas": {}, - "userData": { - "syncNodeName": "buff_all" - } -} diff --git a/assets/resources/game/skills/buffto.prefab b/assets/resources/game/skills/buffto.prefab deleted file mode 100644 index f76c4485..00000000 --- a/assets/resources/game/skills/buffto.prefab +++ /dev/null @@ -1,162 +0,0 @@ -[ - { - "__type__": "cc.Prefab", - "_name": "buffto", - "_objFlags": 0, - "__editorExtras__": {}, - "_native": "", - "data": { - "__id__": 1 - }, - "optimizationPolicy": 0, - "persistent": false - }, - { - "__type__": "cc.Node", - "_name": "buffto", - "_objFlags": 0, - "__editorExtras__": {}, - "_parent": null, - "_children": [], - "_active": true, - "_components": [ - { - "__id__": 2 - }, - { - "__id__": 4 - }, - { - "__id__": 6 - }, - { - "__id__": 8 - } - ], - "_prefab": { - "__id__": 10 - }, - "_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": 1, - "_euler": { - "__type__": "cc.Vec3", - "x": 0, - "y": 0, - "z": 0 - }, - "_id": "" - }, - { - "__type__": "cc.UITransform", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 3 - }, - "_contentSize": { - "__type__": "cc.Size", - "width": 10, - "height": 10 - }, - "_anchorPoint": { - "__type__": "cc.Vec2", - "x": 0.5, - "y": 0.5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "89ju37xNVPJJOPezJpA7XB" - }, - { - "__type__": "45646oIyIdA24W+0c5rdELD", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": true, - "__prefab": { - "__id__": 5 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "c85qjxH1VHg7/9D7EtmgU5" - }, - { - "__type__": "2e239CwoM1FmoR8QJ5eOtPz", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 7 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "deBQkHYeFNy6ZH3Lm8VORa" - }, - { - "__type__": "2332a3ShwFGNr2JGE9vSJPe", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 9 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "b9U8c503JGWotNNLA4G31O" - }, - { - "__type__": "cc.PrefabInfo", - "root": { - "__id__": 1 - }, - "asset": { - "__id__": 0 - }, - "fileId": "65v9q/98dMjafRlb094Ctr", - "instance": null, - "targetOverrides": null - } -] \ No newline at end of file diff --git a/assets/resources/game/skills/buffto.prefab.meta b/assets/resources/game/skills/buffto.prefab.meta deleted file mode 100644 index 3f068524..00000000 --- a/assets/resources/game/skills/buffto.prefab.meta +++ /dev/null @@ -1,13 +0,0 @@ -{ - "ver": "1.1.50", - "importer": "prefab", - "imported": true, - "uuid": "f43b3edf-e51b-41fb-9f71-8fe457743477", - "files": [ - ".json" - ], - "subMetas": {}, - "userData": { - "syncNodeName": "buffto" - } -} diff --git a/assets/resources/game/skills/cuida.prefab b/assets/resources/game/skills/cuida.prefab index eb1fb6c2..fbc5290e 100644 --- a/assets/resources/game/skills/cuida.prefab +++ b/assets/resources/game/skills/cuida.prefab @@ -29,13 +29,10 @@ }, { "__id__": 10 - }, - { - "__id__": 12 } ], "_prefab": { - "__id__": 14 + "__id__": 12 }, "_lpos": { "__type__": "cc.Vec3", @@ -248,24 +245,6 @@ "__type__": "cc.CompPrefabInfo", "fileId": "8ahZv91itPcYJm8S0veHYl" }, - { - "__type__": "45555O5rSNCoInYTSkGkxIS", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 13 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "3bvjzQ/gdCNZjpTIg8X/x/" - }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/resources/game/skills/debuff.prefab b/assets/resources/game/skills/debuff.prefab index af78a945..6b226613 100644 --- a/assets/resources/game/skills/debuff.prefab +++ b/assets/resources/game/skills/debuff.prefab @@ -29,16 +29,10 @@ }, { "__id__": 10 - }, - { - "__id__": 12 - }, - { - "__id__": 14 } ], "_prefab": { - "__id__": 16 + "__id__": 12 }, "_lpos": { "__type__": "cc.Vec3", @@ -251,42 +245,6 @@ "__type__": "cc.CompPrefabInfo", "fileId": "8ahZv91itPcYJm8S0veHYl" }, - { - "__type__": "2e239CwoM1FmoR8QJ5eOtPz", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 13 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "c9ioYlpYFAEq/GGhOTTE4N" - }, - { - "__type__": "69132yvArpAqKg1MLrO05cB", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 15 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "056TZPKCFHcZrVqbqCkFDS" - }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/resources/game/skills/dianquan.prefab b/assets/resources/game/skills/dianquan.prefab index c21ba7a3..a458837d 100644 --- a/assets/resources/game/skills/dianquan.prefab +++ b/assets/resources/game/skills/dianquan.prefab @@ -29,16 +29,10 @@ }, { "__id__": 10 - }, - { - "__id__": 12 - }, - { - "__id__": 14 } ], "_prefab": { - "__id__": 16 + "__id__": 12 }, "_lpos": { "__type__": "cc.Vec3", @@ -251,42 +245,6 @@ "__type__": "cc.CompPrefabInfo", "fileId": "8ahZv91itPcYJm8S0veHYl" }, - { - "__type__": "6a7fejJxHlM5r/TS8IFF1Kq", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 13 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "4c47c40/5NYqQ9BorJuPcK" - }, - { - "__type__": "20503VOc7ZA84sbp8G72pxZ", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 15 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "9eF2PAF/ZE4oLd18R/CcWz" - }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/resources/game/skills/fireys.prefab b/assets/resources/game/skills/fireys.prefab index 9404d864..1913d628 100644 --- a/assets/resources/game/skills/fireys.prefab +++ b/assets/resources/game/skills/fireys.prefab @@ -29,16 +29,10 @@ }, { "__id__": 10 - }, - { - "__id__": 12 - }, - { - "__id__": 14 } ], "_prefab": { - "__id__": 16 + "__id__": 12 }, "_lpos": { "__type__": "cc.Vec3", @@ -251,42 +245,6 @@ "__type__": "cc.CompPrefabInfo", "fileId": "8ahZv91itPcYJm8S0veHYl" }, - { - "__type__": "45555O5rSNCoInYTSkGkxIS", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 13 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "3bvjzQ/gdCNZjpTIg8X/x/" - }, - { - "__type__": "2e239CwoM1FmoR8QJ5eOtPz", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 15 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "e0TE1xx+VJGKfRm/neG/NV" - }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/resources/game/skills/flash.prefab b/assets/resources/game/skills/flash.prefab index a48d3eb5..d395cdc1 100644 --- a/assets/resources/game/skills/flash.prefab +++ b/assets/resources/game/skills/flash.prefab @@ -29,13 +29,10 @@ }, { "__id__": 10 - }, - { - "__id__": 12 } ], "_prefab": { - "__id__": 14 + "__id__": 12 }, "_lpos": { "__type__": "cc.Vec3", @@ -245,24 +242,6 @@ "__type__": "cc.CompPrefabInfo", "fileId": "8ahZv91itPcYJm8S0veHYl" }, - { - "__type__": "9e0d3yayihFMKm6st+kCG3D", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 13 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "63XObdQV9MNLiUuCUV/dIw" - }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/resources/game/skills/fwind.prefab b/assets/resources/game/skills/fwind.prefab index 2a75cf12..db3e9746 100644 --- a/assets/resources/game/skills/fwind.prefab +++ b/assets/resources/game/skills/fwind.prefab @@ -29,16 +29,10 @@ }, { "__id__": 10 - }, - { - "__id__": 12 - }, - { - "__id__": 14 } ], "_prefab": { - "__id__": 16 + "__id__": 12 }, "_lpos": { "__type__": "cc.Vec3", @@ -251,42 +245,6 @@ "__type__": "cc.CompPrefabInfo", "fileId": "8ahZv91itPcYJm8S0veHYl" }, - { - "__type__": "2e239CwoM1FmoR8QJ5eOtPz", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 13 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "66QaoN6oxLQJtSZrGCqmIz" - }, - { - "__type__": "6a7fejJxHlM5r/TS8IFF1Kq", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 15 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "35q2dGmmZF2J4J5u44z1jv" - }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/resources/game/skills/heath_small.prefab b/assets/resources/game/skills/heath_small.prefab index 1c3879a9..a52c88a0 100644 --- a/assets/resources/game/skills/heath_small.prefab +++ b/assets/resources/game/skills/heath_small.prefab @@ -32,13 +32,10 @@ }, { "__id__": 10 - }, - { - "__id__": 12 } ], "_prefab": { - "__id__": 14 + "__id__": 12 }, "_lpos": { "__type__": "cc.Vec3", @@ -232,24 +229,6 @@ "__type__": "cc.CompPrefabInfo", "fileId": "7cJdSTCj5Eu4vDiD6FPj8P" }, - { - "__type__": "9e0d3yayihFMKm6st+kCG3D", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 13 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "d9m8Z9r0FAn79RIXwYOlkG" - }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/resources/game/skills/icet.prefab b/assets/resources/game/skills/icet.prefab index b3efae34..b7e8cf47 100644 --- a/assets/resources/game/skills/icet.prefab +++ b/assets/resources/game/skills/icet.prefab @@ -32,16 +32,10 @@ }, { "__id__": 12 - }, - { - "__id__": 14 - }, - { - "__id__": 16 } ], "_prefab": { - "__id__": 18 + "__id__": 14 }, "_lpos": { "__type__": "cc.Vec3", @@ -280,42 +274,6 @@ "__type__": "cc.CompPrefabInfo", "fileId": "f4FjKz0SlKzLQiRv9NKgJU" }, - { - "__type__": "2e239CwoM1FmoR8QJ5eOtPz", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 15 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "30IyV8mGNDe4xgtVIZXhYJ" - }, - { - "__type__": "6a7fejJxHlM5r/TS8IFF1Kq", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 17 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "cfIy5zwNtPC5+WhZdAgifR" - }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/resources/game/skills/icez.prefab b/assets/resources/game/skills/icez.prefab index 3f91c835..469e22cc 100644 --- a/assets/resources/game/skills/icez.prefab +++ b/assets/resources/game/skills/icez.prefab @@ -29,16 +29,10 @@ }, { "__id__": 10 - }, - { - "__id__": 12 - }, - { - "__id__": 14 } ], "_prefab": { - "__id__": 16 + "__id__": 12 }, "_lpos": { "__type__": "cc.Vec3", @@ -251,42 +245,6 @@ "__type__": "cc.CompPrefabInfo", "fileId": "8ahZv91itPcYJm8S0veHYl" }, - { - "__type__": "2e239CwoM1FmoR8QJ5eOtPz", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 13 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "f0WuCVyghGuoMRV2ZX5pXb" - }, - { - "__type__": "9e0d3yayihFMKm6st+kCG3D", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 15 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "05FOnPUwBHtLheyjnrR1hI" - }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/resources/game/skills/kingba.prefab b/assets/resources/game/skills/kingba.prefab index e6fbda8c..0971af1f 100644 --- a/assets/resources/game/skills/kingba.prefab +++ b/assets/resources/game/skills/kingba.prefab @@ -29,13 +29,10 @@ }, { "__id__": 10 - }, - { - "__id__": 12 } ], "_prefab": { - "__id__": 14 + "__id__": 12 }, "_lpos": { "__type__": "cc.Vec3", @@ -248,24 +245,6 @@ "__type__": "cc.CompPrefabInfo", "fileId": "8ahZv91itPcYJm8S0veHYl" }, - { - "__type__": "9e0d3yayihFMKm6st+kCG3D", - "_name": "", - "_objFlags": 0, - "__editorExtras__": {}, - "node": { - "__id__": 1 - }, - "_enabled": false, - "__prefab": { - "__id__": 13 - }, - "_id": "" - }, - { - "__type__": "cc.CompPrefabInfo", - "fileId": "93yD/FzRtIw4y+dp2MAd1k" - }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/script/game/common/config/CardSet.ts b/assets/script/game/common/config/CardSet.ts index 266812f1..690a9a96 100644 --- a/assets/script/game/common/config/CardSet.ts +++ b/assets/script/game/common/config/CardSet.ts @@ -119,4 +119,14 @@ export function getRandomCardsByType( uuid })); } +export const SuperCardsType={ + EQUIP:1, //装备加成 强化 + SKILL:2, //技能加成 强化 + AOE:3, //伤害技能 范围伤害 + DEBUFF:4, //debuff技能 范围debuff + BUFF:5, //buff技能 范围buff +} +export const SuperCards={ + 3001:{uuid:3001,name:"附魔宝典",path:"3001",type:SuperCardsType.EQUIP,value:1,tals:"你的提升英雄/伙伴生命/攻击力装备效果,额外添加+1"}, +} diff --git a/assets/script/game/common/config/CardsSet.ts b/assets/script/game/common/config/CardsSet.ts new file mode 100644 index 00000000..002b8f95 --- /dev/null +++ b/assets/script/game/common/config/CardsSet.ts @@ -0,0 +1,168 @@ +export enum TargetGroup { + Self = 0, // 自身 + Ally = 1, // 友方单位 + Team = 2, // 整个队伍 + Enemy = 3, // 敌方单位 + All = 4 // 所有单位 +} +export enum TargetType { + /** 前排目标(最靠近敌方阵营的单位) */ + Frontline = 1, // 最前排单位 + /** 后排目标(离敌方阵营最远的单位) */ + Backline = 2, // 最后排单位 + /** 生命值最低的目标 */ + LowestHP = 3, // 最低生命值 + /** 生命值最高的目标 */ + HighestHP = 4, // 最高生命值 + /** 近战职业目标 */ + Melee =5, // 近战职业 + /** 远程职业目标 */ + Ranged =6, // 远程职业 + /** 辅助职业目标 */ + SupportClass =7, // 辅助职业 + /** 随机目标 */ + Random =8 // 随机目标 +} +export enum skRun { + runing = 0, + dead = 1, +} + +//技能释放cd: 0:技能配置的cd,1:HeroViewComp.cd 值,2:HeroViewComp.pw:0值,当HeroViewComppw==HeroViewComp.pwm值是 释放 +export enum CdType { + SkillCD = 0, // 使用技能配置的cd + HeroCD = 1, // 使用英雄公共CD + HeroPower = 2, // 能量型技能(需满能量) + AtkCount = 3, // 攻击次数触发 + BeAtkCount = 4, // 被攻击次数触发 +} + + +//技能释放cd: 0:技能配置的cd,1:HeroViewComp.cd 值,2:HeroViewComp.pw:0值,当HeroViewComppw==HeroViewComp.pwm值是 释放 +export enum AnimType { + linear = 0, // 直线 + parabolic = 1, // 抛物线 贝塞尔 + fixed = 2, // 固定位置 + fixedStart = 3, // 固定在出发点 + fixedEnd = 4, // 固定在终点 +} + +export enum endType { + animationEnd = 0, + timeEnd = 1, + distanceEnd = 2, + collision = 3, + countEnd = 4, +} + +export enum DebuffAttr { + STUN = 1, //眩晕 + SLOW = 2, //减速 + FROST = 3, //冰冻 + BURN = 4, //易伤 + DECD = 5, //减cd + DEHP = 6, //减hp + DEATK = 7, //减atk + DECOUNT = 8, //减攻击次数 +} + +export enum BuffAttr { + ATK = 1, // 攻击力 + ATK_COUNT = 2, // 攻击个数 + ATK_CD = 3, // 攻击速度 + HP = 4, // 生命值 + DEF = 5, // 免伤 + SKILL_DMG = 6, // 技能效果 + SKILL_CD = 7, // 技能冷却缩减 + CARD_EFFECT = 8, // 卡牌效果 + CARD_COUNT = 8, // 卡牌起效次数,每3次多起效一次 +} + +export const geDebuffNum=()=>{ + return { + STUN:0, //眩晕 + SLOW:0, //减速 + FROST:0, //冰冻 + BURN:0, //易伤 + DECD:0, //减cd + DEHP:0, //减hp + DEATK:0, //减atk + DECOUNT:0, //减攻击次数 + } +} + + +export const getBuffNum=()=>{ + return { + ATK:0, // 攻击力 + ATK_COUNT:0, // 攻击个数 + ATK_CD:0, // 攻击速度 + HP:0, // 生命值 + DEF:0, // 免伤 + SKILL_DMG:0, // 技能效果 + SKILL_CD:0, // 技能冷却缩减 + CARD_EFFECT:0, // 卡牌效果 + CARD_COUNT:0, // 卡牌起效次数,每3次多起效一次 + } +} + + +/* +path: 图片地址 +[debuff] : 0:无,1:冰,2:灼烧,3:眩晕,4:降低攻击,5:降低hp,6:降低防御,7:吸血,8:击退 +depb:触发比率 +debtime :持续时间 +derate:伤害比率 +in:持续时间 +count:触发次数 +def:增加防御比例 +apup:增加攻击比例 +ap:施法者攻击 +mhp:增加最大生命比例 +hp:增加当前生命比例 +cd:buff/debuff持续时间 +buff_cd:buff/debuff触发时间 +hited:伤害时间 +shield:增加护盾占最大生命比例 +speed:移动速度 +sonsk:子技能id +hero:召唤物英雄id +info:技能描述 + +*/ +export const HeroSkillList = [6001,6001,6001,6001,6001,6001] +export const SkillSet = { + 6001:{uuid:6001,name:"凛冬之触",sp_name:"greenball",path:"6001",TargetType:TargetType.Frontline,TargetGroup:3,act:"atk",CdType:1,AnimType:AnimType.parabolic,endType:3,fname:"max",flash:false,with:50,debuff:0,depb:0,debtime:0,derate:0,in:0.8,count:1,def:0,apup:0,ap:100,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人释放寒冰弹,造成100%攻击的伤害"}, + 6002:{uuid:6002,name:"烈焰之怒",sp_name:"greenball",path:"6002",TargetType:TargetType.Frontline,TargetGroup:3,act:"atk",CdType:1,AnimType:AnimType.parabolic,endType:3,fname:"max",flash:false,with:50,debuff:0,depb:0,debtime:0,derate:0,in:0.8,count:1,def:0,apup:0,ap:100,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人释放火焰弹,造成100%攻击的伤害"}, + 6003:{uuid:6003,name:"奥术冲击",sp_name:"greenball",path:"6003",TargetType:TargetType.Frontline,TargetGroup:3,act:"atk",CdType:1,AnimType:AnimType.parabolic,endType:3,fname:"max",flash:false,with:50,debuff:0,depb:0,debtime:0,derate:0,in:0.8,count:1,def:0,apup:0,ap:100,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人释放魔法弹,造成100%攻击的伤害"}, + 6004:{uuid:6004,name:"神圣裁决",sp_name:"greenball",path:"6004",TargetType:TargetType.Frontline,TargetGroup:3,act:"atk",CdType:1,AnimType:AnimType.parabolic,endType:3,fname:"max",flash:false,with:50,debuff:0,depb:0,debtime:0,derate:0,in:0.8,count:1,def:0,apup:0,ap:100,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人释放圣光弹,造成100%攻击的伤害"}, + 6005:{uuid:6005,name:"破空斩击",sp_name:"patk",path:"6005",TargetType:TargetType.Frontline,TargetGroup:3,act:"atk",CdType:1,AnimType:AnimType.parabolic,endType:3,fname:"max",flash:false,with:50,debuff:0,depb:0,debtime:0,derate:0,in:0.8,count:1,def:0,apup:0,ap:50,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"攻击前方直线100码内的敌人造成50%伤害"}, + 6006:{uuid:6006,name:"穿心箭矢",sp_name:"arrow",path:"6006",TargetType:TargetType.Frontline,TargetGroup:3,act:"atk",CdType:1,AnimType:AnimType.parabolic,endType:3,fname:"max",flash:false,with:50,debuff:0,depb:0,debtime:0,derate:0,in:0.8,count:1,def:0,apup:0,ap:100,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人释放箭矢,造成100%攻击的伤害"}, + 6007:{uuid:6007,name:"铁斧打击",sp_name:"mon_ft",path:"6007",TargetType:TargetType.Frontline,TargetGroup:3,act:"atk",CdType:1,AnimType:AnimType.parabolic,endType:3,fname:"max",flash:false,with:50,debuff:0,depb:0,debtime:0,derate:0,in:0.8,count:1,def:0,apup:0,ap:100,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人扔出铁斧,造成100%攻击的伤害"}, + 6008:{uuid:6008,name:"木棍打击",sp_name:"mon_ly",path:"6008",TargetType:TargetType.Frontline,TargetGroup:3,act:"atk",CdType:1,AnimType:AnimType.parabolic,endType:3,fname:"max",flash:false,with:50,debuff:0,depb:0,debtime:0,derate:0,in:0.8,count:1,def:0,apup:0,ap:100,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人扔出木棍,造成100%攻击的伤害"}, + 6009:{uuid:6009,name:"飞刀打击",sp_name:"mon_xd",path:"6009",TargetType:TargetType.Frontline,TargetGroup:3,act:"atk",CdType:1,AnimType:AnimType.parabolic,endType:3,fname:"max",flash:false,with:50,debuff:0,depb:0,debtime:0,derate:0,in:0.8,count:1,def:0,apup:0,ap:100,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人扔出飞刀,造成100%攻击的伤害"}, + 6010:{uuid:6010,name:"石斧打击",sp_name:"mon_sf",path:"6010",TargetType:TargetType.Frontline,TargetGroup:3,act:"atk",CdType:1,AnimType:AnimType.parabolic,endType:3,fname:"max",flash:false,with:50,debuff:0,depb:0,debtime:0,derate:0,in:0.8,count:1,def:0,apup:0,ap:100,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人扔出石斧,造成100%攻击的伤害"}, + 6011:{uuid:6011,name:"烈火呼吸",sp_name:"firequan",path:"6011",TargetType:TargetType.Frontline,TargetGroup:3,act:"max",CdType:2,AnimType:AnimType.parabolic,endType:1,fname:"max",flash:false,with:50,debuff:0,depb:0,debtime:0,derate:0,in:3,count:1,def:0,apup:0,ap:100,mhp:0,hp:0,cd:5,buff_cd:0.5,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"召唤烈焰攻击前方敌人,造成200%攻击的伤害,烈焰维持3秒"}, + 6012:{uuid:6012,name:"大火球" ,sp_name:"fire",path:"6012",TargetType:TargetType.Frontline,TargetGroup:3,act:"max",CdType:2,AnimType:AnimType.linear,endType:1,fname:"max",flash:false,with:50,debuff:2,depb:20,debtime:2,derate:100,in:1,count:1,def:0,apup:0,ap:300,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"召唤大火球攻击前方所有敌人,造成300%攻击的伤害,有一定几率施加灼烧"}, + 6013:{uuid:6013,name:"火墙", sp_name:"firewall",path:"6013",TargetType:TargetType.Frontline,TargetGroup:3,act:"max",CdType:2,AnimType:4,endType:1,fname:"max",flash:false,with:50,debuff:0,depb:0,debtime:0,derate:0,in:10,count:1,def:0,apup:0,ap:50,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"在最前方敌人位置,召唤一堵火墙,持续10秒,每秒造成50%攻击伤害"}, + 6014:{uuid:6014,name:"寒冰箭", sp_name:"arrow_blue",path:"6014",TargetType:TargetType.Frontline,TargetGroup:3,act:"max",CdType:2,AnimType:AnimType.linear,endType:1,fname:"max",flash:false,with:50,debuff:1,depb:20,debtime:2,derate:0,in:1,count:1,def:0,apup:0,ap:200,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"召唤大火球攻击前方所有敌人,造成200%攻击的伤害,20%几率冰冻敌人"}, + 6015:{uuid:6015,name:"烈焰射击",sp_name:"arrow_yellow",path:"6015",TargetType:TargetType.Frontline,TargetGroup:3,act:"max",CdType:2,AnimType:AnimType.parabolic,endType:1,fname:"max",flash:false,with:50,debuff:3,depb:20,debtime:2,derate:0,in:1,count:1,def:0,apup:0,ap:200,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"召唤大火球攻击前方所有敌人,造成200%攻击的伤害,20%几率眩晕敌人"}, + 6016:{uuid:6016,name:"龙卷风", sp_name:"bwind",path:"6016",TargetType:TargetType.Frontline,TargetGroup:3,act:"max",CdType:2,AnimType:AnimType.linear,endType:1,fname:"max",flash:false,with:50,debuff:8,depb:50,debtime:1,derate:0,in:1,count:1,def:0,apup:0,ap:200,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"召唤大火球攻击前方所有敌人,造成200%攻击的伤害,50%几率击退敌人"}, + 6017:{uuid:6017,name:"生命之泉",sp_name:"heath",path:"6017",TargetType:TargetType.Frontline,TargetGroup:2,act:"max",CdType:2,AnimType:AnimType.parabolic,endType:1,fname:"max_blue",flash:true,with:50,debuff:0,depb:0,debtime:0,derate:0,in:5,count:1,def:0,apup:0,ap:100,mhp:0,hp:3,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"5秒持续为全体友方恢复施法者最大生命值15%的生命"}, + 6018:{uuid:6018,name:"神圣护盾",sp_name:"shield",path:"6018",TargetType:TargetType.Frontline,TargetGroup:0,act:"max",CdType:2,AnimType:AnimType.parabolic,endType:1,fname:"max",flash:false,with:50,debuff:0,depb:0,debtime:0,derate:0,in:0.8,count:1,def:0,apup:0,ap:100,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:30,speed:720,sonsk:0,hero:0,info:"召唤圣盾保护自己,可以抵御3次攻击"}, + 6019:{uuid:6019,name:"战争咆哮",sp_name:"apup",path:"6019",TargetType:TargetType.Frontline,TargetGroup:2,act:"max",CdType:2,AnimType:AnimType.parabolic,endType:1,fname:"max_red",flash:true,with:50,debuff:0,depb:0,debtime:0,derate:0,in:1,count:1,def:0,apup:20,ap:100,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"为全体友方增加施法者攻击力20%的攻击"}, + 6021:{uuid:6021,name:"死亡射击",sp_name:"shoot2",path:"6021",TargetType:2,TargetGroup:3,act:"max",CdType:2,AnimType:4,endType:0,fname:"max_blue",flash:true,with:50,debuff:0,depb:0,debtime:0,derate:0,in:1,count:1,def:0,apup:0,ap:600,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"攻击最后方的敌人,造成600%攻击的伤害"}, + 6022:{uuid:6022,name:"寒霜之矛",sp_name:"icez",path:"6022",TargetType:TargetType.Frontline,TargetGroup:3,act:"max",CdType:2,AnimType:AnimType.parabolic,endType:1,fname:"max",flash:false,with:50,debuff:1,depb:50,debtime:2,derate:0,in:1,count:1,def:0,apup:0,ap:300,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"在最前方敌人位置,召唤冰刺攻击敌人,造成200%攻击的伤害,20%几率冰冻敌人"}, + 6023:{uuid:6023,name:"冰墙", sp_name:"icet",path:"6023",TargetType:TargetType.Frontline,TargetGroup:3,act:"max",CdType:2,AnimType:AnimType.parabolic,endType:1,fname:"max",flash:false,with:50,debuff:8,depb:50,debtime:1,derate:0,in:1,count:1,def:0,apup:0,ap:400,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"在最前方敌人位置,召唤冰墙攻击敌人,造成200%攻击的伤害,50%几率击退敌人"}, + 6024:{uuid:6024,name:"旋风斩", sp_name:"fwind",path:"6024",TargetType:TargetType.Frontline,TargetGroup:3,act:"max",CdType:2,AnimType:3,endType:1,fname:"max_red",flash:false,with:50,debuff:8,depb:50,debtime:1,derate:0,in:2,count:1,def:0,apup:0,ap:80,mhp:0,hp:0,cd:5,buff_cd:0.5,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"旋转武器对周围的敌人造成80%攻击,2秒内旋转4次"}, + 6025:{uuid:6025,name:"火焰漩涡",sp_name:"fireball",path:"6025",TargetType:TargetType.Frontline,TargetGroup:3,act:"max",CdType:2,AnimType:AnimType.parabolic,endType:1,fname:"max",flash:false,with:50,debuff:8,depb:50,debtime:1,derate:0,in:3,count:1,def:0,apup:0,ap:500,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"召唤一个能量球射向前方敌人,对遇到的第一个敌人造成500%攻击的伤害,并击退"}, + 6026:{uuid:6026,name:"潮汐", sp_name:"watert",path:"6026",TargetType:TargetType.Frontline,TargetGroup:3,act:"max",CdType:2,AnimType:AnimType.parabolic,endType:1,fname:"max",flash:false,with:50,debuff:8,depb:50,debtime:2,derate:0,in:3,count:1,def:0,apup:0,ap:100,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"在最前方敌人位置,召唤水柱攻击敌人,每秒造成100%攻击的伤害,50%几率击退敌人"}, + 6027:{uuid:6027,name:"国王霸气",sp_name:"kingba",path:"6027",TargetType:TargetType.Frontline,TargetGroup:3,act:"max",CdType:2,AnimType:3,endType:1,fname:"max",flash:false,with:50,debuff:8,depb:100,debtime:2,derate:0,in:3,count:1,def:0,apup:2,ap:400,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"释放霸气攻击周围敌人,造成400%伤害,并100%几率击退敌人"}, + 6028:{uuid:6028,name:"自然庇佑",sp_name:"heath2",path:"6028",TargetType:TargetType.Frontline,TargetGroup:2,act:"max",CdType:2,AnimType:AnimType.parabolic,endType:1,fname:"max_blue",flash:true,with:50,debuff:0,depb:0,debtime:0,derate:0,in:2,count:1,def:0,apup:0,ap:100,mhp:0,hp:10,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"为全体友方恢复施法者最大生命值10%的生命,和抵御1次攻击的护盾"}, + 6029:{uuid:6029,name:"陨石术", sp_name:"fireys",path:"6029",TargetType:TargetType.Frontline,TargetGroup:3,act:"max",CdType:2,AnimType:4,endType:1,fname:"max",flash:false,with:50,debuff:8,depb:50,debtime:2,derate:0,in:3,count:1,def:0,apup:0,ap:500,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"在最前方敌人位置,召唤陨石攻击敌人,造成500%攻击的伤害"}, + 6030:{uuid:6030,name:"闪电呼吸",sp_name:"dianquan",path:"6030",TargetType:TargetType.Frontline,TargetGroup:3,act:"max",CdType:2,AnimType:AnimType.parabolic,endType:1,fname:"max",flash:false,with:50,debuff:0,depb:0,debtime:0,derate:0,in:3,count:1,def:0,apup:0,ap:100,mhp:0,hp:0,cd:5,buff_cd:0.5,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"召唤闪电攻击前方敌人,造成200%攻击的伤害,烈焰维持3秒"}, + 6031:{uuid:6031,name:"召唤仆从",sp_name:"zhaohuan",path:"6031",TargetType:TargetType.Frontline,TargetGroup:0,act:"max",CdType:2,AnimType:AnimType.parabolic,endType:1,fname:"max_blue",flash:true,with:50,debuff:0,depb:0,debtime:0,derate:0,in:2,count:1,def:20,apup:0,ap:70,mhp:0,hp:70,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:5211,info:"召唤一个与施法者等级相同的骷髅战士为我方而战"}, + 6032:{uuid:6032,name:"自愈", sp_name:"heath_small",path:"6032",TargetType:TargetType.Frontline,TargetGroup:0,act:"max",CdType:2,AnimType:AnimType.parabolic,endType:1,fname:"max",flash:false,with:50,debuff:0,depb:0,debtime:0,derate:0,in:2,count:1,def:0,apup:0,ap:100,mhp:0,hp:5,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"主动:自己回复自身5%最大生命值的生命"}, + 6033:{uuid:6033,name:"震地裂击",sp_name:"cuida",path:"6033",TargetType:TargetType.Frontline,TargetGroup:3,act:"max",CdType:2,AnimType:AnimType.parabolic,endType:1,fname:"max",flash:false,with:50,debuff:4,depb:100,debtime:1,derate:20,in:1,count:1,def:0,apup:0,ap:500,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:6035,hero:0,info:"捶爆前方目标,造成300%攻击的伤害,震慑敌人,本局内全部敌方降低对方10%攻击力"}, + 6034:{uuid:6034,name:"风暴之矢",sp_name:"bingyu",path:"6034",TargetType:TargetType.Frontline,TargetGroup:3,act:"max",CdType:2,AnimType:AnimType.parabolic,endType:1,fname:"max",flash:false,with:50,debuff:4,depb:100,debtime:1,derate:20,in:1,count:1,def:0,apup:0,ap:80,mhp:0,hp:0,cd:5,buff_cd:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"射出能量暴风箭攻击最前方范围敌人,每波造成80%攻击的伤害"} +}; \ No newline at end of file diff --git a/assets/script/game/common/config/CardsSet.ts.meta b/assets/script/game/common/config/CardsSet.ts.meta new file mode 100644 index 00000000..9da809a4 --- /dev/null +++ b/assets/script/game/common/config/CardsSet.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "9212372f-b316-41b5-8532-888e115c6e31", + "files": [], + "subMetas": {}, + "userData": {} +} diff --git a/assets/script/game/map/EquipSkillComp.ts b/assets/script/game/map/EquipSkillComp.ts index a14bd6ac..97918e59 100644 --- a/assets/script/game/map/EquipSkillComp.ts +++ b/assets/script/game/map/EquipSkillComp.ts @@ -1,4 +1,4 @@ -import { _decorator, resources, Sprite, SpriteAtlas ,Node, ProgressBar} from "cc"; +import { _decorator, resources, Sprite, SpriteAtlas ,Node, ProgressBar, tween, v3} 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 { GameEvent } from "../common/config/GameEvent"; @@ -101,16 +101,25 @@ export class EquipSkillComp extends CCComp { do_skill1(){ console.log("do_skill1") this.skill1.cd_time=0 + tween(this.boxs.getChildByName("skill1")).to(0.1, {scale:v3(1.2,1.2,1)},{onComplete:()=>{ + tween(this.boxs.getChildByName("skill1")).to(0.2, {scale:v3(1,1,1)}).start() + }}).start() this.do_skill(this.skill1.uuid) } do_skill2(){ console.log("do_skill2") this.skill2.cd_time=0 + tween(this.boxs.getChildByName("skill2")).to(0.1, {scale:v3(1.2,1.2,1)},{onComplete:()=>{ + tween(this.boxs.getChildByName("skill2")).to(0.2, {scale:v3(1,1,1)}).start() + }}).start() this.do_skill(this.skill2.uuid) } do_skill3(){ console.log("do_skill3") this.skill3.cd_time=0 + tween(this.boxs.getChildByName("skill3")).to(0.1, {scale:v3(1.2,1.2,1)},{onComplete:()=>{ + tween(this.boxs.getChildByName("skill3")).to(0.2, {scale:v3(1,1,1)}).start() + }}).start() this.do_skill(this.skill3.uuid) } diff --git a/assets/script/todo.md b/assets/script/todo.md index 13fc050c..38683a39 100644 --- a/assets/script/todo.md +++ b/assets/script/todo.md @@ -21,6 +21,7 @@ - [x] 每攻击n次后 增加1金币 - [x] 死亡 , 被攻击触发 2次 +- [ ] 卡牌设定 - [ ] 清理技能动画 及设置 - [ ] 伙伴特殊技能设定 - [ ] @@ -33,4 +34,3 @@ - [ ] - [ ] - [ ] -- [ ]