diff --git a/assets/resources/game/skills/apup.prefab b/assets/resources/game/skills/apup.prefab new file mode 100644 index 00000000..c161f0ca --- /dev/null +++ b/assets/resources/game/skills/apup.prefab @@ -0,0 +1,560 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "apup", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "apup", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 14 + } + ], + "_active": true, + "_components": [ + { + "__id__": 20 + }, + { + "__id__": 22 + }, + { + "__id__": 24 + }, + { + "__id__": 26 + }, + { + "__id__": 28 + }, + { + "__id__": 30 + } + ], + "_prefab": { + "__id__": 32 + }, + "_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", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 3 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 2 + }, + "asset": { + "__uuid__": "7c02fdcf-20fe-40f6-a8a5-f5a8c1460861", + "__expectedType__": "cc.Prefab" + }, + "fileId": "c46/YsCPVOJYA4mWEpNYRx", + "instance": { + "__id__": 4 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "80t5h5Hd1H2YZB/aurwYsr", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 5 + }, + { + "__id__": 7 + }, + { + "__id__": 8 + }, + { + "__id__": 9 + }, + { + "__id__": 10 + }, + { + "__id__": 11 + }, + { + "__id__": 13 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 6 + }, + "propertyPath": [ + "_name" + ], + "value": "skill" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "c46/YsCPVOJYA4mWEpNYRx" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 6 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 120, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 6 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 6 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 6 + }, + "propertyPath": [ + "_lscale" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0.5, + "y": 0.5, + "z": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 12 + }, + "propertyPath": [ + "_spriteFrame" + ], + "value": { + "__uuid__": "767c21dd-b2a2-4118-a12d-f67a8039abd4@511ad", + "__expectedType__": "cc.SpriteFrame" + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "85FjuP7AFBvr2ZutPHmCqx" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 6 + }, + "propertyPath": [ + "_active" + ], + "value": true + }, + { + "__type__": "cc.Node", + "_name": "Node", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 15 + }, + { + "__id__": 17 + } + ], + "_prefab": { + "__id__": 19 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 171.25, + "y": -15, + "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__": 14 + }, + "_enabled": true, + "__prefab": { + "__id__": 16 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 606.8800048828125, + "height": 158.0500030517578 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.49995056884547934, + "y": 0.231698818252427 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a20gdPTTBHq4UBWdhvq1Ey" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 14 + }, + "_enabled": true, + "__prefab": { + "__id__": 18 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_skeletonData": { + "__uuid__": "36543599-d11a-48e3-b9bd-3eca62e3ef62", + "__expectedType__": "sp.SkeletonData" + }, + "defaultSkin": "default", + "defaultAnimation": "", + "_premultipliedAlpha": true, + "_timeScale": 1, + "_preCacheMode": 0, + "_cacheMode": 0, + "_sockets": [], + "_useTint": false, + "_debugMesh": false, + "_debugBones": false, + "_debugSlots": false, + "_enableBatch": false, + "loop": true, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5abLvmZJpDOKHToEfr25bJ" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "45DBRQl1FG+KeoA4R9kNp9", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 21 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 720, + "height": 60 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "63NP9yq3hEUKD/OZZZ5t7x" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 23 + }, + "enabledContactListener": true, + "bullet": true, + "awakeOnLoad": true, + "_group": 4, + "_type": 2, + "_allowSleep": false, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f1VxV09PdOkofzgGv1tsZE" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 25 + }, + "tag": 8, + "_group": 4, + "_density": 1, + "_sensor": true, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_size": { + "__type__": "cc.Size", + "width": 720, + "height": 60 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "23eik112JPZYGiI8mJalTK" + }, + { + "__type__": "45646oIyIdA24W+0c5rdELD", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 27 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8ahZv91itPcYJm8S0veHYl" + }, + { + "__type__": "cc.Animation", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 29 + }, + "playOnLoad": true, + "_clips": [ + { + "__uuid__": "022b51c2-50bd-4f24-9f26-c5d77f3b2d8c", + "__expectedType__": "cc.AnimationClip" + } + ], + "_defaultClip": { + "__uuid__": "022b51c2-50bd-4f24-9f26-c5d77f3b2d8c", + "__expectedType__": "cc.AnimationClip" + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "684O4uajxIsKmwoOacfpUS" + }, + { + "__type__": "9e0d3yayihFMKm6st+kCG3D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 31 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "40ZOnM4A1JXoRtABQW5hQD" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "c46/YsCPVOJYA4mWEpNYRx", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": [ + { + "__id__": 2 + } + ] + } +] \ No newline at end of file diff --git a/assets/resources/game/skills/apup.prefab.meta b/assets/resources/game/skills/apup.prefab.meta new file mode 100644 index 00000000..a3ab0036 --- /dev/null +++ b/assets/resources/game/skills/apup.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "0be88337-2c27-40b2-b007-bd1721ce6564", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "apup" + } +} diff --git a/assets/resources/game/skills/buff_all.prefab b/assets/resources/game/skills/buff_all.prefab new file mode 100644 index 00000000..5bbcc7cf --- /dev/null +++ b/assets/resources/game/skills/buff_all.prefab @@ -0,0 +1,215 @@ +[ + { + "__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 + }, + { + "__id__": 8 + }, + { + "__id__": 10 + } + ], + "_prefab": { + "__id__": 12 + }, + "_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__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 5 + }, + "enabledContactListener": true, + "bullet": true, + "awakeOnLoad": true, + "_group": 4, + "_type": 2, + "_allowSleep": false, + "_gravityScale": 0, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f1VxV09PdOkofzgGv1tsZE" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 7 + }, + "tag": 8, + "_group": 4, + "_density": 1, + "_sensor": true, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_size": { + "__type__": "cc.Size", + "width": 720, + "height": 100 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "23eik112JPZYGiI8mJalTK" + }, + { + "__type__": "45646oIyIdA24W+0c5rdELD", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8ahZv91itPcYJm8S0veHYl" + }, + { + "__type__": "9e0d3yayihFMKm6st+kCG3D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "_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 new file mode 100644 index 00000000..f7794e98 --- /dev/null +++ b/assets/resources/game/skills/buff_all.prefab.meta @@ -0,0 +1,13 @@ +{ + "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/heath.prefab b/assets/resources/game/skills/heath.prefab index 62ab2066..0ca8df6f 100644 --- a/assets/resources/game/skills/heath.prefab +++ b/assets/resources/game/skills/heath.prefab @@ -47,10 +47,13 @@ }, { "__id__": 31 + }, + { + "__id__": 33 } ], "_prefab": { - "__id__": 33 + "__id__": 35 }, "_lpos": { "__type__": "cc.Vec3", @@ -163,8 +166,8 @@ ], "value": { "__type__": "cc.Vec3", - "x": 0, - "y": 200, + "x": -180, + "y": 180, "z": 0 } }, @@ -548,6 +551,24 @@ "__type__": "cc.CompPrefabInfo", "fileId": "3fysFPaqZDX5SZP/okxb81" }, + { + "__type__": "61a56EcF3JMl75YeV4T92Pz", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 34 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "5cxhQwQtJNOIpB58h6Awp8" + }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/resources/game/skills/heath/heath2.anim b/assets/resources/game/skills/heath/heath2.anim index 810b9b81..39c2a43e 100644 --- a/assets/resources/game/skills/heath/heath2.anim +++ b/assets/resources/game/skills/heath/heath2.anim @@ -11,7 +11,7 @@ "speed": 1, "wrapMode": 1, "enableTrsBlending": false, - "_duration": 0.6666666666666666, + "_duration": 1.3333333333333333, "_hash": 500763545, "_tracks": [ { @@ -75,7 +75,9 @@ "_times": [ 0, 0.3333333432674408, - 0.6666666865348816 + 0.6666666865348816, + 1, + 1.3333333730697632 ], "_values": [ { @@ -113,6 +115,34 @@ "leftTangentWeight": 1, "easingMethod": 0, "__editorExtras__": null + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0.6000000238418579, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0.5, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } } ], "preExtrapolation": 1, @@ -129,7 +159,9 @@ "_times": [ 0, 0.3333333432674408, - 0.6666666865348816 + 0.6666666865348816, + 1, + 1.3333333730697632 ], "_values": [ { @@ -167,6 +199,34 @@ "leftTangentWeight": 1, "easingMethod": 0, "__editorExtras__": null + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0.6000000238418579, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } + }, + { + "__type__": "cc.RealKeyframeValue", + "interpolationMode": 0, + "tangentWeightMode": 0, + "value": 0.5, + "rightTangent": 0, + "rightTangentWeight": 1, + "leftTangent": 0, + "leftTangentWeight": 1, + "easingMethod": 0, + "__editorExtras__": { + "tangentMode": 0 + } } ], "preExtrapolation": 1, diff --git a/assets/resources/game/skills/heath2.prefab b/assets/resources/game/skills/heath2.prefab index 1de253c8..9fd3d631 100644 --- a/assets/resources/game/skills/heath2.prefab +++ b/assets/resources/game/skills/heath2.prefab @@ -44,10 +44,13 @@ }, { "__id__": 30 + }, + { + "__id__": 32 } ], "_prefab": { - "__id__": 32 + "__id__": 34 }, "_lpos": { "__type__": "cc.Vec3", @@ -163,8 +166,8 @@ ], "value": { "__type__": "cc.Vec3", - "x": 0, - "y": 120, + "x": -180, + "y": 130, "z": 0 } }, @@ -241,7 +244,7 @@ "propertyPath": [ "_active" ], - "value": false + "value": true }, { "__type__": "cc.Node", @@ -540,6 +543,24 @@ "__type__": "cc.CompPrefabInfo", "fileId": "40ZOnM4A1JXoRtABQW5hQD" }, + { + "__type__": "61a56EcF3JMl75YeV4T92Pz", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 33 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f8RJHCsExJuZp1M4gVjPvg" + }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/resources/game/skills/kingba.prefab b/assets/resources/game/skills/kingba.prefab index eff563cf..bf33ce47 100644 --- a/assets/resources/game/skills/kingba.prefab +++ b/assets/resources/game/skills/kingba.prefab @@ -38,10 +38,13 @@ }, { "__id__": 16 + }, + { + "__id__": 18 } ], "_prefab": { - "__id__": 18 + "__id__": 20 }, "_lpos": { "__type__": "cc.Vec3", @@ -340,6 +343,24 @@ "__type__": "cc.CompPrefabInfo", "fileId": "93yD/FzRtIw4y+dp2MAd1k" }, + { + "__type__": "f5c0acU9TtA5JBGObMPOZe3", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 19 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "66G9MkV3xJ0b5iZ8qo01HC" + }, { "__type__": "cc.PrefabInfo", "root": { diff --git a/assets/script/game/common/config/MissionSet.ts b/assets/script/game/common/config/MissionSet.ts index c91b45c5..7b763c4b 100644 --- a/assets/script/game/common/config/MissionSet.ts +++ b/assets/script/game/common/config/MissionSet.ts @@ -20,7 +20,7 @@ export const MissionSet = [ export const Missions = [ [5201,5201,5202,5203,5204,5205,5206,5207,5208,5209,5210,5211,5212,5219,5220,5221], [5213,5213,5214,5215,5216,5217,5218], - [5015,5016], + [5015,5003], ] diff --git a/assets/script/game/common/config/SkillSet.ts b/assets/script/game/common/config/SkillSet.ts index b050a938..61c74287 100644 --- a/assets/script/game/common/config/SkillSet.ts +++ b/assets/script/game/common/config/SkillSet.ts @@ -144,7 +144,7 @@ export const SkillSet={ 6027:{uuid: 6027,path: "6027",type:1, tg:3,fname:"",flash:false,with:false,debuff:8,depb:100,debtime:2,derate:0,in:3,count:1,def:0,apup:0,ap:500,mhp:0,hp:0,cd:1,shield:0,speed:500,sonsk:0, name: "国王霸气",sp_name:"kingba",info:"释放烈火剑气攻击前方地方,对前方敌人造成3段伤害"}, - 6028:{uuid: 6028,path: "6028",type:1, tg:0,fname:"",flash:false,with:false,debuff:0,depb:0,debtime:0,derate:0,in:2,count:1,def:0,apup:0,ap:100,mhp:0,hp:10,cd:2,shield:2,speed:350, sonsk:0, + 6028:{uuid: 6028,path: "6028",type:1, tg:2,fname:"",flash:false,with:false,debuff:0,depb:0,debtime:0,derate:0,in:2,count:1,def:0,apup:0,ap:100,mhp:0,hp:10,cd:2,shield:2,speed:350, sonsk:0, name: "自然庇佑",sp_name:"heath2",info:"为全体友方恢复施法者最大生命值10%的生命,和抵御2次攻击的护盾"}, 6029:{uuid: 6029,path: "6029",type:1, tg:3,fname:"",flash:false,with:false,debuff:8,depb:50,debtime:2,derate:0,in:3,count:1,def:0,apup:0,ap:500,mhp:0,hp:0,cd:1,shield:0,speed:500,sonsk:0, name: "潮汐",sp_name:"fireys",info:"释放烈火剑气攻击前方地方,对前方敌人造成3段伤害"}, diff --git a/assets/script/game/hero/HeroViewComp.ts b/assets/script/game/hero/HeroViewComp.ts index d12b4d4e..84459fcb 100644 --- a/assets/script/game/hero/HeroViewComp.ts +++ b/assets/script/game/hero/HeroViewComp.ts @@ -703,8 +703,7 @@ export class HeroViewComp extends CCComp { } do_all_buff(sk:number){ let skill = ecs.getEntity(Skill); - let pos=v3(-320,0) - if(this.box_group==BoxSet.MONSTER) pos=v3(320,0) + let pos=v3(0,0) let t_pos = pos this.to_console("to_all_buff:"+sk) let is_crit=this.check_crit() diff --git a/assets/script/game/skills/StartCom.ts b/assets/script/game/skills/StartCom.ts new file mode 100644 index 00000000..fc7ee6a4 --- /dev/null +++ b/assets/script/game/skills/StartCom.ts @@ -0,0 +1,17 @@ +import { _decorator, Component, Node } from 'cc'; +import { SkillCom } from './SkillCom'; +import { BoxSet } from '../common/config/BoxSet'; +const { ccclass, property } = _decorator; + +@ccclass('StartCom') +export class StartCom extends Component { + start() { + this.node.setPosition(0,0) + } + + update(deltaTime: number) { + + } +} + + diff --git a/assets/script/game/skills/StartCom.ts.meta b/assets/script/game/skills/StartCom.ts.meta new file mode 100644 index 00000000..1e0bb834 --- /dev/null +++ b/assets/script/game/skills/StartCom.ts.meta @@ -0,0 +1,9 @@ +{ + "ver": "4.0.23", + "importer": "typescript", + "imported": true, + "uuid": "61a5611c-1772-4c97-be58-795e13f763f3", + "files": [], + "subMetas": {}, + "userData": {} +}