diff --git a/assets/resources/game/gui/card.prefab b/assets/resources/game/gui/card.prefab index d58ea335..c785b5a1 100644 --- a/assets/resources/game/gui/card.prefab +++ b/assets/resources/game/gui/card.prefab @@ -2750,7 +2750,7 @@ "__id__": 67 }, "_children": [], - "_active": false, + "_active": true, "_components": [ { "__id__": 117 @@ -2765,7 +2765,7 @@ "_lpos": { "__type__": "cc.Vec3", "x": 0, - "y": -7.061, + "y": -11.517, "z": 0 }, "_lrot": { @@ -2777,8 +2777,8 @@ }, "_lscale": { "__type__": "cc.Vec3", - "x": 0.7, - "y": 0.7, + "x": 0.75, + "y": 0.75, "z": 1 }, "_mobility": 0, @@ -2805,8 +2805,8 @@ }, "_contentSize": { "__type__": "cc.Size", - "width": 153, - "height": 187 + "width": 179, + "height": 213 }, "_anchorPoint": { "__type__": "cc.Vec2", @@ -2842,7 +2842,7 @@ "a": 255 }, "_spriteFrame": { - "__uuid__": "37051f6a-2eb0-4e6f-8e6b-c8aa7bc1066d@8c932", + "__uuid__": "37051f6a-2eb0-4e6f-8e6b-c8aa7bc1066d@b78da", "__expectedType__": "cc.SpriteFrame" }, "_type": 0, @@ -3430,7 +3430,7 @@ "__id__": 67 }, "_children": [], - "_active": true, + "_active": false, "_components": [ { "__id__": 147 diff --git a/assets/resources/game/heros/herois.plist b/assets/resources/game/heros/herois.plist index daf96c0e..69834387 100644 --- a/assets/resources/game/heros/herois.plist +++ b/assets/resources/game/heros/herois.plist @@ -17,9 +17,9 @@ spriteSourceSize {195,227} textureRect - {{849,585},{153,187}} + {{388,779},{153,187}} textureRotated - + a2.png @@ -34,7 +34,7 @@ spriteSourceSize {195,225} textureRect - {{205,971},{157,197}} + {{1,1142},{157,197}} textureRotated @@ -51,9 +51,9 @@ spriteSourceSize {195,225} textureRect - {{788,971},{147,201}} + {{606,1087},{147,201}} textureRotated - + a4.png @@ -68,7 +68,7 @@ spriteSourceSize {195,225} textureRect - {{404,971},{155,189}} + {{577,930},{155,189}} textureRotated @@ -85,7 +85,7 @@ spriteSourceSize {390,315} textureRect - {{595,960},{158,191}} + {{195,770},{158,191}} textureRotated @@ -102,7 +102,7 @@ spriteSourceSize {390,315} textureRect - {{413,798},{160,199}} + {{200,1134},{160,199}} textureRotated @@ -119,9 +119,9 @@ spriteSourceSize {360,270} textureRect - {{709,1},{206,232}} + {{1,1},{206,232}} textureRotated - + d1.png @@ -136,9 +136,9 @@ spriteSourceSize {390,315} textureRect - {{1,576},{180,211}} + {{396,353},{180,211}} textureRotated - + d2.png @@ -153,9 +153,9 @@ spriteSourceSize {390,315} textureRect - {{658,403},{180,211}} + {{388,566},{180,211}} textureRotated - + df1.png @@ -170,7 +170,7 @@ spriteSourceSize {227,230} textureRect - {{209,782},{187,202}} + {{578,377},{187,202}} textureRotated @@ -187,7 +187,7 @@ spriteSourceSize {234,228} textureRect - {{1,944},{202,184}} + {{570,566},{202,184}} textureRotated @@ -204,7 +204,7 @@ spriteSourceSize {230,233} textureRect - {{605,1120},{188,189}} + {{782,377},{188,189}} textureRotated @@ -221,7 +221,7 @@ spriteSourceSize {227,233} textureRect - {{402,1130},{169,201}} + {{768,936},{169,201}} textureRotated @@ -238,9 +238,9 @@ spriteSourceSize {189,181} textureRect - {{795,1120},{189,181}} + {{774,568},{189,181}} textureRotated - + k1.png @@ -249,13 +249,13 @@ anchor {0.5,0.5} spriteOffset - {7,-15} + {-1,-15} spriteSize - {185,213} + {156,213} spriteSourceSize - {221,253} + {210,253} textureRect - {{1,389},{185,213}} + {{209,195},{156,213}} textureRotated @@ -266,13 +266,13 @@ anchor {0.5,0.5} spriteOffset - {12,-20} + {13,-20} spriteSize - {171,203} + {156,203} spriteSourceSize - {229,253} + {210,253} textureRect - {{644,585},{171,203}} + {{401,1131},{156,203}} textureRotated @@ -283,13 +283,13 @@ anchor {0.5,0.5} spriteOffset - {0,0} + {-11,-3} spriteSize - {211,232} + {178,237} spriteSourceSize - {211,232} + {210,253} textureRect - {{475,1},{211,232}} + {{446,1},{178,237}} textureRotated @@ -300,13 +300,13 @@ anchor {0.5,0.5} spriteOffset - {12,11} + {7,-21} spriteSize - {200,213} + {138,201} spriteSourceSize - {360,255} + {210,253} textureRect - {{220,387},{200,213}} + {{755,1107},{138,201}} textureRotated @@ -323,9 +323,9 @@ spriteSourceSize {192,230} textureRect - {{709,209},{192,230}} + {{1,472},{192,230}} textureRotated - + k6.png @@ -340,9 +340,9 @@ spriteSourceSize {360,257} textureRect - {{1,1},{192,235}} + {{1,235},{192,235}} textureRotated - + k7.png @@ -357,7 +357,7 @@ spriteSourceSize {360,257} textureRect - {{238,1},{192,235}} + {{209,1},{192,235}} textureRotated @@ -374,9 +374,9 @@ spriteSourceSize {202,191} textureRect - {{422,605},{202,191}} + {{193,930},{202,191}} textureRotated - + m2.png @@ -391,9 +391,9 @@ spriteSourceSize {229,236} textureRect - {{214,589},{191,206}} + {{195,562},{191,206}} textureRotated - + m3.png @@ -408,7 +408,7 @@ spriteSourceSize {170,197} textureRect - {{203,1130},{170,197}} + {{446,181},{170,197}} textureRotated @@ -425,7 +425,7 @@ spriteSourceSize {227,233} textureRect - {{815,774},{195,187}} + {{386,934},{195,187}} textureRotated @@ -442,9 +442,9 @@ spriteSourceSize {227,233} textureRect - {{435,404},{199,207}} + {{195,353},{199,207}} textureRotated - + m6.png @@ -459,7 +459,7 @@ spriteSourceSize {227,233} textureRect - {{626,774},{183,187}} + {{779,751},{183,187}} textureRotated @@ -476,9 +476,9 @@ spriteSourceSize {390,315} textureRect - {{220,195},{190,217}} + {{1,923},{190,217}} textureRotated - + m8.png @@ -493,7 +493,7 @@ spriteSourceSize {390,315} textureRect - {{439,214},{188,217}} + {{685,1},{188,217}} textureRotated @@ -510,9 +510,9 @@ spriteSourceSize {390,315} textureRect - {{1,195},{192,217}} + {{1,704},{192,217}} textureRotated - + zh1.png @@ -527,7 +527,7 @@ spriteSourceSize {300,270} textureRect - {{1,758},{184,206}} + {{645,191},{184,206}} textureRotated @@ -544,7 +544,7 @@ spriteSourceSize {300,270} textureRect - {{1,1130},{176,200}} + {{577,752},{176,200}} textureRotated @@ -560,9 +560,9 @@ realTextureFileName herois.png size - {1003,1310} + {971,1300} smartupdate - $TexturePacker:SmartUpdate:399543cbfb5f1c93139a005fe4aed4fd:74ebfdfde98328e5b2b2aaffd8b3d6d3:93964f5048646c99da4e4e399b4d643e$ + $TexturePacker:SmartUpdate:a108c7c648b78b935ff3a4aac52a1354:ded8f44bb96abf6e2e21bb2b736b39b6:93964f5048646c99da4e4e399b4d643e$ textureFileName herois.png diff --git a/assets/resources/game/heros/herois.plist.meta b/assets/resources/game/heros/herois.plist.meta index f0e373f4..51f91067 100644 --- a/assets/resources/game/heros/herois.plist.meta +++ b/assets/resources/game/heros/herois.plist.meta @@ -16,11 +16,11 @@ "userData": { "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 22, "offsetY": 7, "trimX": 1, - "trimY": 1, + "trimY": 235, "width": 192, "height": 235, "rawWidth": 360, @@ -65,8 +65,8 @@ "rotated": false, "offsetX": 18, "offsetY": -17, - "trimX": 605, - "trimY": 1120, + "trimX": 782, + "trimY": 377, "width": 188, "height": 189, "rawWidth": 230, @@ -108,11 +108,11 @@ "userData": { "trimType": "auto", "trimThreshold": 1, - "rotated": false, + "rotated": true, "offsetX": 0, "offsetY": -10, - "trimX": 849, - "trimY": 585, + "trimX": 388, + "trimY": 779, "width": 153, "height": 187, "rawWidth": 195, @@ -157,8 +157,8 @@ "rotated": true, "offsetX": 7, "offsetY": -6, - "trimX": 205, - "trimY": 971, + "trimX": 1, + "trimY": 1142, "width": 157, "height": 197, "rawWidth": 195, @@ -200,11 +200,11 @@ "userData": { "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": -2, "offsetY": -4, - "trimX": 788, - "trimY": 971, + "trimX": 606, + "trimY": 1087, "width": 147, "height": 201, "rawWidth": 195, @@ -249,8 +249,8 @@ "rotated": true, "offsetX": 0, "offsetY": -10, - "trimX": 404, - "trimY": 971, + "trimX": 577, + "trimY": 930, "width": 155, "height": 189, "rawWidth": 195, @@ -295,8 +295,8 @@ "rotated": true, "offsetX": -6, "offsetY": 10, - "trimX": 595, - "trimY": 960, + "trimX": 195, + "trimY": 770, "width": 158, "height": 191, "rawWidth": 390, @@ -341,8 +341,8 @@ "rotated": true, "offsetX": -9, "offsetY": 14, - "trimX": 413, - "trimY": 798, + "trimX": 200, + "trimY": 1134, "width": 160, "height": 199, "rawWidth": 390, @@ -384,10 +384,10 @@ "userData": { "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 13, "offsetY": 8, - "trimX": 709, + "trimX": 1, "trimY": 1, "width": 206, "height": 232, @@ -430,11 +430,11 @@ "userData": { "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 7, "offsetY": 22, - "trimX": 1, - "trimY": 576, + "trimX": 396, + "trimY": 353, "width": 180, "height": 211, "rawWidth": 390, @@ -476,11 +476,11 @@ "userData": { "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 7, "offsetY": 22, - "trimX": 658, - "trimY": 403, + "trimX": 388, + "trimY": 566, "width": 180, "height": 211, "rawWidth": 390, @@ -525,8 +525,8 @@ "rotated": true, "offsetX": 14, "offsetY": -9, - "trimX": 209, - "trimY": 782, + "trimX": 578, + "trimY": 377, "width": 187, "height": 202, "rawWidth": 227, @@ -571,8 +571,8 @@ "rotated": false, "offsetX": 16, "offsetY": -17, - "trimX": 1, - "trimY": 944, + "trimX": 570, + "trimY": 566, "width": 202, "height": 184, "rawWidth": 234, @@ -617,8 +617,8 @@ "rotated": true, "offsetX": 9, "offsetY": -11, - "trimX": 402, - "trimY": 1130, + "trimX": 768, + "trimY": 936, "width": 169, "height": 201, "rawWidth": 227, @@ -660,11 +660,11 @@ "userData": { "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 795, - "trimY": 1120, + "trimX": 774, + "trimY": 568, "width": 189, "height": 181, "rawWidth": 189, @@ -707,13 +707,13 @@ "trimType": "auto", "trimThreshold": 1, "rotated": true, - "offsetX": 7, + "offsetX": -1, "offsetY": -15, - "trimX": 1, - "trimY": 389, - "width": 185, + "trimX": 209, + "trimY": 195, + "width": 156, "height": 213, - "rawWidth": 221, + "rawWidth": 210, "rawHeight": 253, "borderTop": 0, "borderBottom": 0, @@ -753,13 +753,13 @@ "trimType": "auto", "trimThreshold": 1, "rotated": true, - "offsetX": 12, + "offsetX": 13, "offsetY": -20, - "trimX": 644, - "trimY": 585, - "width": 171, + "trimX": 401, + "trimY": 1131, + "width": 156, "height": 203, - "rawWidth": 229, + "rawWidth": 210, "rawHeight": 253, "borderTop": 0, "borderBottom": 0, @@ -799,14 +799,14 @@ "trimType": "auto", "trimThreshold": 1, "rotated": true, - "offsetX": 0, - "offsetY": 0, - "trimX": 475, + "offsetX": -11, + "offsetY": -3, + "trimX": 446, "trimY": 1, - "width": 211, - "height": 232, - "rawWidth": 211, - "rawHeight": 232, + "width": 178, + "height": 237, + "rawWidth": 210, + "rawHeight": 253, "borderTop": 0, "borderBottom": 0, "borderLeft": 0, @@ -845,14 +845,14 @@ "trimType": "auto", "trimThreshold": 1, "rotated": true, - "offsetX": 12, - "offsetY": 11, - "trimX": 220, - "trimY": 387, - "width": 200, - "height": 213, - "rawWidth": 360, - "rawHeight": 255, + "offsetX": 7, + "offsetY": -21, + "trimX": 755, + "trimY": 1107, + "width": 138, + "height": 201, + "rawWidth": 210, + "rawHeight": 253, "borderTop": 0, "borderBottom": 0, "borderLeft": 0, @@ -890,11 +890,11 @@ "userData": { "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 0, "offsetY": 0, - "trimX": 709, - "trimY": 209, + "trimX": 1, + "trimY": 472, "width": 192, "height": 230, "rawWidth": 192, @@ -939,7 +939,7 @@ "rotated": true, "offsetX": 22, "offsetY": 7, - "trimX": 238, + "trimX": 209, "trimY": 1, "width": 192, "height": 235, @@ -982,11 +982,11 @@ "userData": { "trimType": "auto", "trimThreshold": 1, - "rotated": false, + "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 422, - "trimY": 605, + "trimX": 193, + "trimY": 930, "width": 202, "height": 191, "rawWidth": 202, @@ -1028,11 +1028,11 @@ "userData": { "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 8, "offsetY": -3, - "trimX": 214, - "trimY": 589, + "trimX": 195, + "trimY": 562, "width": 191, "height": 206, "rawWidth": 229, @@ -1077,8 +1077,8 @@ "rotated": true, "offsetX": 0, "offsetY": 0, - "trimX": 203, - "trimY": 1130, + "trimX": 446, + "trimY": 181, "width": 170, "height": 197, "rawWidth": 170, @@ -1123,8 +1123,8 @@ "rotated": true, "offsetX": 12, "offsetY": -15, - "trimX": 815, - "trimY": 774, + "trimX": 386, + "trimY": 934, "width": 195, "height": 187, "rawWidth": 227, @@ -1166,11 +1166,11 @@ "userData": { "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 14, "offsetY": -10, - "trimX": 435, - "trimY": 404, + "trimX": 195, + "trimY": 353, "width": 199, "height": 207, "rawWidth": 227, @@ -1215,8 +1215,8 @@ "rotated": true, "offsetX": 6, "offsetY": -15, - "trimX": 626, - "trimY": 774, + "trimX": 779, + "trimY": 751, "width": 183, "height": 187, "rawWidth": 227, @@ -1258,11 +1258,11 @@ "userData": { "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 6, "offsetY": 24, - "trimX": 220, - "trimY": 195, + "trimX": 1, + "trimY": 923, "width": 190, "height": 217, "rawWidth": 390, @@ -1307,8 +1307,8 @@ "rotated": true, "offsetX": 4, "offsetY": 24, - "trimX": 439, - "trimY": 214, + "trimX": 685, + "trimY": 1, "width": 188, "height": 217, "rawWidth": 390, @@ -1350,11 +1350,11 @@ "userData": { "trimType": "auto", "trimThreshold": 1, - "rotated": true, + "rotated": false, "offsetX": 7, "offsetY": 24, "trimX": 1, - "trimY": 195, + "trimY": 704, "width": 192, "height": 217, "rawWidth": 390, @@ -1399,8 +1399,8 @@ "rotated": true, "offsetX": 16, "offsetY": 13, - "trimX": 1, - "trimY": 758, + "trimX": 645, + "trimY": 191, "width": 184, "height": 206, "rawWidth": 300, @@ -1445,8 +1445,8 @@ "rotated": true, "offsetX": 20, "offsetY": 10, - "trimX": 1, - "trimY": 1130, + "trimX": 577, + "trimY": 752, "width": 176, "height": 200, "rawWidth": 300, diff --git a/assets/resources/game/heros/herois.png b/assets/resources/game/heros/herois.png index 3c779de5..b857b0b6 100644 Binary files a/assets/resources/game/heros/herois.png and b/assets/resources/game/heros/herois.png differ diff --git a/assets/resources/game/heros/heros/Animations-Knight Dark.atlas b/assets/resources/game/heros/heros/Animations-Knight Dark.atlas index 7dfc7cee..0427c05a 100644 --- a/assets/resources/game/heros/heros/Animations-Knight Dark.atlas +++ b/assets/resources/game/heros/heros/Animations-Knight Dark.atlas @@ -1,97 +1,90 @@ Animations-Knight Dark.png -size: 194,522 +size: 350,269 format: RGBA8888 filter: Linear,Linear repeat: none Body rotate: false - xy: 2, 228 + xy: 209, 2 size: 84, 88 orig: 128, 128 offset: 22, 18 index: -1 Face 01 rotate: false - xy: 68, 60 + xy: 2, 11 size: 112, 52 orig: 200, 128 offset: 51, 28 index: -1 Face 02 - rotate: false - xy: 88, 300 + rotate: true + xy: 332, 163 size: 104, 16 orig: 200, 128 offset: 56, 34 index: -1 Face 03 - rotate: true - xy: 68, 114 + rotate: false + xy: 192, 92 size: 112, 74 orig: 200, 128 offset: 50, 13 index: -1 Head rotate: true - xy: 2, 318 + xy: 2, 65 size: 202, 188 orig: 280, 280 offset: 56, 29 index: -1 Left Arm - rotate: true - xy: 102, 17 + rotate: false + xy: 295, 3 size: 41, 45 orig: 64, 64 offset: 11, 9 index: -1 Left Hand - rotate: false - xy: 2, 2 + rotate: true + xy: 116, 15 size: 48, 45 orig: 64, 64 offset: 8, 7 index: -1 Left Leg - rotate: false - xy: 144, 174 + rotate: true + xy: 295, 50 size: 40, 52 orig: 64, 64 offset: 12, 6 index: -1 Right Leg - rotate: false - xy: 144, 174 + rotate: true + xy: 295, 50 size: 40, 52 orig: 64, 64 offset: 12, 6 index: -1 Right Arm rotate: false - xy: 149, 13 + xy: 306, 116 size: 41, 45 orig: 64, 64 offset: 11, 9 index: -1 Right Hand - rotate: false - xy: 52, 3 + rotate: true + xy: 163, 15 size: 48, 44 orig: 64, 64 offset: 8, 10 index: -1 -Shield - rotate: true - xy: 88, 228 - size: 70, 94 - orig: 100, 100 - offset: 13, 5 - index: -1 Weapon - rotate: true - xy: 2, 49 - size: 177, 64 - orig: 180, 64 - offset: 0, 0 + rotate: false + xy: 192, 168 + size: 138, 99 + orig: 180, 130 + offset: 17, 15 index: -1 diff --git a/assets/resources/game/heros/heros/Animations-Knight Dark.json b/assets/resources/game/heros/heros/Animations-Knight Dark.json index 9b6d5c05..3585e656 100644 --- a/assets/resources/game/heros/heros/Animations-Knight Dark.json +++ b/assets/resources/game/heros/heros/Animations-Knight Dark.json @@ -1,13 +1,13 @@ { "skeleton": { - "hash": "8od8DJoX+rzpvFpHRIVWgWkL5EA=", + "hash": "aiMpEprXcUY/gdMU23YPuM0HpCg=", "spine": "3.8.75", "x": -158.82, "y": -10.85, - "width": 304.33, + "width": 335.37, "height": 336.35, "fps": 10, - "images": "./items/Knight Dark/Vector Parts/", + "images": "./items/k2/", "audio": "D:/Game/games/spine/items/Knight Dark/Vector Parts" }, "bones": [ @@ -44,7 +44,7 @@ { "name": "root-bone_006-bone_007-ext_Face 01", "bone": "root-bone_006-bone_007-ext_Face 01", "attachment": "Face 01" }, { "name": "root-bone_006-bone_002-bone_003-ext_Right Hand", "bone": "root-bone_006-bone_002-bone_003-ext_Right Hand", "attachment": "Right Hand" }, { "name": "root-bone_006-bone_002-ext_Right Arm", "bone": "root-bone_006-bone_002-ext_Right Arm", "attachment": "Right Arm" }, - { "name": "root-bone_006-bone_002-bone_003-bone_008-ext_Shiled", "bone": "root-bone_006-bone_002-bone_003-bone_008-ext_Shiled", "attachment": "Shield" } + { "name": "root-bone_006-bone_002-bone_003-bone_008-ext_Shiled", "bone": "root-bone_006-bone_002-bone_003-bone_008-ext_Shiled" } ], "skins": [ { @@ -63,13 +63,13 @@ "Right Arm": { "width": 64, "height": 64 } }, "root-bone_006-bone_002-bone_003-ext_Right Hand": { - "Right Hand": { "width": 64, "height": 64 } + "Right Hand": { "rotation": -0.08, "width": 64, "height": 64 } }, "root-bone_006-bone_002-bone_003-bone_008-ext_Shiled": { "Shield": { "width": 100, "height": 100 } }, "root-bone_006-bone_000-bone_001-ext_Weapon": { - "Weapon": { "width": 180, "height": 64 } + "Weapon": { "width": 180, "height": 130 } }, "root-bone_005-ext_Right Leg": { "Right Leg": { "width": 64, "height": 64 } @@ -90,6 +90,13 @@ ], "animations": { "Attacking": { + "slots": { + "root-bone_006-bone_002-bone_003-bone_008-ext_Shiled": { + "attachment": [ + { "name": "Shield" } + ] + } + }, "bones": { "root-bone_006": { "rotate": [ @@ -170,6 +177,11 @@ "attachment": [ { "name": "Face 03" } ] + }, + "root-bone_006-bone_002-bone_003-bone_008-ext_Shiled": { + "attachment": [ + { "name": "Shield" } + ] } }, "bones": { @@ -283,6 +295,11 @@ "attachment": [ { "name": "Face 03" } ] + }, + "root-bone_006-bone_002-bone_003-bone_008-ext_Shiled": { + "attachment": [ + { "name": "Shield" } + ] } }, "bones": { @@ -354,6 +371,13 @@ } }, "Idle": { + "slots": { + "root-bone_006-bone_002-bone_003-bone_008-ext_Shiled": { + "attachment": [ + { "name": "Shield" } + ] + } + }, "bones": { "root-bone_006": { "rotate": [ @@ -419,6 +443,11 @@ "attachment": [ { "time": 0.3, "name": "Face 02" } ] + }, + "root-bone_006-bone_002-bone_003-bone_008-ext_Shiled": { + "attachment": [ + { "name": "Shield" } + ] } }, "bones": { @@ -479,6 +508,13 @@ } }, "Jump Loop": { + "slots": { + "root-bone_006-bone_002-bone_003-bone_008-ext_Shiled": { + "attachment": [ + { "name": "Shield" } + ] + } + }, "bones": { "root-bone_004": { "rotate": [ @@ -540,6 +576,13 @@ } }, "Jump Start": { + "slots": { + "root-bone_006-bone_002-bone_003-bone_008-ext_Shiled": { + "attachment": [ + { "name": "Shield" } + ] + } + }, "bones": { "root-bone_004": { "rotate": [ @@ -596,6 +639,13 @@ } }, "Taunt": { + "slots": { + "root-bone_006-bone_002-bone_003-bone_008-ext_Shiled": { + "attachment": [ + { "name": "Shield" } + ] + } + }, "bones": { "root-bone_004": { "rotate": [ @@ -714,6 +764,13 @@ } }, "Walking": { + "slots": { + "root-bone_006-bone_002-bone_003-bone_008-ext_Shiled": { + "attachment": [ + { "name": "Shield" } + ] + } + }, "bones": { "root-bone_004": { "rotate": [ diff --git a/assets/resources/game/heros/heros/Animations-Knight Dark.png b/assets/resources/game/heros/heros/Animations-Knight Dark.png index de661234..3ebf0997 100644 Binary files a/assets/resources/game/heros/heros/Animations-Knight Dark.png and b/assets/resources/game/heros/heros/Animations-Knight Dark.png differ diff --git a/assets/resources/game/heros/heros/k1.atlas b/assets/resources/game/heros/heros/k1.atlas index 1a1e9c92..2a02c76a 100644 --- a/assets/resources/game/heros/heros/k1.atlas +++ b/assets/resources/game/heros/heros/k1.atlas @@ -1,90 +1,90 @@ k1.png -size: 454,208 +size: 286,336 format: RGBA8888 filter: Linear,Linear repeat: none Body - rotate: false - xy: 321, 60 + rotate: true + xy: 116, 45 size: 84, 88 orig: 128, 128 offset: 22, 18 index: -1 Face 01 rotate: false - xy: 207, 20 + xy: 2, 77 size: 112, 52 orig: 200, 128 offset: 51, 28 index: -1 Face 02 rotate: false - xy: 207, 2 + xy: 2, 59 size: 104, 16 orig: 200, 128 offset: 56, 34 index: -1 Face 03 - rotate: false - xy: 207, 74 + rotate: true + xy: 207, 62 size: 112, 74 orig: 200, 128 offset: 50, 13 index: -1 Head rotate: false - xy: 2, 3 + xy: 2, 131 size: 203, 203 orig: 280, 280 offset: 37, 28 index: -1 Left Arm - rotate: false - xy: 375, 13 + rotate: true + xy: 102, 2 size: 41, 45 orig: 64, 64 offset: 11, 9 index: -1 Left Hand rotate: false - xy: 383, 161 + xy: 2, 12 size: 48, 45 orig: 64, 64 offset: 8, 7 index: -1 Left Leg rotate: true - xy: 321, 18 + xy: 206, 20 size: 40, 52 orig: 64, 64 offset: 12, 6 index: -1 Right Leg rotate: true - xy: 321, 18 + xy: 206, 20 size: 40, 52 orig: 64, 64 offset: 12, 6 index: -1 Right Arm - rotate: false - xy: 407, 64 + rotate: true + xy: 149, 2 size: 41, 45 orig: 64, 64 offset: 11, 9 index: -1 Right Hand - rotate: true - xy: 407, 111 + rotate: false + xy: 52, 12 size: 48, 45 orig: 64, 64 offset: 8, 10 index: -1 Weapon - rotate: false - xy: 207, 150 - size: 174, 56 - orig: 180, 64 - offset: 3, 5 + rotate: true + xy: 207, 176 + size: 158, 77 + orig: 180, 130 + offset: 11, 26 index: -1 diff --git a/assets/resources/game/heros/heros/k1.json b/assets/resources/game/heros/heros/k1.json index c5f6e702..c80ad4ce 100644 --- a/assets/resources/game/heros/heros/k1.json +++ b/assets/resources/game/heros/heros/k1.json @@ -1,13 +1,13 @@ { "skeleton": { - "hash": "gb+/032H6y/yhUHAxZJyKUrXWfw=", + "hash": "B+IMdaOt0A4RULIQJUq9Fd6UUMw=", "spine": "3.8.75", "x": -151.92, "y": -10.85, - "width": 294.8, + "width": 325.83, "height": 336.35, "fps": 10, - "images": "./items/Knight Gray/Vector Parts/", + "images": "./items/k1/", "audio": "D:/Game/games/spine/items/Knight Gray/Vector Parts" }, "bones": [ @@ -64,7 +64,7 @@ "Right Hand": { "width": 64, "height": 64 } }, "root-bone_006-bone_000-bone_001-ext_Weapon": { - "Weapon": { "width": 180, "height": 64 } + "Weapon": { "width": 180, "height": 130 } }, "root-bone_005-ext_Right Leg": { "Right Leg": { "width": 64, "height": 64 } diff --git a/assets/resources/game/heros/heros/k1.png b/assets/resources/game/heros/heros/k1.png index 804901c0..e1069fa1 100644 Binary files a/assets/resources/game/heros/heros/k1.png and b/assets/resources/game/heros/heros/k1.png differ diff --git a/assets/resources/game/heros/heros/k2.atlas b/assets/resources/game/heros/heros/k2.atlas new file mode 100644 index 00000000..23205a66 --- /dev/null +++ b/assets/resources/game/heros/heros/k2.atlas @@ -0,0 +1,90 @@ + +k2.png +size: 350,269 +format: RGBA8888 +filter: Linear,Linear +repeat: none +Body + rotate: false + xy: 209, 2 + size: 84, 88 + orig: 128, 128 + offset: 22, 18 + index: -1 +Face 01 + rotate: false + xy: 2, 11 + size: 112, 52 + orig: 200, 128 + offset: 51, 28 + index: -1 +Face 02 + rotate: true + xy: 332, 163 + size: 104, 16 + orig: 200, 128 + offset: 56, 34 + index: -1 +Face 03 + rotate: false + xy: 192, 92 + size: 112, 74 + orig: 200, 128 + offset: 50, 13 + index: -1 +Head + rotate: true + xy: 2, 65 + size: 202, 188 + orig: 280, 280 + offset: 56, 29 + index: -1 +Left Arm + rotate: false + xy: 295, 3 + size: 41, 45 + orig: 64, 64 + offset: 11, 9 + index: -1 +Left Hand + rotate: true + xy: 116, 15 + size: 48, 45 + orig: 64, 64 + offset: 8, 7 + index: -1 +Left Leg + rotate: true + xy: 295, 50 + size: 40, 52 + orig: 64, 64 + offset: 12, 6 + index: -1 +Right Leg + rotate: true + xy: 295, 50 + size: 40, 52 + orig: 64, 64 + offset: 12, 6 + index: -1 +Right Arm + rotate: false + xy: 306, 116 + size: 41, 45 + orig: 64, 64 + offset: 11, 9 + index: -1 +Right Hand + rotate: true + xy: 163, 15 + size: 48, 44 + orig: 64, 64 + offset: 8, 10 + index: -1 +Weapon + rotate: false + xy: 192, 168 + size: 138, 99 + orig: 180, 130 + offset: 17, 15 + index: -1 diff --git a/assets/resources/game/heros/heros/k2.atlas.meta b/assets/resources/game/heros/heros/k2.atlas.meta new file mode 100644 index 00000000..5b15a603 --- /dev/null +++ b/assets/resources/game/heros/heros/k2.atlas.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.0.1", + "importer": "*", + "imported": true, + "uuid": "520911e8-e572-4c87-8046-8e1ba36e0a98", + "files": [ + ".atlas", + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/game/heros/heros/k2.json b/assets/resources/game/heros/heros/k2.json new file mode 100644 index 00000000..11ae2ada --- /dev/null +++ b/assets/resources/game/heros/heros/k2.json @@ -0,0 +1,735 @@ +{ +"skeleton": { + "hash": "bDdcW8PjuVYJcmfDMINYVQsKtUg=", + "spine": "3.8.75", + "x": -158.82, + "y": -10.85, + "width": 335.37, + "height": 336.35, + "fps": 10, + "images": "./items/k2/", + "audio": "D:/Game/games/spine/items/Knight Dark/Vector Parts" +}, +"bones": [ + { "name": "root" }, + { "name": "root-bone_006", "parent": "root", "length": 56.22, "rotation": 89.4, "x": 0.14, "y": 33.73 }, + { "name": "root-bone_005", "parent": "root", "length": 35.46, "rotation": 261.59, "x": -17.93, "y": 37.64 }, + { "name": "root-bone_004", "parent": "root", "length": 34.35, "rotation": 275.19, "x": 19.35, "y": 36.24 }, + { "name": "root-bone_006-ext_Body", "parent": "root-bone_006", "rotation": 270.6, "x": 25.27, "y": -0.21 }, + { "name": "root-bone_004-ext_Left Leg", "parent": "root-bone_004", "rotation": 91.37, "x": 11.74, "y": 0.49 }, + { "name": "root-bone_006-bone_000", "parent": "root-bone_006", "length": 29.84, "rotation": 259.65, "x": 43.93, "y": -17.8 }, + { "name": "root-bone_006-bone_002", "parent": "root-bone_006", "length": 31.19, "rotation": 148.48, "x": 41.59, "y": 27.83 }, + { "name": "root-bone_006-bone_007", "parent": "root-bone_006", "length": 151.15, "rotation": 357.24, "x": 56.15, "y": 6.9 }, + { "name": "root-bone_005-ext_Right Leg", "parent": "root-bone_005", "rotation": 91.78, "x": 12.69, "y": 0.71 }, + { "name": "root-bone_006-bone_000-ext_Left Arm", "parent": "root-bone_006-bone_000", "rotation": 100.44, "x": 9.61, "y": -1.42 }, + { "name": "root-bone_006-bone_007-ext_Head", "parent": "root-bone_006-bone_007", "rotation": 273.37, "x": 94.64, "y": 18.24 }, + { "name": "root-bone_006-bone_002-bone_003", "parent": "root-bone_006-bone_002", "length": 18.89, "rotation": 358.5, "x": 31.19 }, + { "name": "root-bone_006-bone_007-ext_Face 01", "parent": "root-bone_006-bone_007", "rotation": 273.37, "x": 50.67, "y": -8.19 }, + { "name": "root-bone_006-bone_002-ext_Right Arm", "parent": "root-bone_006-bone_002", "rotation": 100.91, "x": 9.76, "y": -1.83 }, + { "name": "root-bone_006-bone_000-bone_001", "parent": "root-bone_006-bone_000", "length": 23.33, "rotation": 358.01, "x": 29.84 }, + { "name": "root-bone_006-bone_000-bone_001-ext_Weapon", "parent": "root-bone_006-bone_000-bone_001", "rotation": 83.05, "x": 23.96, "y": 61.41 }, + { "name": "root-bone_006-bone_000-bone_001-ext_Left Hand", "parent": "root-bone_006-bone_000-bone_001", "rotation": 102.43, "x": 9.48, "y": 0.28 }, + { "name": "root-bone_006-bone_002-bone_003-ext_Right Hand", "parent": "root-bone_006-bone_002-bone_003", "rotation": 102.41, "x": 7.46, "y": 1.31 } +], +"slots": [ + { "name": "root-bone_006-bone_000-ext_Left Arm", "bone": "root-bone_006-bone_000-ext_Left Arm", "attachment": "Left Arm" }, + { "name": "root-bone_006-bone_000-bone_001-ext_Weapon", "bone": "root-bone_006-bone_000-bone_001-ext_Weapon", "attachment": "Weapon" }, + { "name": "root-bone_006-bone_000-bone_001-ext_Left Hand", "bone": "root-bone_006-bone_000-bone_001-ext_Left Hand", "attachment": "Left Hand" }, + { "name": "root-bone_004-ext_Left Leg", "bone": "root-bone_004-ext_Left Leg", "attachment": "Left Leg" }, + { "name": "root-bone_005-ext_Right Leg", "bone": "root-bone_005-ext_Right Leg", "attachment": "Right Leg" }, + { "name": "root-bone_006-ext_Body", "bone": "root-bone_006-ext_Body", "attachment": "Body" }, + { "name": "root-bone_006-bone_007-ext_Head", "bone": "root-bone_006-bone_007-ext_Head", "attachment": "Head" }, + { "name": "root-bone_006-bone_007-ext_Face 01", "bone": "root-bone_006-bone_007-ext_Face 01", "attachment": "Face 01" }, + { "name": "root-bone_006-bone_002-bone_003-ext_Right Hand", "bone": "root-bone_006-bone_002-bone_003-ext_Right Hand", "attachment": "Right Hand" }, + { "name": "root-bone_006-bone_002-ext_Right Arm", "bone": "root-bone_006-bone_002-ext_Right Arm", "attachment": "Right Arm" } +], +"skins": [ + { + "name": "default", + "attachments": { + "root-bone_006-bone_000-bone_001-ext_Left Hand": { + "Left Hand": { "width": 64, "height": 64 } + }, + "root-bone_006-ext_Body": { + "Body": { "width": 128, "height": 128 } + }, + "root-bone_006-bone_007-ext_Head": { + "Head": { "width": 280, "height": 280 } + }, + "root-bone_006-bone_002-ext_Right Arm": { + "Right Arm": { "width": 64, "height": 64 } + }, + "root-bone_006-bone_002-bone_003-ext_Right Hand": { + "Right Hand": { "rotation": -0.08, "width": 64, "height": 64 } + }, + "root-bone_006-bone_000-bone_001-ext_Weapon": { + "Weapon": { "width": 180, "height": 130 } + }, + "root-bone_005-ext_Right Leg": { + "Right Leg": { "width": 64, "height": 64 } + }, + "root-bone_006-bone_000-ext_Left Arm": { + "Left Arm": { "width": 64, "height": 64 } + }, + "root-bone_006-bone_007-ext_Face 01": { + "Face 01": { "width": 200, "height": 128 }, + "Face 02": { "width": 200, "height": 128 }, + "Face 03": { "width": 200, "height": 128 } + }, + "root-bone_004-ext_Left Leg": { + "Left Leg": { "width": 64, "height": 64 } + } + } + } +], +"animations": { + "Attacking": { + "bones": { + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.1, "angle": 4.2 }, + { "time": 0.2, "angle": 4.48 }, + { "time": 0.275, "angle": -13.49 }, + { "time": 0.3, "angle": -14.54 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.1, "x": -1.12, "y": 3.35 }, + { "time": 0.2, "x": -1.6, "y": 4.31 }, + { "time": 0.275, "x": 0.8, "y": -2.1 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.1, "angle": 47.01 }, + { "time": 0.2, "angle": 48.51 }, + { "time": 0.275, "angle": -28.36 }, + { "time": 0.3, "angle": -25.38 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + {}, + { "time": 0.1, "angle": 16.78, "curve": "stepped" }, + { "time": 0.2, "angle": 16.78 }, + { "time": 0.275, "angle": -27.03 }, + { "time": 0.3, "angle": -23.87 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.1, "angle": -7.81 }, + { "time": 0.2, "angle": -10.58 }, + { "time": 0.275, "angle": -26.88 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.1, "angle": 5.61 }, + { "time": 0.2, "angle": 6.48 }, + { "time": 0.275, "angle": 0.87 }, + { "time": 0.4 } + ], + "translate": [ + { "time": 0.1 }, + { "time": 0.2, "x": 1.94, "y": 1.11 }, + { "time": 0.275, "x": 0.97, "y": 0.56 }, + { "time": 0.4 } + ] + } + } + }, + "Dying": { + "slots": { + "root-bone_006-bone_007-ext_Face 01": { + "attachment": [ + { "name": "Face 03" } + ] + } + }, + "bones": { + "root-bone_004": { + "rotate": [ + {}, + { "time": 0.1, "angle": 18.04 }, + { "time": 0.2, "angle": 63.5 }, + { "time": 0.3, "angle": 114.4 }, + { "time": 0.35, "angle": 74.48 }, + { "time": 0.5 } + ], + "translate": [ + {}, + { "time": 0.1, "x": -11.35, "y": 6.59 }, + { "time": 0.2, "x": -1.72, "y": 22.24 }, + { "time": 0.3, "x": -4.38, "y": 24.07 }, + { "time": 0.5 } + ] + }, + "root-bone_005": { + "rotate": [ + {}, + { "time": 0.1, "angle": 14.48 }, + { "time": 0.2, "angle": 66.18 }, + { "time": 0.3, "angle": 128.98 }, + { "time": 0.35, "angle": 80.43 }, + { "time": 0.5 } + ], + "translate": [ + {}, + { "time": 0.1, "x": -8.53, "y": 7.99 }, + { "time": 0.2, "x": 7.3, "y": 0.73 }, + { "time": 0.3, "x": 34.75, "y": -13.41 }, + { "time": 0.5 } + ] + }, + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.1, "angle": -9.23 }, + { "time": 0.2, "angle": 30.41 }, + { "time": 0.3, "angle": 89.35 }, + { "time": 0.5 } + ], + "translate": [ + {}, + { "time": 0.1, "x": -8.54, "y": 8.03 }, + { "time": 0.2, "x": 5.99, "y": 13.75 }, + { "time": 0.3, "x": 16, "y": 7.67 }, + { "time": 0.5 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.2, "angle": 10.43 }, + { "time": 0.3, "angle": 6.95 }, + { "time": 0.35, "angle": -37.18 }, + { "time": 0.5 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + { "time": 0.3 }, + { "time": 0.35, "angle": 18.99 }, + { "time": 0.5 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.1, "angle": 72.6 }, + { "time": 0.2, "angle": 79.92 }, + { "time": 0.3, "angle": 91.92 }, + { "time": 0.35, "angle": 48.36 }, + { "time": 0.5 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.1, "angle": -5.09 }, + { "time": 0.2, "angle": -21.9 }, + { "time": 0.3, "angle": -49.8 }, + { "time": 0.35, "angle": -17.51 }, + { "time": 0.5 } + ], + "translate": [ + { "time": 0.2 }, + { "time": 0.3, "x": -1.83, "y": -7.33 }, + { "time": 0.35, "x": -4.12, "y": -12.18 }, + { "time": 0.5 } + ] + } + } + }, + "Hurt": { + "slots": { + "root-bone_006-bone_007-ext_Face 01": { + "attachment": [ + { "name": "Face 03" } + ] + } + }, + "bones": { + "root-bone_004": { + "rotate": [ + {}, + { "time": 0.1, "angle": 27.58 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.1, "x": -2.95, "y": 7.87 }, + { "time": 0.4 } + ] + }, + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.1, "angle": 11.65 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.1, "x": -0.86, "y": 6.16 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.1, "angle": 15.45 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + {}, + { "time": 0.1, "angle": -5.6 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.05, "angle": 8.94 }, + { "time": 0.1, "angle": -4.58 }, + { "time": 0.15, "angle": -18.09 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.05, "angle": -9.85 }, + { "time": 0.1, "angle": 1.01 }, + { "time": 0.15, "angle": 11.87 }, + { "time": 0.4 } + ] + } + } + }, + "Idle": { + "bones": { + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.2, "angle": 2.13 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.2, "x": -0.4, "y": 2.83 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.2, "angle": 3.4 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + {}, + { "time": 0.2, "angle": 6.25 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.2, "angle": -11.19 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.05, "angle": -2.83 }, + { "time": 0.2, "angle": 3.15 }, + { "time": 0.25, "angle": 5.15 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.05, "x": -2.31, "y": -1.39 }, + { "time": 0.2, "x": 2.68, "y": -0.61 }, + { "time": 0.25, "x": 4.35, "y": -0.35 }, + { "time": 0.4 } + ] + } + } + }, + "Idle Blink": { + "slots": { + "root-bone_006-bone_007-ext_Face 01": { + "attachment": [ + { "time": 0.3, "name": "Face 02" } + ] + } + }, + "bones": { + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.2, "angle": 2.13 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.2, "x": -0.4, "y": 2.83 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.2, "angle": 3.4 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + {}, + { "time": 0.2, "angle": 6.25 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.2, "angle": -11.19 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.05, "angle": -2.83 }, + { "time": 0.25, "angle": 5.15 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.05, "x": -2.31, "y": -1.39 }, + { "time": 0.25, "x": 4.35, "y": -0.35 }, + { "time": 0.4 } + ] + } + } + }, + "Jump Loop": { + "bones": { + "root-bone_004": { + "rotate": [ + { "angle": 36.35 }, + { "time": 0.1, "angle": 32.4 }, + { "time": 0.2, "angle": 36.35 } + ], + "translate": [ + { "x": 0.48, "y": 4.81 } + ] + }, + "root-bone_005": { + "rotate": [ + { "angle": -36.22 }, + { "time": 0.1, "angle": -33.81 }, + { "time": 0.2, "angle": -36.22 } + ] + }, + "root-bone_006": { + "rotate": [ + { "angle": 6.62 }, + { "time": 0.1, "angle": 5.1 }, + { "time": 0.2, "angle": 6.62 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + { "angle": 29.54 }, + { "time": 0.1, "angle": 28.2 }, + { "time": 0.2, "angle": 29.54 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + { "angle": 15.26 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + { "angle": -29.22 }, + { "time": 0.1, "angle": -25.36 }, + { "time": 0.2, "angle": -29.22 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + { "angle": 6.11 }, + { "time": 0.1, "angle": 3.71 }, + { "time": 0.2, "angle": 6.11 } + ] + } + } + }, + "Jump Start": { + "bones": { + "root-bone_004": { + "rotate": [ + {}, + { "time": 0.2, "angle": 36.35 } + ], + "translate": [ + {}, + { "time": 0.2, "x": 0.48, "y": 4.81 } + ] + }, + "root-bone_005": { + "rotate": [ + {}, + { "time": 0.2, "angle": -36.22 } + ] + }, + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.2, "angle": 6.62 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.2, "angle": 29.54 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + {}, + { "time": 0.2, "angle": 15.26 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.2, "angle": -29.22 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.2, "angle": 6.11 } + ] + } + } + }, + "Taunt": { + "bones": { + "root-bone_004": { + "rotate": [ + {}, + { "time": 0.1, "angle": -12.01 }, + { "time": 0.3, "angle": -9.61 }, + { "time": 0.5, "angle": -12.01 }, + { "time": 0.6 } + ], + "translate": [ + {}, + { "time": 0.1, "x": 5.7, "y": 0.39 }, + { "time": 0.3, "x": 4.56, "y": 0.31 }, + { "time": 0.5, "x": 5.7, "y": 0.39 }, + { "time": 0.6 } + ] + }, + "root-bone_005": { + "rotate": [ + {}, + { "time": 0.1, "angle": -17.76 }, + { "time": 0.3, "angle": -14.21 }, + { "time": 0.5, "angle": -17.76 }, + { "time": 0.6 } + ], + "translate": [ + {}, + { "time": 0.1, "x": 6.07, "y": 0.58 }, + { "time": 0.3, "x": 4.86, "y": 0.47 }, + { "time": 0.5, "x": 6.07, "y": 0.58 }, + { "time": 0.6 } + ] + }, + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.1, "angle": 3.8 }, + { "time": 0.3, "angle": 3.04 }, + { "time": 0.5, "angle": 3.8 }, + { "time": 0.6 } + ], + "translate": [ + {}, + { "time": 0.1, "x": 6.46, "y": 7.45 }, + { "time": 0.3, "x": 5.17, "y": 5.96 }, + { "time": 0.5, "x": 6.46, "y": 7.45 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.1, "angle": 17.07 }, + { "time": 0.3, "angle": 13.66 }, + { "time": 0.5, "angle": 17.07 }, + { "time": 0.6 } + ], + "translate": [ + {}, + { "time": 0.1, "y": -6.99 }, + { "time": 0.3, "y": -5.59 }, + { "time": 0.5, "y": -6.99 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + {}, + { "time": 0.1, "angle": -19.79 }, + { "time": 0.3, "angle": -15.83 }, + { "time": 0.5, "angle": -19.79 }, + { "time": 0.6 } + ], + "translate": [ + {}, + { "time": 0.1, "x": 3.53, "y": 1.56 }, + { "time": 0.3, "x": 2.83, "y": 1.25 }, + { "time": 0.5, "x": 3.53, "y": 1.56 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.1, "angle": -30.01 }, + { "time": 0.3, "angle": -24.01 }, + { "time": 0.5, "angle": -30.01 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.1, "angle": 7.67 }, + { "time": 0.3, "angle": 6.13 }, + { "time": 0.5, "angle": 7.67 }, + { "time": 0.6 } + ], + "translate": [ + {}, + { "time": 0.1, "x": 3.4, "y": 1.56 }, + { "time": 0.3, "x": 2.72, "y": 1.24 }, + { "time": 0.5, "x": 3.4, "y": 1.56 }, + { "time": 0.6 } + ] + } + } + }, + "Walking": { + "bones": { + "root-bone_004": { + "rotate": [ + { "angle": -34.88 }, + { "time": 0.15, "angle": -6.9 }, + { "time": 0.3, "angle": 15.46 }, + { "time": 0.45, "angle": -6.9 }, + { "time": 0.6, "angle": -34.88 } + ] + }, + "root-bone_005": { + "rotate": [ + { "angle": 40.24 }, + { "time": 0.15, "angle": 6.17 }, + { "time": 0.3, "angle": -13.58 }, + { "time": 0.45, "angle": 6.17 }, + { "time": 0.6, "angle": 40.24 } + ] + }, + "root-bone_006": { + "rotate": [ + { "angle": -4.72 }, + { "time": 0.15, "angle": 1.64 }, + { "time": 0.3, "angle": -4.72 }, + { "time": 0.45, "angle": 1.64 }, + { "time": 0.6, "angle": -4.72 } + ], + "translate": [ + {}, + { "time": 0.15, "y": 4.41 }, + { "time": 0.3 }, + { "time": 0.45, "y": 4.41 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + { "angle": -26.08 }, + { "time": 0.15, "angle": -48.44 }, + { "time": 0.3, "angle": -70.79 }, + { "time": 0.45, "angle": -48.44 }, + { "time": 0.6, "angle": -26.08 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + { "angle": 10.29 }, + { "time": 0.15, "angle": 16.39 }, + { "time": 0.3, "angle": 22.49 }, + { "time": 0.45, "angle": 16.39 }, + { "time": 0.6, "angle": 10.29 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.15, "angle": 39.98 }, + { "time": 0.3, "angle": 79.95 }, + { "time": 0.45, "angle": 39.98 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + { "angle": -1.29 }, + { "time": 0.05, "angle": -6.45 }, + { "time": 0.15, "angle": -0.47 }, + { "time": 0.2, "angle": 2.53 }, + { "time": 0.3, "angle": -2.13 }, + { "time": 0.35, "angle": -4.45 }, + { "time": 0.45, "angle": 1 }, + { "time": 0.5, "angle": 3.72 }, + { "time": 0.6, "angle": -1.29 } + ], + "translate": [ + {}, + { "time": 0.05, "x": -2.12, "y": -0.12 }, + { "time": 0.15, "x": 0.7, "y": 0.34 }, + { "time": 0.2, "x": 2.12, "y": 0.57 }, + { "time": 0.3, "x": -1.06, "y": 0.09 }, + { "time": 0.35, "x": -2.66, "y": -0.15 }, + { "time": 0.45, "x": 0.53, "y": -0.02 }, + { "time": 0.5, "x": 2.13, "y": 0.04 }, + { "time": 0.6 } + ] + } + } + } +} +} \ No newline at end of file diff --git a/assets/resources/game/heros/heros/k2.json.meta b/assets/resources/game/heros/heros/k2.json.meta new file mode 100644 index 00000000..3803f4a3 --- /dev/null +++ b/assets/resources/game/heros/heros/k2.json.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.2.6", + "importer": "spine-data", + "imported": true, + "uuid": "fc05a6c1-581b-4d62-b98e-11d41b326ada", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/game/heros/heros/k2.png b/assets/resources/game/heros/heros/k2.png new file mode 100644 index 00000000..3ebf0997 Binary files /dev/null and b/assets/resources/game/heros/heros/k2.png differ diff --git a/assets/resources/game/heros/heros/k2.png.meta b/assets/resources/game/heros/heros/k2.png.meta new file mode 100644 index 00000000..722938eb --- /dev/null +++ b/assets/resources/game/heros/heros/k2.png.meta @@ -0,0 +1,42 @@ +{ + "ver": "1.0.26", + "importer": "image", + "imported": true, + "uuid": "34b32a23-65e6-423b-96d4-006ba84e424c", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "34b32a23-65e6-423b-96d4-006ba84e424c@6c48a", + "displayName": "k2", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0, + "isUuid": true, + "imageUuidOrDatabaseUri": "34b32a23-65e6-423b-96d4-006ba84e424c", + "visible": false + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "hasAlpha": true, + "type": "texture", + "fixAlphaTransparencyArtifacts": false, + "redirect": "34b32a23-65e6-423b-96d4-006ba84e424c@6c48a" + } +} diff --git a/assets/resources/game/heros/k3.atlas b/assets/resources/game/heros/k3.atlas new file mode 100644 index 00000000..f683b078 --- /dev/null +++ b/assets/resources/game/heros/k3.atlas @@ -0,0 +1,90 @@ + +k3.png +size: 445,236 +format: RGBA8888 +filter: Linear,Linear +repeat: none +Body + rotate: false + xy: 312, 146 + size: 84, 88 + orig: 128, 128 + offset: 22, 18 + index: -1 +Face 01 + rotate: false + xy: 236, 8 + size: 112, 52 + orig: 200, 128 + offset: 51, 28 + index: -1 +Face 02 + rotate: false + xy: 312, 128 + size: 104, 16 + orig: 200, 128 + offset: 56, 34 + index: -1 +Face 03 + rotate: true + xy: 236, 122 + size: 112, 74 + orig: 200, 128 + offset: 50, 13 + index: -1 +Head + rotate: false + xy: 2, 2 + size: 232, 232 + orig: 280, 280 + offset: 9, 30 + index: -1 +Left Arm + rotate: false + xy: 398, 189 + size: 41, 45 + orig: 64, 64 + offset: 11, 9 + index: -1 +Left Hand + rotate: true + xy: 350, 12 + size: 48, 45 + orig: 64, 64 + offset: 8, 7 + index: -1 +Left Leg + rotate: false + xy: 397, 24 + size: 40, 52 + orig: 64, 64 + offset: 12, 6 + index: -1 +Right Leg + rotate: false + xy: 397, 24 + size: 40, 52 + orig: 64, 64 + offset: 12, 6 + index: -1 +Right Arm + rotate: true + xy: 398, 146 + size: 41, 45 + orig: 64, 64 + offset: 11, 9 + index: -1 +Right Hand + rotate: true + xy: 374, 78 + size: 48, 44 + orig: 64, 64 + offset: 8, 10 + index: -1 +Weapon + rotate: false + xy: 236, 62 + size: 136, 58 + orig: 180, 130 + offset: 22, 36 + index: -1 diff --git a/assets/resources/game/heros/k3.atlas.meta b/assets/resources/game/heros/k3.atlas.meta new file mode 100644 index 00000000..c33d854d --- /dev/null +++ b/assets/resources/game/heros/k3.atlas.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.0.1", + "importer": "*", + "imported": true, + "uuid": "332970d0-2ee1-4b05-b0f0-00a74967f1fb", + "files": [ + ".atlas", + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/game/heros/k3.json b/assets/resources/game/heros/k3.json new file mode 100644 index 00000000..7e728db8 --- /dev/null +++ b/assets/resources/game/heros/k3.json @@ -0,0 +1,694 @@ +{ +"skeleton": { + "hash": "grnyMTLcKnFZOVtRNVJkLT3Jkh0=", + "spine": "3.8.75", + "x": -151.92, + "y": -10.85, + "width": 327.45, + "height": 336.35, + "fps": 10, + "images": "./items/k3/", + "audio": "D:/Game/games/spine/items/Knight Light/Vector Parts" +}, +"bones": [ + { "name": "root" }, + { "name": "root-bone_006", "parent": "root", "length": 56.22, "rotation": 89.4, "x": 0.14, "y": 33.73 }, + { "name": "root-bone_005", "parent": "root", "length": 35.46, "rotation": 261.59, "x": -17.93, "y": 37.64 }, + { "name": "root-bone_004", "parent": "root", "length": 34.35, "rotation": 275.19, "x": 19.35, "y": 36.24 }, + { "name": "root-bone_006-ext_Body", "parent": "root-bone_006", "rotation": 270.6, "x": 25.27, "y": -0.21 }, + { "name": "root-bone_004-ext_Left Leg", "parent": "root-bone_004", "rotation": 91.37, "x": 11.74, "y": 0.49 }, + { "name": "root-bone_006-bone_000", "parent": "root-bone_006", "length": 29.84, "rotation": 259.65, "x": 43.93, "y": -17.8 }, + { "name": "root-bone_006-bone_002", "parent": "root-bone_006", "length": 31.19, "rotation": 148.48, "x": 41.59, "y": 27.83 }, + { "name": "root-bone_006-bone_007", "parent": "root-bone_006", "length": 151.15, "rotation": 357.24, "x": 56.22 }, + { "name": "root-bone_005-ext_Right Leg", "parent": "root-bone_005", "rotation": 91.78, "x": 12.69, "y": 0.71 }, + { "name": "root-bone_006-bone_000-ext_Left Arm", "parent": "root-bone_006-bone_000", "rotation": 100.44, "x": 9.61, "y": -1.42 }, + { "name": "root-bone_006-bone_007-ext_Head", "parent": "root-bone_006-bone_007", "rotation": 273.37, "x": 94.64, "y": 18.24 }, + { "name": "root-bone_006-bone_002-bone_003", "parent": "root-bone_006-bone_002", "length": 18.89, "rotation": 358.5, "x": 31.19 }, + { "name": "root-bone_006-bone_007-ext_Face 01", "parent": "root-bone_006-bone_007", "rotation": 273.37, "x": 50.67, "y": -8.19 }, + { "name": "root-bone_006-bone_002-ext_Right Arm", "parent": "root-bone_006-bone_002", "rotation": 100.91, "x": 9.76, "y": -1.83 }, + { "name": "root-bone_006-bone_000-bone_001", "parent": "root-bone_006-bone_000", "length": 23.33, "rotation": 358.01, "x": 29.84 }, + { "name": "root-bone_006-bone_002-bone_003-bone_008", "parent": "root-bone_006-bone_002-bone_003", "length": 27.4, "rotation": 213.62, "x": 2.91, "y": -4.01 }, + { "name": "root-bone_006-bone_000-bone_001-ext_Weapon", "parent": "root-bone_006-bone_000-bone_001", "rotation": 83.05, "x": 21.17, "y": 69.04 }, + { "name": "root-bone_006-bone_000-bone_001-ext_Left Hand", "parent": "root-bone_006-bone_000-bone_001", "rotation": 102.43, "x": 9.48, "y": 0.28 }, + { "name": "root-bone_006-bone_002-bone_003-ext_Right Hand", "parent": "root-bone_006-bone_002-bone_003", "rotation": 102.41, "x": 7.46, "y": 1.31 }, + { "name": "root-bone_006-bone_002-bone_003-bone_008-ext_Shiled", "parent": "root-bone_006-bone_002-bone_003-bone_008", "rotation": 270, "x": -1.92, "y": -0.48 } +], +"slots": [ + { "name": "root-bone_006-bone_000-ext_Left Arm", "bone": "root-bone_006-bone_000-ext_Left Arm", "attachment": "Left Arm" }, + { "name": "root-bone_006-bone_000-bone_001-ext_Weapon", "bone": "root-bone_006-bone_000-bone_001-ext_Weapon", "attachment": "Weapon" }, + { "name": "root-bone_006-bone_000-bone_001-ext_Left Hand", "bone": "root-bone_006-bone_000-bone_001-ext_Left Hand", "attachment": "Left Hand" }, + { "name": "root-bone_004-ext_Left Leg", "bone": "root-bone_004-ext_Left Leg", "attachment": "Left Leg" }, + { "name": "root-bone_005-ext_Right Leg", "bone": "root-bone_005-ext_Right Leg", "attachment": "Right Leg" }, + { "name": "root-bone_006-ext_Body", "bone": "root-bone_006-ext_Body", "attachment": "Body" }, + { "name": "root-bone_006-bone_007-ext_Head", "bone": "root-bone_006-bone_007-ext_Head", "attachment": "Head" }, + { "name": "root-bone_006-bone_007-ext_Face 01", "bone": "root-bone_006-bone_007-ext_Face 01", "attachment": "Face 01" }, + { "name": "root-bone_006-bone_002-bone_003-ext_Right Hand", "bone": "root-bone_006-bone_002-bone_003-ext_Right Hand", "attachment": "Right Hand" }, + { "name": "root-bone_006-bone_002-ext_Right Arm", "bone": "root-bone_006-bone_002-ext_Right Arm", "attachment": "Right Arm" } +], +"skins": [ + { + "name": "default", + "attachments": { + "root-bone_006-bone_000-bone_001-ext_Left Hand": { + "Left Hand": { "width": 64, "height": 64 } + }, + "root-bone_006-ext_Body": { + "Body": { "width": 128, "height": 128 } + }, + "root-bone_006-bone_007-ext_Head": { + "Head": { "width": 280, "height": 280 } + }, + "root-bone_006-bone_002-ext_Right Arm": { + "Right Arm": { "width": 64, "height": 64 } + }, + "root-bone_006-bone_002-bone_003-ext_Right Hand": { + "Right Hand": { "width": 64, "height": 64 } + }, + "root-bone_006-bone_000-bone_001-ext_Weapon": { + "Weapon": { "x": -14.39, "y": -5.21, "width": 180, "height": 130 } + }, + "root-bone_005-ext_Right Leg": { + "Right Leg": { "width": 64, "height": 64 } + }, + "root-bone_006-bone_000-ext_Left Arm": { + "Left Arm": { "width": 64, "height": 64 } + }, + "root-bone_006-bone_007-ext_Face 01": { + "Face 01": { "width": 200, "height": 128 }, + "Face 02": { "width": 200, "height": 128 }, + "Face 03": { "width": 200, "height": 128 } + }, + "root-bone_004-ext_Left Leg": { + "Left Leg": { "width": 64, "height": 64 } + } + } + } +], +"animations": { + "Attacking": { + "bones": { + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.1, "angle": 4.2 }, + { "time": 0.2, "angle": 4.48 }, + { "time": 0.275, "angle": -13.49 }, + { "time": 0.3, "angle": -14.54 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.1, "x": -1.12, "y": 3.35 }, + { "time": 0.2, "x": -1.6, "y": 4.31 }, + { "time": 0.275, "x": 0.8, "y": -2.1 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.1, "angle": 47.01 }, + { "time": 0.2, "angle": 48.51 }, + { "time": 0.275, "angle": -28.36 }, + { "time": 0.3, "angle": -25.38 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + {}, + { "time": 0.1, "angle": 16.78, "curve": "stepped" }, + { "time": 0.2, "angle": 16.78 }, + { "time": 0.275, "angle": -27.03 }, + { "time": 0.3, "angle": -23.87 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.1, "angle": -7.81 }, + { "time": 0.2, "angle": -10.58 }, + { "time": 0.275, "angle": -26.88 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002-bone_003-bone_008": { + "rotate": [ + {}, + { "time": 0.1, "angle": 3.62 }, + { "time": 0.2, "angle": 6.1 }, + { "time": 0.275, "angle": 40.37 }, + { "time": 0.3, "angle": 41.41 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.1, "angle": 5.61 }, + { "time": 0.2, "angle": 6.48 }, + { "time": 0.275, "angle": 0.87 }, + { "time": 0.4 } + ], + "translate": [ + { "time": 0.1 }, + { "time": 0.2, "x": 1.94, "y": 1.11 }, + { "time": 0.275, "x": 0.97, "y": 0.56 }, + { "time": 0.4 } + ] + } + } + }, + "Dying": { + "slots": { + "root-bone_006-bone_007-ext_Face 01": { + "attachment": [ + { "name": "Face 03" } + ] + } + }, + "bones": { + "root-bone_004": { + "rotate": [ + {}, + { "time": 0.1, "angle": 18.04 }, + { "time": 0.2, "angle": 63.5 }, + { "time": 0.3, "angle": 114.4 }, + { "time": 0.35, "angle": 74.48 }, + { "time": 0.5 } + ], + "translate": [ + {}, + { "time": 0.1, "x": -11.35, "y": 6.59 }, + { "time": 0.2, "x": -1.72, "y": 22.24 }, + { "time": 0.3, "x": -4.38, "y": 24.07 }, + { "time": 0.5 } + ] + }, + "root-bone_005": { + "rotate": [ + {}, + { "time": 0.1, "angle": 14.48 }, + { "time": 0.2, "angle": 66.18 }, + { "time": 0.3, "angle": 128.98 }, + { "time": 0.35, "angle": 80.43 }, + { "time": 0.5 } + ], + "translate": [ + {}, + { "time": 0.1, "x": -8.53, "y": 7.99 }, + { "time": 0.2, "x": 7.3, "y": 0.73 }, + { "time": 0.3, "x": 34.75, "y": -13.41 }, + { "time": 0.5 } + ] + }, + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.1, "angle": -9.23 }, + { "time": 0.2, "angle": 30.41 }, + { "time": 0.3, "angle": 89.35 }, + { "time": 0.5 } + ], + "translate": [ + {}, + { "time": 0.1, "x": -8.54, "y": 8.03 }, + { "time": 0.2, "x": 5.99, "y": 13.75 }, + { "time": 0.3, "x": 16, "y": 7.67 }, + { "time": 0.5 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.2, "angle": 10.43 }, + { "time": 0.3, "angle": 6.95 }, + { "time": 0.35, "angle": -37.18 }, + { "time": 0.5 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + { "time": 0.3 }, + { "time": 0.35, "angle": 18.99 }, + { "time": 0.5 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.1, "angle": 72.6 }, + { "time": 0.2, "angle": 79.92 }, + { "time": 0.3, "angle": 91.92 }, + { "time": 0.35, "angle": 48.36 }, + { "time": 0.5 } + ] + }, + "root-bone_006-bone_002-bone_003-bone_008": { + "rotate": [ + {}, + { "time": 0.1, "angle": -53.44 }, + { "time": 0.2, "angle": -83.87 }, + { "time": 0.3, "angle": -126.04 }, + { "time": 0.35, "angle": -82.48 }, + { "time": 0.5 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.1, "angle": -5.09 }, + { "time": 0.2, "angle": -21.9 }, + { "time": 0.3, "angle": -49.8 }, + { "time": 0.35, "angle": -17.51 }, + { "time": 0.5 } + ], + "translate": [ + { "time": 0.2 }, + { "time": 0.3, "x": -1.83, "y": -7.33 }, + { "time": 0.35, "x": -4.12, "y": -12.18 }, + { "time": 0.5 } + ] + } + } + }, + "Hurt": { + "slots": { + "root-bone_006-bone_007-ext_Face 01": { + "attachment": [ + { "name": "Face 03" } + ] + } + }, + "bones": { + "root-bone_004": { + "rotate": [ + {}, + { "time": 0.1, "angle": 27.58 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.1, "x": -2.95, "y": 7.87 }, + { "time": 0.4 } + ] + }, + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.1, "angle": 11.65 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.1, "x": -0.86, "y": 6.16 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.1, "angle": 15.45 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + {}, + { "time": 0.1, "angle": -5.6 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.05, "angle": 8.94 }, + { "time": 0.1, "angle": -4.58 }, + { "time": 0.15, "angle": -18.09 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002-bone_003-bone_008": { + "rotate": [ + {}, + { "time": 0.05, "angle": -8.94 }, + { "time": 0.1, "angle": 4.58 }, + { "time": 0.15, "angle": 18.09 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.05, "angle": -9.85 }, + { "time": 0.1, "angle": 1.01 }, + { "time": 0.15, "angle": 11.87 }, + { "time": 0.4 } + ] + } + } + }, + "Idle": { + "bones": { + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.2, "angle": 2.13 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.2, "x": -0.4, "y": 2.83 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.2, "angle": 3.4 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + {}, + { "time": 0.2, "angle": 6.25 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.2, "angle": -11.19 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002-bone_003-bone_008": { + "rotate": [ + {}, + { "time": 0.2, "angle": 9.06 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.05, "angle": -2.83 }, + { "time": 0.2, "angle": 3.15 }, + { "time": 0.25, "angle": 5.15 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.05, "x": -2.31, "y": -1.39 }, + { "time": 0.2, "x": 2.68, "y": -0.61 }, + { "time": 0.25, "x": 4.35, "y": -0.35 }, + { "time": 0.4 } + ] + } + } + }, + "Idle Blink": { + "slots": { + "root-bone_006-bone_007-ext_Face 01": { + "attachment": [ + { "time": 0.3, "name": "Face 02" } + ] + } + }, + "bones": { + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.2, "angle": 2.13 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.2, "x": -0.4, "y": 2.83 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.2, "angle": 3.4 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + {}, + { "time": 0.2, "angle": 6.25 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.2, "angle": -11.19 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002-bone_003-bone_008": { + "rotate": [ + {}, + { "time": 0.2, "angle": 9.06 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.05, "angle": -2.83 }, + { "time": 0.25, "angle": 5.15 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.05, "x": -2.31, "y": -1.39 }, + { "time": 0.25, "x": 4.35, "y": -0.35 }, + { "time": 0.4 } + ] + } + } + }, + "Taunt": { + "bones": { + "root-bone_004": { + "rotate": [ + {}, + { "time": 0.1, "angle": -12.01 }, + { "time": 0.3, "angle": -9.61 }, + { "time": 0.5, "angle": -12.01 }, + { "time": 0.6 } + ], + "translate": [ + {}, + { "time": 0.1, "x": 5.7, "y": 0.39 }, + { "time": 0.3, "x": 4.56, "y": 0.31 }, + { "time": 0.5, "x": 5.7, "y": 0.39 }, + { "time": 0.6 } + ] + }, + "root-bone_005": { + "rotate": [ + {}, + { "time": 0.1, "angle": -17.76 }, + { "time": 0.3, "angle": -14.21 }, + { "time": 0.5, "angle": -17.76 }, + { "time": 0.6 } + ], + "translate": [ + {}, + { "time": 0.1, "x": 6.07, "y": 0.58 }, + { "time": 0.3, "x": 4.86, "y": 0.47 }, + { "time": 0.5, "x": 6.07, "y": 0.58 }, + { "time": 0.6 } + ] + }, + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.1, "angle": 3.8 }, + { "time": 0.3, "angle": 3.04 }, + { "time": 0.5, "angle": 3.8 }, + { "time": 0.6 } + ], + "translate": [ + {}, + { "time": 0.1, "x": 6.46, "y": 7.45 }, + { "time": 0.3, "x": 5.17, "y": 5.96 }, + { "time": 0.5, "x": 6.46, "y": 7.45 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.1, "angle": 17.07 }, + { "time": 0.3, "angle": 13.66 }, + { "time": 0.5, "angle": 17.07 }, + { "time": 0.6 } + ], + "translate": [ + {}, + { "time": 0.1, "y": -6.99 }, + { "time": 0.3, "y": -5.59 }, + { "time": 0.5, "y": -6.99 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + {}, + { "time": 0.1, "angle": -19.79 }, + { "time": 0.3, "angle": -15.83 }, + { "time": 0.5, "angle": -19.79 }, + { "time": 0.6 } + ], + "translate": [ + {}, + { "time": 0.1, "x": 3.53, "y": 1.56 }, + { "time": 0.3, "x": 2.83, "y": 1.25 }, + { "time": 0.5, "x": 3.53, "y": 1.56 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.1, "angle": -30.01 }, + { "time": 0.3, "angle": -24.01 }, + { "time": 0.5, "angle": -30.01 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_002-bone_003-bone_008": { + "rotate": [ + {}, + { "time": 0.1, "angle": 44.75 }, + { "time": 0.3, "angle": 35.8 }, + { "time": 0.5, "angle": 44.75 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.1, "angle": 7.67 }, + { "time": 0.3, "angle": 6.13 }, + { "time": 0.5, "angle": 7.67 }, + { "time": 0.6 } + ], + "translate": [ + {}, + { "time": 0.1, "x": 3.4, "y": 1.56 }, + { "time": 0.3, "x": 2.72, "y": 1.24 }, + { "time": 0.5, "x": 3.4, "y": 1.56 }, + { "time": 0.6 } + ] + } + } + }, + "Walking": { + "bones": { + "root-bone_004": { + "rotate": [ + { "angle": -34.88 }, + { "time": 0.15, "angle": -6.9 }, + { "time": 0.3, "angle": 15.46 }, + { "time": 0.45, "angle": -6.9 }, + { "time": 0.6, "angle": -34.88 } + ] + }, + "root-bone_005": { + "rotate": [ + { "angle": 40.24 }, + { "time": 0.15, "angle": 6.17 }, + { "time": 0.3, "angle": -13.58 }, + { "time": 0.45, "angle": 6.17 }, + { "time": 0.6, "angle": 40.24 } + ] + }, + "root-bone_006": { + "rotate": [ + { "angle": -4.72 }, + { "time": 0.15, "angle": 1.64 }, + { "time": 0.3, "angle": -4.72 }, + { "time": 0.45, "angle": 1.64 }, + { "time": 0.6, "angle": -4.72 } + ], + "translate": [ + {}, + { "time": 0.15, "y": 4.41 }, + { "time": 0.3 }, + { "time": 0.45, "y": 4.41 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + { "angle": -26.08 }, + { "time": 0.15, "angle": -48.44 }, + { "time": 0.3, "angle": -70.79 }, + { "time": 0.45, "angle": -48.44 }, + { "time": 0.6, "angle": -26.08 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + { "angle": 10.29 }, + { "time": 0.15, "angle": 16.39 }, + { "time": 0.3, "angle": 22.49 }, + { "time": 0.45, "angle": 16.39 }, + { "time": 0.6, "angle": 10.29 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.15, "angle": 39.98 }, + { "time": 0.3, "angle": 79.95 }, + { "time": 0.45, "angle": 39.98 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_002-bone_003-bone_008": { + "rotate": [ + { "angle": 4.72 }, + { "time": 0.15, "angle": -35.26 }, + { "time": 0.3, "angle": -75.24 }, + { "time": 0.45, "angle": -35.26 }, + { "time": 0.6, "angle": 4.72 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + { "angle": -1.29 }, + { "time": 0.05, "angle": -6.45 }, + { "time": 0.15, "angle": -0.47 }, + { "time": 0.2, "angle": 2.53 }, + { "time": 0.3, "angle": -2.13 }, + { "time": 0.35, "angle": -4.45 }, + { "time": 0.45, "angle": 1 }, + { "time": 0.5, "angle": 3.72 }, + { "time": 0.6, "angle": -1.29 } + ], + "translate": [ + {}, + { "time": 0.05, "x": -2.12, "y": -0.12 }, + { "time": 0.15, "x": 0.7, "y": 0.34 }, + { "time": 0.2, "x": 2.12, "y": 0.57 }, + { "time": 0.3, "x": -1.06, "y": 0.09 }, + { "time": 0.35, "x": -2.66, "y": -0.15 }, + { "time": 0.45, "x": 0.53, "y": -0.02 }, + { "time": 0.5, "x": 2.13, "y": 0.04 }, + { "time": 0.6 } + ] + } + } + } +} +} \ No newline at end of file diff --git a/assets/resources/game/heros/k3.json.meta b/assets/resources/game/heros/k3.json.meta new file mode 100644 index 00000000..6117b9c6 --- /dev/null +++ b/assets/resources/game/heros/k3.json.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.2.6", + "importer": "spine-data", + "imported": true, + "uuid": "2b0b5e2f-19e9-4cb7-9b08-c494aea6ba44", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/game/heros/k3.png b/assets/resources/game/heros/k3.png new file mode 100644 index 00000000..101668d7 Binary files /dev/null and b/assets/resources/game/heros/k3.png differ diff --git a/assets/resources/game/heros/k3.png.meta b/assets/resources/game/heros/k3.png.meta new file mode 100644 index 00000000..fb0b799d --- /dev/null +++ b/assets/resources/game/heros/k3.png.meta @@ -0,0 +1,42 @@ +{ + "ver": "1.0.26", + "importer": "image", + "imported": true, + "uuid": "90740376-2901-4ad1-8f89-963a7b7e9d01", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "90740376-2901-4ad1-8f89-963a7b7e9d01@6c48a", + "displayName": "k3", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0, + "isUuid": true, + "imageUuidOrDatabaseUri": "90740376-2901-4ad1-8f89-963a7b7e9d01", + "visible": false + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "hasAlpha": true, + "type": "texture", + "fixAlphaTransparencyArtifacts": false, + "redirect": "90740376-2901-4ad1-8f89-963a7b7e9d01@6c48a" + } +} diff --git a/assets/resources/game/heros/k3.prefab b/assets/resources/game/heros/k3.prefab new file mode 100644 index 00000000..c0d39ce6 --- /dev/null +++ b/assets/resources/game/heros/k3.prefab @@ -0,0 +1,1536 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "k3", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "k3", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 8 + }, + { + "__id__": 17 + }, + { + "__id__": 25 + }, + { + "__id__": 37 + }, + { + "__id__": 48 + }, + { + "__id__": 57 + }, + { + "__id__": 66 + }, + { + "__id__": 74 + } + ], + "_active": true, + "_components": [ + { + "__id__": 83 + }, + { + "__id__": 85 + }, + { + "__id__": 87 + }, + { + "__id__": 89 + }, + { + "__id__": 91 + }, + { + "__id__": 93 + }, + { + "__id__": 95 + } + ], + "_prefab": { + "__id__": 97 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.041, + "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.Node", + "_name": "shadow", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_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__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 48, + "height": 10 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a62pNH7WJL7Y2J76xlh6E5" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 190 + }, + "_spriteFrame": { + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@34d88", + "__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": "c7Ljbr2uBPrIAr55WaWcYz" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "51ZjCtSAdKQ7Bnocj2kgu0", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 9 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 8 + }, + "asset": { + "__uuid__": "198e9c93-3ac9-4564-9d0e-63c9836e509a", + "__expectedType__": "cc.Prefab" + }, + "fileId": "54R/aYBglLI4Jn5pm++Jx8", + "instance": { + "__id__": 10 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "cdIK+ocxBJRLNeMROksdDi", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 11 + }, + { + "__id__": 13 + }, + { + "__id__": 14 + }, + { + "__id__": 15 + }, + { + "__id__": 16 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 12 + }, + "propertyPath": [ + "_name" + ], + "value": "max" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "54R/aYBglLI4Jn5pm++Jx8" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 12 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": -4.526, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 12 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 12 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 12 + }, + "propertyPath": [ + "_active" + ], + "value": false + }, + { + "__type__": "cc.Node", + "_name": "anm", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 18 + }, + { + "__id__": 20 + }, + { + "__id__": 22 + } + ], + "_prefab": { + "__id__": 24 + }, + "_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.3, + "y": 0.3, + "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__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 19 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 327.45001220703125, + "height": 336.3500061035156 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.46394867156973396, + "y": 0.03225806506490894 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9eaEPPEkdKYYfWIxgJ1KbU" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 21 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_skeletonData": { + "__uuid__": "2b0b5e2f-19e9-4cb7-9b08-c494aea6ba44", + "__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": "54k9q4iztE15bdAWnFOCpS" + }, + { + "__type__": "4ba4awuz8tF34rq4TkZ9W1S", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 23 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "569pdLaDNB6qtHi4mnEa2p" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4aKyovCOhDJpr23Of35+5a", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 26 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 25 + }, + "asset": { + "__uuid__": "e1b8a315-ece3-41a2-941e-a66861753f1b", + "__expectedType__": "cc.Prefab" + }, + "fileId": "c46/YsCPVOJYA4mWEpNYRx", + "instance": { + "__id__": 27 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "3a1pwLAh1NkYnlDVrAFcnS", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 28 + }, + { + "__id__": 30 + }, + { + "__id__": 31 + }, + { + "__id__": 32 + }, + { + "__id__": 33 + }, + { + "__id__": 34 + }, + { + "__id__": 36 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 29 + }, + "propertyPath": [ + "_name" + ], + "value": "shielded" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "c46/YsCPVOJYA4mWEpNYRx" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 29 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": -0.057, + "y": -39.46, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 29 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 29 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 29 + }, + "propertyPath": [ + "_active" + ], + "value": false + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 35 + }, + "propertyPath": [ + "_contentSize" + ], + "value": { + "__type__": "cc.Size", + "width": 120, + "height": 100 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "63NP9yq3hEUKD/OZZZ5t7x" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 29 + }, + "propertyPath": [ + "_lscale" + ], + "value": { + "__type__": "cc.Vec3", + "x": 1.2, + "y": 1.1, + "z": 1 + } + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 38 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 37 + }, + "asset": { + "__uuid__": "50c3d5e4-49f8-4bd7-a15b-cda359a0ae5c", + "__expectedType__": "cc.Prefab" + }, + "fileId": "5fqU0L3/FOhKaco5UkHuWT", + "instance": { + "__id__": 39 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "69IAw7dThHvIlVtTfXOVMZ", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 40 + }, + { + "__id__": 42 + }, + { + "__id__": 43 + }, + { + "__id__": 44 + }, + { + "__id__": 45 + }, + { + "__id__": 47 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 41 + }, + "propertyPath": [ + "_name" + ], + "value": "top" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "5fqU0L3/FOhKaco5UkHuWT" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 41 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 107.768, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 41 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 41 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 46 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 10.531, + "z": 0 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "16MuhUBUpB2ZdBTYflEf1n" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 41 + }, + "propertyPath": [ + "_lscale" + ], + "value": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + } + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 49 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 48 + }, + "asset": { + "__uuid__": "5b4ca49e-0f12-4478-b56d-bf8198b36b90", + "__expectedType__": "cc.Prefab" + }, + "fileId": "0d6ZXmA5dHkZxoGONDL2sE", + "instance": { + "__id__": 50 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "fe79INE+JI1Jy2Hu0iKLMn", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 51 + }, + { + "__id__": 53 + }, + { + "__id__": 54 + }, + { + "__id__": 55 + }, + { + "__id__": 56 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 52 + }, + "propertyPath": [ + "_name" + ], + "value": "tooltip" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "0d6ZXmA5dHkZxoGONDL2sE" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 52 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 4.65, + "y": 129.718, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 52 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 52 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 52 + }, + "propertyPath": [ + "_active" + ], + "value": false + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 58 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 57 + }, + "asset": { + "__uuid__": "ae4493bd-cbcc-4392-921c-3e2b0fcd5338", + "__expectedType__": "cc.Prefab" + }, + "fileId": "91yoyAQGNDm5ziI7NUChZ+", + "instance": { + "__id__": 59 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "08n1IzuupL3YNn2/tFvc8M", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 60 + }, + { + "__id__": 62 + }, + { + "__id__": 63 + }, + { + "__id__": 64 + }, + { + "__id__": 65 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 61 + }, + "propertyPath": [ + "_name" + ], + "value": "up" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "91yoyAQGNDm5ziI7NUChZ+" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 61 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 4.302, + "y": 45.887, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 61 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 61 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 61 + }, + "propertyPath": [ + "_active" + ], + "value": false + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 67 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 66 + }, + "asset": { + "__uuid__": "afb84e4d-b478-4ab6-8f14-4f69d7a2c57f", + "__expectedType__": "cc.Prefab" + }, + "fileId": "733PKzwANLyJWD2ume4u5f", + "instance": { + "__id__": 68 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "80tB6E5YxMoZd/h5I/+SwX", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 69 + }, + { + "__id__": 71 + }, + { + "__id__": 72 + }, + { + "__id__": 73 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 70 + }, + "propertyPath": [ + "_name" + ], + "value": "wind" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "733PKzwANLyJWD2ume4u5f" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 70 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 70 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 70 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 75 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 74 + }, + "asset": { + "__uuid__": "3899fa6a-77a8-4809-b34b-64e0daa5674c", + "__expectedType__": "cc.Prefab" + }, + "fileId": "65v9q/98dMjafRlb094Ctr", + "instance": { + "__id__": 76 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "47vmIuoClIUbU88vgdbfyX", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 77 + }, + { + "__id__": 79 + }, + { + "__id__": 80 + }, + { + "__id__": 81 + }, + { + "__id__": 82 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 78 + }, + "propertyPath": [ + "_name" + ], + "value": "buff" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "65v9q/98dMjafRlb094Ctr" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 78 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 78 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 78 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 78 + }, + "propertyPath": [ + "_active" + ], + "value": false + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 84 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 80, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "14OhXRCixNOaApgow/hFbp" + }, + { + "__type__": "a0379fmhvBHcbNcBF/l43O8", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 86 + }, + "anm": { + "__id__": 22 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "73PcRpG0xKxJpIRC2zbI/o" + }, + { + "__type__": "873f8d+SolMEo8DiTTxZRh4", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 88 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ae2ywFEqlJ26Sq7z7AtGgk" + }, + { + "__type__": "7eb34NR6XVEf78HCi5eAKLm", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 90 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "deHm1o9KpB17FL6fhKz71A" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 92 + }, + "enabledContactListener": true, + "bullet": false, + "awakeOnLoad": true, + "_group": 4, + "_type": 1, + "_allowSleep": false, + "_gravityScale": 1, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0dJK2Y5DRIFLEjPDpKupD/" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 94 + }, + "tag": 0, + "_group": 4, + "_density": 1, + "_sensor": true, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": -1.1, + "y": 33.8 + }, + "_size": { + "__type__": "cc.Size", + "width": 48.6, + "height": 67.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "eb89erE4lN6r2FgPFrTF8e" + }, + { + "__type__": "6f882ofb1pO9Z6gIaAZLCeF", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 96 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "22rQh8lkpINoemMMMjGXPA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "fdklpBwCBM/qJ4WFlQF3kT", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": [ + { + "__id__": 74 + }, + { + "__id__": 66 + }, + { + "__id__": 57 + }, + { + "__id__": 48 + }, + { + "__id__": 37 + }, + { + "__id__": 25 + }, + { + "__id__": 8 + } + ] + } +] \ No newline at end of file diff --git a/assets/resources/game/heros/k3.prefab.meta b/assets/resources/game/heros/k3.prefab.meta new file mode 100644 index 00000000..a0eb3d3d --- /dev/null +++ b/assets/resources/game/heros/k3.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "8b8b58a5-51ef-4c65-a764-9f4198e8e119", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "k3" + } +} diff --git a/assets/resources/game/heros/k4.atlas b/assets/resources/game/heros/k4.atlas new file mode 100644 index 00000000..dde030c9 --- /dev/null +++ b/assets/resources/game/heros/k4.atlas @@ -0,0 +1,90 @@ + +k4.png +size: 278,358 +format: RGBA8888 +filter: Linear,Linear +repeat: none +Body + rotate: false + xy: 2, 4 + size: 84, 82 + orig: 128, 128 + offset: 22, 22 + index: -1 +Face 01 + rotate: true + xy: 207, 223 + size: 133, 69 + orig: 200, 128 + offset: 41, 28 + index: -1 +Face 02 + rotate: true + xy: 207, 114 + size: 107, 64 + orig: 200, 128 + offset: 55, 35 + index: -1 +Face 03 + rotate: true + xy: 193, 5 + size: 107, 83 + orig: 200, 128 + offset: 55, 16 + index: -1 +Head + rotate: true + xy: 2, 177 + size: 179, 203 + orig: 280, 280 + offset: 59, 12 + index: -1 +Left Arm + rotate: true + xy: 88, 2 + size: 42, 45 + orig: 64, 64 + offset: 11, 9 + index: -1 +Left Hand + rotate: false + xy: 143, 130 + size: 48, 45 + orig: 64, 64 + offset: 8, 7 + index: -1 +Left Leg + rotate: true + xy: 88, 46 + size: 40, 52 + orig: 64, 64 + offset: 12, 6 + index: -1 +Right Leg + rotate: true + xy: 88, 46 + size: 40, 52 + orig: 64, 64 + offset: 12, 6 + index: -1 +Right Arm + rotate: true + xy: 142, 39 + size: 42, 46 + orig: 64, 64 + offset: 11, 9 + index: -1 +Right Hand + rotate: false + xy: 143, 83 + size: 48, 45 + orig: 64, 64 + offset: 8, 10 + index: -1 +Weapon + rotate: false + xy: 2, 88 + size: 139, 87 + orig: 180, 130 + offset: 21, 22 + index: -1 diff --git a/assets/resources/game/heros/k4.atlas.meta b/assets/resources/game/heros/k4.atlas.meta new file mode 100644 index 00000000..71cca416 --- /dev/null +++ b/assets/resources/game/heros/k4.atlas.meta @@ -0,0 +1,12 @@ +{ + "ver": "1.0.1", + "importer": "*", + "imported": true, + "uuid": "0d3cd04e-fe10-4ffc-8649-633c7f79498d", + "files": [ + ".atlas", + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/game/heros/k4.json b/assets/resources/game/heros/k4.json new file mode 100644 index 00000000..7648e746 --- /dev/null +++ b/assets/resources/game/heros/k4.json @@ -0,0 +1,694 @@ +{ +"skeleton": { + "hash": "TDtwl4fcApeu/8+zNuyR0XKL0KI=", + "spine": "3.8.75", + "x": -151.92, + "y": -10.85, + "width": 327.45, + "height": 336.35, + "fps": 10, + "images": "./items/k4/", + "audio": "D:/Game/games/spine/items/Knight Light/Vector Parts" +}, +"bones": [ + { "name": "root" }, + { "name": "root-bone_006", "parent": "root", "length": 56.22, "rotation": 89.4, "x": 0.14, "y": 33.73 }, + { "name": "root-bone_005", "parent": "root", "length": 35.46, "rotation": 261.59, "x": -17.93, "y": 37.64 }, + { "name": "root-bone_004", "parent": "root", "length": 34.35, "rotation": 275.19, "x": 19.35, "y": 36.24 }, + { "name": "root-bone_006-ext_Body", "parent": "root-bone_006", "rotation": 270.6, "x": 25.27, "y": -0.21 }, + { "name": "root-bone_004-ext_Left Leg", "parent": "root-bone_004", "rotation": 91.37, "x": 11.74, "y": 0.49 }, + { "name": "root-bone_006-bone_000", "parent": "root-bone_006", "length": 29.84, "rotation": 259.65, "x": 43.93, "y": -17.8 }, + { "name": "root-bone_006-bone_002", "parent": "root-bone_006", "length": 31.19, "rotation": 148.48, "x": 41.59, "y": 27.83 }, + { "name": "root-bone_006-bone_007", "parent": "root-bone_006", "length": 151.15, "rotation": 357.24, "x": 56.22 }, + { "name": "root-bone_005-ext_Right Leg", "parent": "root-bone_005", "rotation": 91.78, "x": 12.69, "y": 0.71 }, + { "name": "root-bone_006-bone_000-ext_Left Arm", "parent": "root-bone_006-bone_000", "rotation": 100.44, "x": 9.61, "y": -1.42 }, + { "name": "root-bone_006-bone_007-ext_Head", "parent": "root-bone_006-bone_007", "rotation": 273.37, "x": 94.64, "y": 18.24 }, + { "name": "root-bone_006-bone_002-bone_003", "parent": "root-bone_006-bone_002", "length": 18.89, "rotation": 358.5, "x": 31.19 }, + { "name": "root-bone_006-bone_007-ext_Face 01", "parent": "root-bone_006-bone_007", "rotation": 273.37, "x": 50.67, "y": -8.19 }, + { "name": "root-bone_006-bone_002-ext_Right Arm", "parent": "root-bone_006-bone_002", "rotation": 100.91, "x": 9.76, "y": -1.83 }, + { "name": "root-bone_006-bone_000-bone_001", "parent": "root-bone_006-bone_000", "length": 23.33, "rotation": 358.01, "x": 29.84 }, + { "name": "root-bone_006-bone_002-bone_003-bone_008", "parent": "root-bone_006-bone_002-bone_003", "length": 27.4, "rotation": 213.62, "x": 2.91, "y": -4.01 }, + { "name": "root-bone_006-bone_000-bone_001-ext_Weapon", "parent": "root-bone_006-bone_000-bone_001", "rotation": 83.05, "x": 21.17, "y": 69.04 }, + { "name": "root-bone_006-bone_000-bone_001-ext_Left Hand", "parent": "root-bone_006-bone_000-bone_001", "rotation": 102.43, "x": 9.48, "y": 0.28 }, + { "name": "root-bone_006-bone_002-bone_003-ext_Right Hand", "parent": "root-bone_006-bone_002-bone_003", "rotation": 102.41, "x": 7.46, "y": 1.31 }, + { "name": "root-bone_006-bone_002-bone_003-bone_008-ext_Shiled", "parent": "root-bone_006-bone_002-bone_003-bone_008", "rotation": 270, "x": -1.92, "y": -0.48 } +], +"slots": [ + { "name": "root-bone_006-bone_000-ext_Left Arm", "bone": "root-bone_006-bone_000-ext_Left Arm", "attachment": "Left Arm" }, + { "name": "root-bone_006-bone_000-bone_001-ext_Weapon", "bone": "root-bone_006-bone_000-bone_001-ext_Weapon", "attachment": "Weapon" }, + { "name": "root-bone_006-bone_000-bone_001-ext_Left Hand", "bone": "root-bone_006-bone_000-bone_001-ext_Left Hand", "attachment": "Left Hand" }, + { "name": "root-bone_004-ext_Left Leg", "bone": "root-bone_004-ext_Left Leg", "attachment": "Left Leg" }, + { "name": "root-bone_005-ext_Right Leg", "bone": "root-bone_005-ext_Right Leg", "attachment": "Right Leg" }, + { "name": "root-bone_006-ext_Body", "bone": "root-bone_006-ext_Body", "attachment": "Body" }, + { "name": "root-bone_006-bone_007-ext_Head", "bone": "root-bone_006-bone_007-ext_Head", "attachment": "Head" }, + { "name": "root-bone_006-bone_007-ext_Face 01", "bone": "root-bone_006-bone_007-ext_Face 01", "attachment": "Face 01" }, + { "name": "root-bone_006-bone_002-bone_003-ext_Right Hand", "bone": "root-bone_006-bone_002-bone_003-ext_Right Hand", "attachment": "Right Hand" }, + { "name": "root-bone_006-bone_002-ext_Right Arm", "bone": "root-bone_006-bone_002-ext_Right Arm", "attachment": "Right Arm" } +], +"skins": [ + { + "name": "default", + "attachments": { + "root-bone_006-bone_000-bone_001-ext_Left Hand": { + "Left Hand": { "width": 64, "height": 64 } + }, + "root-bone_006-ext_Body": { + "Body": { "width": 128, "height": 128 } + }, + "root-bone_006-bone_007-ext_Head": { + "Head": { "width": 280, "height": 280 } + }, + "root-bone_006-bone_002-ext_Right Arm": { + "Right Arm": { "width": 64, "height": 64 } + }, + "root-bone_006-bone_002-bone_003-ext_Right Hand": { + "Right Hand": { "width": 64, "height": 64 } + }, + "root-bone_006-bone_000-bone_001-ext_Weapon": { + "Weapon": { "x": -14.39, "y": -5.21, "width": 180, "height": 130 } + }, + "root-bone_005-ext_Right Leg": { + "Right Leg": { "width": 64, "height": 64 } + }, + "root-bone_006-bone_000-ext_Left Arm": { + "Left Arm": { "width": 64, "height": 64 } + }, + "root-bone_006-bone_007-ext_Face 01": { + "Face 01": { "width": 200, "height": 128 }, + "Face 02": { "width": 200, "height": 128 }, + "Face 03": { "width": 200, "height": 128 } + }, + "root-bone_004-ext_Left Leg": { + "Left Leg": { "width": 64, "height": 64 } + } + } + } +], +"animations": { + "Attacking": { + "bones": { + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.1, "angle": 4.2 }, + { "time": 0.2, "angle": 4.48 }, + { "time": 0.275, "angle": -13.49 }, + { "time": 0.3, "angle": -14.54 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.1, "x": -1.12, "y": 3.35 }, + { "time": 0.2, "x": -1.6, "y": 4.31 }, + { "time": 0.275, "x": 0.8, "y": -2.1 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.1, "angle": 47.01 }, + { "time": 0.2, "angle": 48.51 }, + { "time": 0.275, "angle": -28.36 }, + { "time": 0.3, "angle": -25.38 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + {}, + { "time": 0.1, "angle": 16.78, "curve": "stepped" }, + { "time": 0.2, "angle": 16.78 }, + { "time": 0.275, "angle": -27.03 }, + { "time": 0.3, "angle": -23.87 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.1, "angle": -7.81 }, + { "time": 0.2, "angle": -10.58 }, + { "time": 0.275, "angle": -26.88 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002-bone_003-bone_008": { + "rotate": [ + {}, + { "time": 0.1, "angle": 3.62 }, + { "time": 0.2, "angle": 6.1 }, + { "time": 0.275, "angle": 40.37 }, + { "time": 0.3, "angle": 41.41 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.1, "angle": 5.61 }, + { "time": 0.2, "angle": 6.48 }, + { "time": 0.275, "angle": 0.87 }, + { "time": 0.4 } + ], + "translate": [ + { "time": 0.1 }, + { "time": 0.2, "x": 1.94, "y": 1.11 }, + { "time": 0.275, "x": 0.97, "y": 0.56 }, + { "time": 0.4 } + ] + } + } + }, + "Dying": { + "slots": { + "root-bone_006-bone_007-ext_Face 01": { + "attachment": [ + { "name": "Face 03" } + ] + } + }, + "bones": { + "root-bone_004": { + "rotate": [ + {}, + { "time": 0.1, "angle": 18.04 }, + { "time": 0.2, "angle": 63.5 }, + { "time": 0.3, "angle": 114.4 }, + { "time": 0.35, "angle": 74.48 }, + { "time": 0.5 } + ], + "translate": [ + {}, + { "time": 0.1, "x": -11.35, "y": 6.59 }, + { "time": 0.2, "x": -1.72, "y": 22.24 }, + { "time": 0.3, "x": -4.38, "y": 24.07 }, + { "time": 0.5 } + ] + }, + "root-bone_005": { + "rotate": [ + {}, + { "time": 0.1, "angle": 14.48 }, + { "time": 0.2, "angle": 66.18 }, + { "time": 0.3, "angle": 128.98 }, + { "time": 0.35, "angle": 80.43 }, + { "time": 0.5 } + ], + "translate": [ + {}, + { "time": 0.1, "x": -8.53, "y": 7.99 }, + { "time": 0.2, "x": 7.3, "y": 0.73 }, + { "time": 0.3, "x": 34.75, "y": -13.41 }, + { "time": 0.5 } + ] + }, + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.1, "angle": -9.23 }, + { "time": 0.2, "angle": 30.41 }, + { "time": 0.3, "angle": 89.35 }, + { "time": 0.5 } + ], + "translate": [ + {}, + { "time": 0.1, "x": -8.54, "y": 8.03 }, + { "time": 0.2, "x": 5.99, "y": 13.75 }, + { "time": 0.3, "x": 16, "y": 7.67 }, + { "time": 0.5 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.2, "angle": 10.43 }, + { "time": 0.3, "angle": 6.95 }, + { "time": 0.35, "angle": -37.18 }, + { "time": 0.5 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + { "time": 0.3 }, + { "time": 0.35, "angle": 18.99 }, + { "time": 0.5 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.1, "angle": 72.6 }, + { "time": 0.2, "angle": 79.92 }, + { "time": 0.3, "angle": 91.92 }, + { "time": 0.35, "angle": 48.36 }, + { "time": 0.5 } + ] + }, + "root-bone_006-bone_002-bone_003-bone_008": { + "rotate": [ + {}, + { "time": 0.1, "angle": -53.44 }, + { "time": 0.2, "angle": -83.87 }, + { "time": 0.3, "angle": -126.04 }, + { "time": 0.35, "angle": -82.48 }, + { "time": 0.5 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.1, "angle": -5.09 }, + { "time": 0.2, "angle": -21.9 }, + { "time": 0.3, "angle": -49.8 }, + { "time": 0.35, "angle": -17.51 }, + { "time": 0.5 } + ], + "translate": [ + { "time": 0.2 }, + { "time": 0.3, "x": -1.83, "y": -7.33 }, + { "time": 0.35, "x": -4.12, "y": -12.18 }, + { "time": 0.5 } + ] + } + } + }, + "Hurt": { + "slots": { + "root-bone_006-bone_007-ext_Face 01": { + "attachment": [ + { "name": "Face 03" } + ] + } + }, + "bones": { + "root-bone_004": { + "rotate": [ + {}, + { "time": 0.1, "angle": 27.58 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.1, "x": -2.95, "y": 7.87 }, + { "time": 0.4 } + ] + }, + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.1, "angle": 11.65 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.1, "x": -0.86, "y": 6.16 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.1, "angle": 15.45 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + {}, + { "time": 0.1, "angle": -5.6 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.05, "angle": 8.94 }, + { "time": 0.1, "angle": -4.58 }, + { "time": 0.15, "angle": -18.09 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002-bone_003-bone_008": { + "rotate": [ + {}, + { "time": 0.05, "angle": -8.94 }, + { "time": 0.1, "angle": 4.58 }, + { "time": 0.15, "angle": 18.09 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.05, "angle": -9.85 }, + { "time": 0.1, "angle": 1.01 }, + { "time": 0.15, "angle": 11.87 }, + { "time": 0.4 } + ] + } + } + }, + "Idle": { + "bones": { + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.2, "angle": 2.13 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.2, "x": -0.4, "y": 2.83 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.2, "angle": 3.4 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + {}, + { "time": 0.2, "angle": 6.25 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.2, "angle": -11.19 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002-bone_003-bone_008": { + "rotate": [ + {}, + { "time": 0.2, "angle": 9.06 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.05, "angle": -2.83 }, + { "time": 0.2, "angle": 3.15 }, + { "time": 0.25, "angle": 5.15 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.05, "x": -2.31, "y": -1.39 }, + { "time": 0.2, "x": 2.68, "y": -0.61 }, + { "time": 0.25, "x": 4.35, "y": -0.35 }, + { "time": 0.4 } + ] + } + } + }, + "Idle Blink": { + "slots": { + "root-bone_006-bone_007-ext_Face 01": { + "attachment": [ + { "time": 0.3, "name": "Face 02" } + ] + } + }, + "bones": { + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.2, "angle": 2.13 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.2, "x": -0.4, "y": 2.83 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.2, "angle": 3.4 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + {}, + { "time": 0.2, "angle": 6.25 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.2, "angle": -11.19 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_002-bone_003-bone_008": { + "rotate": [ + {}, + { "time": 0.2, "angle": 9.06 }, + { "time": 0.4 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.05, "angle": -2.83 }, + { "time": 0.25, "angle": 5.15 }, + { "time": 0.4 } + ], + "translate": [ + {}, + { "time": 0.05, "x": -2.31, "y": -1.39 }, + { "time": 0.25, "x": 4.35, "y": -0.35 }, + { "time": 0.4 } + ] + } + } + }, + "Taunt": { + "bones": { + "root-bone_004": { + "rotate": [ + {}, + { "time": 0.1, "angle": -12.01 }, + { "time": 0.3, "angle": -9.61 }, + { "time": 0.5, "angle": -12.01 }, + { "time": 0.6 } + ], + "translate": [ + {}, + { "time": 0.1, "x": 5.7, "y": 0.39 }, + { "time": 0.3, "x": 4.56, "y": 0.31 }, + { "time": 0.5, "x": 5.7, "y": 0.39 }, + { "time": 0.6 } + ] + }, + "root-bone_005": { + "rotate": [ + {}, + { "time": 0.1, "angle": -17.76 }, + { "time": 0.3, "angle": -14.21 }, + { "time": 0.5, "angle": -17.76 }, + { "time": 0.6 } + ], + "translate": [ + {}, + { "time": 0.1, "x": 6.07, "y": 0.58 }, + { "time": 0.3, "x": 4.86, "y": 0.47 }, + { "time": 0.5, "x": 6.07, "y": 0.58 }, + { "time": 0.6 } + ] + }, + "root-bone_006": { + "rotate": [ + {}, + { "time": 0.1, "angle": 3.8 }, + { "time": 0.3, "angle": 3.04 }, + { "time": 0.5, "angle": 3.8 }, + { "time": 0.6 } + ], + "translate": [ + {}, + { "time": 0.1, "x": 6.46, "y": 7.45 }, + { "time": 0.3, "x": 5.17, "y": 5.96 }, + { "time": 0.5, "x": 6.46, "y": 7.45 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + {}, + { "time": 0.1, "angle": 17.07 }, + { "time": 0.3, "angle": 13.66 }, + { "time": 0.5, "angle": 17.07 }, + { "time": 0.6 } + ], + "translate": [ + {}, + { "time": 0.1, "y": -6.99 }, + { "time": 0.3, "y": -5.59 }, + { "time": 0.5, "y": -6.99 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + {}, + { "time": 0.1, "angle": -19.79 }, + { "time": 0.3, "angle": -15.83 }, + { "time": 0.5, "angle": -19.79 }, + { "time": 0.6 } + ], + "translate": [ + {}, + { "time": 0.1, "x": 3.53, "y": 1.56 }, + { "time": 0.3, "x": 2.83, "y": 1.25 }, + { "time": 0.5, "x": 3.53, "y": 1.56 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.1, "angle": -30.01 }, + { "time": 0.3, "angle": -24.01 }, + { "time": 0.5, "angle": -30.01 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_002-bone_003-bone_008": { + "rotate": [ + {}, + { "time": 0.1, "angle": 44.75 }, + { "time": 0.3, "angle": 35.8 }, + { "time": 0.5, "angle": 44.75 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + {}, + { "time": 0.1, "angle": 7.67 }, + { "time": 0.3, "angle": 6.13 }, + { "time": 0.5, "angle": 7.67 }, + { "time": 0.6 } + ], + "translate": [ + {}, + { "time": 0.1, "x": 3.4, "y": 1.56 }, + { "time": 0.3, "x": 2.72, "y": 1.24 }, + { "time": 0.5, "x": 3.4, "y": 1.56 }, + { "time": 0.6 } + ] + } + } + }, + "Walking": { + "bones": { + "root-bone_004": { + "rotate": [ + { "angle": -34.88 }, + { "time": 0.15, "angle": -6.9 }, + { "time": 0.3, "angle": 15.46 }, + { "time": 0.45, "angle": -6.9 }, + { "time": 0.6, "angle": -34.88 } + ] + }, + "root-bone_005": { + "rotate": [ + { "angle": 40.24 }, + { "time": 0.15, "angle": 6.17 }, + { "time": 0.3, "angle": -13.58 }, + { "time": 0.45, "angle": 6.17 }, + { "time": 0.6, "angle": 40.24 } + ] + }, + "root-bone_006": { + "rotate": [ + { "angle": -4.72 }, + { "time": 0.15, "angle": 1.64 }, + { "time": 0.3, "angle": -4.72 }, + { "time": 0.45, "angle": 1.64 }, + { "time": 0.6, "angle": -4.72 } + ], + "translate": [ + {}, + { "time": 0.15, "y": 4.41 }, + { "time": 0.3 }, + { "time": 0.45, "y": 4.41 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_000": { + "rotate": [ + { "angle": -26.08 }, + { "time": 0.15, "angle": -48.44 }, + { "time": 0.3, "angle": -70.79 }, + { "time": 0.45, "angle": -48.44 }, + { "time": 0.6, "angle": -26.08 } + ] + }, + "root-bone_006-bone_000-bone_001": { + "rotate": [ + { "angle": 10.29 }, + { "time": 0.15, "angle": 16.39 }, + { "time": 0.3, "angle": 22.49 }, + { "time": 0.45, "angle": 16.39 }, + { "time": 0.6, "angle": 10.29 } + ] + }, + "root-bone_006-bone_002": { + "rotate": [ + {}, + { "time": 0.15, "angle": 39.98 }, + { "time": 0.3, "angle": 79.95 }, + { "time": 0.45, "angle": 39.98 }, + { "time": 0.6 } + ] + }, + "root-bone_006-bone_002-bone_003-bone_008": { + "rotate": [ + { "angle": 4.72 }, + { "time": 0.15, "angle": -35.26 }, + { "time": 0.3, "angle": -75.24 }, + { "time": 0.45, "angle": -35.26 }, + { "time": 0.6, "angle": 4.72 } + ] + }, + "root-bone_006-bone_007": { + "rotate": [ + { "angle": -1.29 }, + { "time": 0.05, "angle": -6.45 }, + { "time": 0.15, "angle": -0.47 }, + { "time": 0.2, "angle": 2.53 }, + { "time": 0.3, "angle": -2.13 }, + { "time": 0.35, "angle": -4.45 }, + { "time": 0.45, "angle": 1 }, + { "time": 0.5, "angle": 3.72 }, + { "time": 0.6, "angle": -1.29 } + ], + "translate": [ + {}, + { "time": 0.05, "x": -2.12, "y": -0.12 }, + { "time": 0.15, "x": 0.7, "y": 0.34 }, + { "time": 0.2, "x": 2.12, "y": 0.57 }, + { "time": 0.3, "x": -1.06, "y": 0.09 }, + { "time": 0.35, "x": -2.66, "y": -0.15 }, + { "time": 0.45, "x": 0.53, "y": -0.02 }, + { "time": 0.5, "x": 2.13, "y": 0.04 }, + { "time": 0.6 } + ] + } + } + } +} +} \ No newline at end of file diff --git a/assets/resources/game/heros/k4.json.meta b/assets/resources/game/heros/k4.json.meta new file mode 100644 index 00000000..4be61edd --- /dev/null +++ b/assets/resources/game/heros/k4.json.meta @@ -0,0 +1,11 @@ +{ + "ver": "1.2.6", + "importer": "spine-data", + "imported": true, + "uuid": "0a70b8e0-e990-434c-ae5a-1e23b2dbf424", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": {} +} diff --git a/assets/resources/game/heros/k4.png b/assets/resources/game/heros/k4.png new file mode 100644 index 00000000..746d334a Binary files /dev/null and b/assets/resources/game/heros/k4.png differ diff --git a/assets/resources/game/heros/k4.png.meta b/assets/resources/game/heros/k4.png.meta new file mode 100644 index 00000000..e2312ee1 --- /dev/null +++ b/assets/resources/game/heros/k4.png.meta @@ -0,0 +1,42 @@ +{ + "ver": "1.0.26", + "importer": "image", + "imported": true, + "uuid": "df026c03-5f44-4ddb-9c94-81add02ed592", + "files": [ + ".json", + ".png" + ], + "subMetas": { + "6c48a": { + "importer": "texture", + "uuid": "df026c03-5f44-4ddb-9c94-81add02ed592@6c48a", + "displayName": "k4", + "id": "6c48a", + "name": "texture", + "userData": { + "wrapModeS": "repeat", + "wrapModeT": "repeat", + "minfilter": "linear", + "magfilter": "linear", + "mipfilter": "none", + "anisotropy": 0, + "isUuid": true, + "imageUuidOrDatabaseUri": "df026c03-5f44-4ddb-9c94-81add02ed592", + "visible": false + }, + "ver": "1.0.22", + "imported": true, + "files": [ + ".json" + ], + "subMetas": {} + } + }, + "userData": { + "hasAlpha": true, + "type": "texture", + "fixAlphaTransparencyArtifacts": false, + "redirect": "df026c03-5f44-4ddb-9c94-81add02ed592@6c48a" + } +} diff --git a/assets/resources/game/heros/k4.prefab b/assets/resources/game/heros/k4.prefab new file mode 100644 index 00000000..b79496ca --- /dev/null +++ b/assets/resources/game/heros/k4.prefab @@ -0,0 +1,1536 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "k4", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "k4", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + }, + { + "__id__": 8 + }, + { + "__id__": 17 + }, + { + "__id__": 25 + }, + { + "__id__": 37 + }, + { + "__id__": 48 + }, + { + "__id__": 57 + }, + { + "__id__": 66 + }, + { + "__id__": 74 + } + ], + "_active": true, + "_components": [ + { + "__id__": 83 + }, + { + "__id__": 85 + }, + { + "__id__": 87 + }, + { + "__id__": 89 + }, + { + "__id__": 91 + }, + { + "__id__": 93 + }, + { + "__id__": 95 + } + ], + "_prefab": { + "__id__": 97 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": -0.041, + "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.Node", + "_name": "shadow", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_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__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 48, + "height": 10 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a62pNH7WJL7Y2J76xlh6E5" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 190 + }, + "_spriteFrame": { + "__uuid__": "f87f53f9-2fba-4a5b-968a-79a593311ab2@34d88", + "__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": "c7Ljbr2uBPrIAr55WaWcYz" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "51ZjCtSAdKQ7Bnocj2kgu0", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 9 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 8 + }, + "asset": { + "__uuid__": "198e9c93-3ac9-4564-9d0e-63c9836e509a", + "__expectedType__": "cc.Prefab" + }, + "fileId": "54R/aYBglLI4Jn5pm++Jx8", + "instance": { + "__id__": 10 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "cdIK+ocxBJRLNeMROksdDi", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 11 + }, + { + "__id__": 13 + }, + { + "__id__": 14 + }, + { + "__id__": 15 + }, + { + "__id__": 16 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 12 + }, + "propertyPath": [ + "_name" + ], + "value": "max" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "54R/aYBglLI4Jn5pm++Jx8" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 12 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": -4.526, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 12 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 12 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 12 + }, + "propertyPath": [ + "_active" + ], + "value": false + }, + { + "__type__": "cc.Node", + "_name": "anm", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 18 + }, + { + "__id__": 20 + }, + { + "__id__": 22 + } + ], + "_prefab": { + "__id__": 24 + }, + "_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.3, + "y": 0.3, + "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__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 19 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 327.45001220703125, + "height": 336.3500061035156 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.46394867156973396, + "y": 0.03225806506490894 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "9eaEPPEkdKYYfWIxgJ1KbU" + }, + { + "__type__": "sp.Skeleton", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 21 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_skeletonData": { + "__uuid__": "0a70b8e0-e990-434c-ae5a-1e23b2dbf424", + "__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": "54k9q4iztE15bdAWnFOCpS" + }, + { + "__type__": "4ba4awuz8tF34rq4TkZ9W1S", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 17 + }, + "_enabled": true, + "__prefab": { + "__id__": 23 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "569pdLaDNB6qtHi4mnEa2p" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "4aKyovCOhDJpr23Of35+5a", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 26 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 25 + }, + "asset": { + "__uuid__": "e1b8a315-ece3-41a2-941e-a66861753f1b", + "__expectedType__": "cc.Prefab" + }, + "fileId": "c46/YsCPVOJYA4mWEpNYRx", + "instance": { + "__id__": 27 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "3a1pwLAh1NkYnlDVrAFcnS", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 28 + }, + { + "__id__": 30 + }, + { + "__id__": 31 + }, + { + "__id__": 32 + }, + { + "__id__": 33 + }, + { + "__id__": 34 + }, + { + "__id__": 36 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 29 + }, + "propertyPath": [ + "_name" + ], + "value": "shielded" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "c46/YsCPVOJYA4mWEpNYRx" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 29 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": -0.057, + "y": -39.46, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 29 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 29 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 29 + }, + "propertyPath": [ + "_active" + ], + "value": false + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 35 + }, + "propertyPath": [ + "_contentSize" + ], + "value": { + "__type__": "cc.Size", + "width": 120, + "height": 100 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "63NP9yq3hEUKD/OZZZ5t7x" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 29 + }, + "propertyPath": [ + "_lscale" + ], + "value": { + "__type__": "cc.Vec3", + "x": 1.2, + "y": 1.1, + "z": 1 + } + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 38 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 37 + }, + "asset": { + "__uuid__": "50c3d5e4-49f8-4bd7-a15b-cda359a0ae5c", + "__expectedType__": "cc.Prefab" + }, + "fileId": "5fqU0L3/FOhKaco5UkHuWT", + "instance": { + "__id__": 39 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "69IAw7dThHvIlVtTfXOVMZ", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 40 + }, + { + "__id__": 42 + }, + { + "__id__": 43 + }, + { + "__id__": 44 + }, + { + "__id__": 45 + }, + { + "__id__": 47 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 41 + }, + "propertyPath": [ + "_name" + ], + "value": "top" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "5fqU0L3/FOhKaco5UkHuWT" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 41 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 107.768, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 41 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 41 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 46 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 10.531, + "z": 0 + } + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "16MuhUBUpB2ZdBTYflEf1n" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 41 + }, + "propertyPath": [ + "_lscale" + ], + "value": { + "__type__": "cc.Vec3", + "x": 1, + "y": 1, + "z": 1 + } + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 49 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 48 + }, + "asset": { + "__uuid__": "5b4ca49e-0f12-4478-b56d-bf8198b36b90", + "__expectedType__": "cc.Prefab" + }, + "fileId": "0d6ZXmA5dHkZxoGONDL2sE", + "instance": { + "__id__": 50 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "fe79INE+JI1Jy2Hu0iKLMn", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 51 + }, + { + "__id__": 53 + }, + { + "__id__": 54 + }, + { + "__id__": 55 + }, + { + "__id__": 56 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 52 + }, + "propertyPath": [ + "_name" + ], + "value": "tooltip" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "0d6ZXmA5dHkZxoGONDL2sE" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 52 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 4.65, + "y": 129.718, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 52 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 52 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 52 + }, + "propertyPath": [ + "_active" + ], + "value": false + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 58 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 57 + }, + "asset": { + "__uuid__": "ae4493bd-cbcc-4392-921c-3e2b0fcd5338", + "__expectedType__": "cc.Prefab" + }, + "fileId": "91yoyAQGNDm5ziI7NUChZ+", + "instance": { + "__id__": 59 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "08n1IzuupL3YNn2/tFvc8M", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 60 + }, + { + "__id__": 62 + }, + { + "__id__": 63 + }, + { + "__id__": 64 + }, + { + "__id__": 65 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 61 + }, + "propertyPath": [ + "_name" + ], + "value": "up" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "91yoyAQGNDm5ziI7NUChZ+" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 61 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 4.302, + "y": 45.887, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 61 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 61 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 61 + }, + "propertyPath": [ + "_active" + ], + "value": false + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 67 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 66 + }, + "asset": { + "__uuid__": "afb84e4d-b478-4ab6-8f14-4f69d7a2c57f", + "__expectedType__": "cc.Prefab" + }, + "fileId": "733PKzwANLyJWD2ume4u5f", + "instance": { + "__id__": 68 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "80tB6E5YxMoZd/h5I/+SwX", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 69 + }, + { + "__id__": 71 + }, + { + "__id__": 72 + }, + { + "__id__": 73 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 70 + }, + "propertyPath": [ + "_name" + ], + "value": "wind" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "733PKzwANLyJWD2ume4u5f" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 70 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 70 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 70 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "cc.Node", + "_objFlags": 0, + "_parent": { + "__id__": 1 + }, + "_prefab": { + "__id__": 75 + }, + "__editorExtras__": {} + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 74 + }, + "asset": { + "__uuid__": "3899fa6a-77a8-4809-b34b-64e0daa5674c", + "__expectedType__": "cc.Prefab" + }, + "fileId": "65v9q/98dMjafRlb094Ctr", + "instance": { + "__id__": 76 + }, + "targetOverrides": null + }, + { + "__type__": "cc.PrefabInstance", + "fileId": "47vmIuoClIUbU88vgdbfyX", + "prefabRootNode": { + "__id__": 1 + }, + "mountedChildren": [], + "mountedComponents": [], + "propertyOverrides": [ + { + "__id__": 77 + }, + { + "__id__": 79 + }, + { + "__id__": 80 + }, + { + "__id__": 81 + }, + { + "__id__": 82 + } + ], + "removedComponents": [] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 78 + }, + "propertyPath": [ + "_name" + ], + "value": "buff" + }, + { + "__type__": "cc.TargetInfo", + "localID": [ + "65v9q/98dMjafRlb094Ctr" + ] + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 78 + }, + "propertyPath": [ + "_lpos" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 78 + }, + "propertyPath": [ + "_lrot" + ], + "value": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": 0, + "w": 1 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 78 + }, + "propertyPath": [ + "_euler" + ], + "value": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + } + }, + { + "__type__": "CCPropertyOverrideInfo", + "targetInfo": { + "__id__": 78 + }, + "propertyPath": [ + "_active" + ], + "value": false + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 84 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 80, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "14OhXRCixNOaApgow/hFbp" + }, + { + "__type__": "a0379fmhvBHcbNcBF/l43O8", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 86 + }, + "anm": { + "__id__": 22 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "73PcRpG0xKxJpIRC2zbI/o" + }, + { + "__type__": "873f8d+SolMEo8DiTTxZRh4", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 88 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "ae2ywFEqlJ26Sq7z7AtGgk" + }, + { + "__type__": "7eb34NR6XVEf78HCi5eAKLm", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 90 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "deHm1o9KpB17FL6fhKz71A" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 92 + }, + "enabledContactListener": true, + "bullet": false, + "awakeOnLoad": true, + "_group": 4, + "_type": 1, + "_allowSleep": false, + "_gravityScale": 1, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "0dJK2Y5DRIFLEjPDpKupD/" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 94 + }, + "tag": 0, + "_group": 4, + "_density": 1, + "_sensor": true, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": -1.1, + "y": 33.8 + }, + "_size": { + "__type__": "cc.Size", + "width": 48.6, + "height": 67.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "eb89erE4lN6r2FgPFrTF8e" + }, + { + "__type__": "6f882ofb1pO9Z6gIaAZLCeF", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 96 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "22rQh8lkpINoemMMMjGXPA" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "fdklpBwCBM/qJ4WFlQF3kT", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": [ + { + "__id__": 74 + }, + { + "__id__": 66 + }, + { + "__id__": 57 + }, + { + "__id__": 48 + }, + { + "__id__": 37 + }, + { + "__id__": 25 + }, + { + "__id__": 8 + } + ] + } +] \ No newline at end of file diff --git a/assets/resources/game/heros/k4.prefab.meta b/assets/resources/game/heros/k4.prefab.meta new file mode 100644 index 00000000..04da2b32 --- /dev/null +++ b/assets/resources/game/heros/k4.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "9c1b6e72-7ff4-45cc-a71a-2c5d6e55db04", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "k4" + } +} diff --git a/assets/resources/game/skills/base1.prefab b/assets/resources/game/skills/base1.prefab new file mode 100644 index 00000000..3dfdca07 --- /dev/null +++ b/assets/resources/game/skills/base1.prefab @@ -0,0 +1,374 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "base1", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "base1", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 8 + }, + { + "__id__": 10 + }, + { + "__id__": 12 + }, + { + "__id__": 14 + }, + { + "__id__": 16 + } + ], + "_prefab": { + "__id__": 18 + }, + "_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": "2101", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.3826834323650898, + "w": 0.9238795325112867 + }, + "_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": -45 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 74, + "height": 76 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "b7f/cCqhFAe7FpY7ZcIDbx" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": { + "__uuid__": "2fcd55a9-38ca-45aa-9164-68e48aaf51ce", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "c8772092-7edb-4fb4-8cfc-ac0860cab175@06e95", + "__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": "fatugPlw9AF7nuSW/5iZA4" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "81yH5i9V5G+LrbLzkHZ2RG", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.49664333316829656, + "y": 0.5156666649712457 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "63NP9yq3hEUKD/OZZZ5t7x" + }, + { + "__type__": "45646oIyIdA24W+0c5rdELD", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8ahZv91itPcYJm8S0veHYl" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "enabledContactListener": true, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 1, + "_allowSleep": false, + "_gravityScale": 1, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "59HK6AcrdOhbxkRsbxWQ3l" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "tag": 0, + "_group": 4, + "_density": 1, + "_sensor": true, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_size": { + "__type__": "cc.Size", + "width": 25.4, + "height": 23.3 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e4gDUfAyNDN6GrEPB169Le" + }, + { + "__type__": "f680dkagx9PmbfqtF463/Ua", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "speed": 600, + "controlPointSide": 1, + "controlPointOffset": 0, + "controlPointRandomness": 0, + "autoRotate": true, + "showTrajectory": false, + "trajectoryColor": { + "__type__": "cc.Color", + "r": 0, + "g": 255, + "b": 0, + "a": 255 + }, + "trajectoryWidth": 3, + "easing": "linear", + "rotationSmoothness": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e2YMe3B/1NxaropG7G9Ijp" + }, + { + "__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/base1.prefab.meta b/assets/resources/game/skills/base1.prefab.meta new file mode 100644 index 00000000..bfc9fece --- /dev/null +++ b/assets/resources/game/skills/base1.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "8347f543-5eee-467e-b8b6-d8fb7d96caa2", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "base1" + } +} diff --git a/assets/resources/game/skills/base2.prefab b/assets/resources/game/skills/base2.prefab new file mode 100644 index 00000000..69dce061 --- /dev/null +++ b/assets/resources/game/skills/base2.prefab @@ -0,0 +1,374 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "base2", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "base2", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 8 + }, + { + "__id__": 10 + }, + { + "__id__": 12 + }, + { + "__id__": 14 + }, + { + "__id__": 16 + } + ], + "_prefab": { + "__id__": 18 + }, + "_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": "3104", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.3826834323650898, + "w": 0.9238795325112867 + }, + "_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": -45 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 74, + "height": 72 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "a1OlAl3GBN4J5y0x1uql8c" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": { + "__uuid__": "2fcd55a9-38ca-45aa-9164-68e48aaf51ce", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "c8772092-7edb-4fb4-8cfc-ac0860cab175@6ee39", + "__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": "f0zaMsHmlPeY5ET/wVfXiW" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e15eZTCR9F35A80oAItInP", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.49664333316829656, + "y": 0.5156666649712457 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "63NP9yq3hEUKD/OZZZ5t7x" + }, + { + "__type__": "45646oIyIdA24W+0c5rdELD", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8ahZv91itPcYJm8S0veHYl" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "enabledContactListener": true, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 1, + "_allowSleep": false, + "_gravityScale": 1, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "59HK6AcrdOhbxkRsbxWQ3l" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "tag": 0, + "_group": 4, + "_density": 1, + "_sensor": true, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_size": { + "__type__": "cc.Size", + "width": 25.4, + "height": 23.3 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e4gDUfAyNDN6GrEPB169Le" + }, + { + "__type__": "f680dkagx9PmbfqtF463/Ua", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "speed": 600, + "controlPointSide": 1, + "controlPointOffset": 0, + "controlPointRandomness": 0, + "autoRotate": true, + "showTrajectory": false, + "trajectoryColor": { + "__type__": "cc.Color", + "r": 0, + "g": 255, + "b": 0, + "a": 255 + }, + "trajectoryWidth": 3, + "easing": "linear", + "rotationSmoothness": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e2YMe3B/1NxaropG7G9Ijp" + }, + { + "__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/base2.prefab.meta b/assets/resources/game/skills/base2.prefab.meta new file mode 100644 index 00000000..6ea1f0f8 --- /dev/null +++ b/assets/resources/game/skills/base2.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "2c183914-9c9f-460f-974f-1a1ac3acefd2", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "base2" + } +} diff --git a/assets/resources/game/skills/base3.prefab b/assets/resources/game/skills/base3.prefab new file mode 100644 index 00000000..88bb5f4c --- /dev/null +++ b/assets/resources/game/skills/base3.prefab @@ -0,0 +1,374 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "base3", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "base3", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 8 + }, + { + "__id__": 10 + }, + { + "__id__": 12 + }, + { + "__id__": 14 + }, + { + "__id__": 16 + } + ], + "_prefab": { + "__id__": 18 + }, + "_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": "5104", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.3826834323650898, + "w": 0.9238795325112867 + }, + "_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": -45 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 84, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "6cchhaStFLCavLdz2HHcl1" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": { + "__uuid__": "2fcd55a9-38ca-45aa-9164-68e48aaf51ce", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "c8772092-7edb-4fb4-8cfc-ac0860cab175@40408", + "__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": "dbg8NfqvtFxL5/pA8f9Azn" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "beDl978E5AKbQmvm68YHVO", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.49664333316829656, + "y": 0.5156666649712457 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "63NP9yq3hEUKD/OZZZ5t7x" + }, + { + "__type__": "45646oIyIdA24W+0c5rdELD", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8ahZv91itPcYJm8S0veHYl" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "enabledContactListener": true, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 1, + "_allowSleep": false, + "_gravityScale": 1, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "59HK6AcrdOhbxkRsbxWQ3l" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "tag": 0, + "_group": 4, + "_density": 1, + "_sensor": true, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_size": { + "__type__": "cc.Size", + "width": 25.4, + "height": 23.3 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e4gDUfAyNDN6GrEPB169Le" + }, + { + "__type__": "f680dkagx9PmbfqtF463/Ua", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "speed": 600, + "controlPointSide": 1, + "controlPointOffset": 0, + "controlPointRandomness": 0, + "autoRotate": true, + "showTrajectory": false, + "trajectoryColor": { + "__type__": "cc.Color", + "r": 0, + "g": 255, + "b": 0, + "a": 255 + }, + "trajectoryWidth": 3, + "easing": "linear", + "rotationSmoothness": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e2YMe3B/1NxaropG7G9Ijp" + }, + { + "__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/base3.prefab.meta b/assets/resources/game/skills/base3.prefab.meta new file mode 100644 index 00000000..40129db8 --- /dev/null +++ b/assets/resources/game/skills/base3.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "e51c162d-250c-447b-8520-38059d46b5ab", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "base3" + } +} diff --git a/assets/resources/game/skills/base4.prefab b/assets/resources/game/skills/base4.prefab new file mode 100644 index 00000000..1d8ebf04 --- /dev/null +++ b/assets/resources/game/skills/base4.prefab @@ -0,0 +1,374 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "base4", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "base4", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 8 + }, + { + "__id__": 10 + }, + { + "__id__": 12 + }, + { + "__id__": 14 + }, + { + "__id__": 16 + } + ], + "_prefab": { + "__id__": 18 + }, + "_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": "6113", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_lpos": { + "__type__": "cc.Vec3", + "x": 0, + "y": 0, + "z": 0 + }, + "_lrot": { + "__type__": "cc.Quat", + "x": 0, + "y": 0, + "z": -0.3826834323650898, + "w": 0.9238795325112867 + }, + "_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": -45 + }, + "_id": "" + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 72, + "height": 86 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "7bUv37hgBO5atBvWO5rWjj" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": { + "__uuid__": "2fcd55a9-38ca-45aa-9164-68e48aaf51ce", + "__expectedType__": "cc.Material" + }, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "c8772092-7edb-4fb4-8cfc-ac0860cab175@02e9a", + "__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": "e4J327UaxKC5xsOYFy83oh" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "e8kPwEs51InYhuQ9DnwnW5", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.49664333316829656, + "y": 0.5156666649712457 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "63NP9yq3hEUKD/OZZZ5t7x" + }, + { + "__type__": "45646oIyIdA24W+0c5rdELD", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8ahZv91itPcYJm8S0veHYl" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "enabledContactListener": true, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 1, + "_allowSleep": false, + "_gravityScale": 1, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "59HK6AcrdOhbxkRsbxWQ3l" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "tag": 0, + "_group": 4, + "_density": 1, + "_sensor": true, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_size": { + "__type__": "cc.Size", + "width": 25.4, + "height": 23.3 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e4gDUfAyNDN6GrEPB169Le" + }, + { + "__type__": "f680dkagx9PmbfqtF463/Ua", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "speed": 600, + "controlPointSide": 1, + "controlPointOffset": 0, + "controlPointRandomness": 0, + "autoRotate": true, + "showTrajectory": false, + "trajectoryColor": { + "__type__": "cc.Color", + "r": 0, + "g": 255, + "b": 0, + "a": 255 + }, + "trajectoryWidth": 3, + "easing": "linear", + "rotationSmoothness": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e2YMe3B/1NxaropG7G9Ijp" + }, + { + "__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/base4.prefab.meta b/assets/resources/game/skills/base4.prefab.meta new file mode 100644 index 00000000..33e43c9f --- /dev/null +++ b/assets/resources/game/skills/base4.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "042ee0d1-65ab-4a1a-9697-c6ec3827bfbb", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "base4" + } +} diff --git a/assets/resources/game/skills/base_ft.prefab b/assets/resources/game/skills/base_ft.prefab new file mode 100644 index 00000000..4b95446c --- /dev/null +++ b/assets/resources/game/skills/base_ft.prefab @@ -0,0 +1,371 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "base_ft", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "base_ft", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 8 + }, + { + "__id__": 10 + }, + { + "__id__": 12 + }, + { + "__id__": 14 + }, + { + "__id__": 16 + } + ], + "_prefab": { + "__id__": 18 + }, + "_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": "ft", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_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__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 70, + "height": 25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "89vbkHDPBP1qRJQi1HgwWE" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "093403fd-fec9-42ef-b952-5831234ff06e@46592", + "__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": "6aQpXhdVdD1YH0EPacA8l5" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "07v8gtqfpP65tK9fkl7NFO", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.49664333316829656, + "y": 0.5156666649712457 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "63NP9yq3hEUKD/OZZZ5t7x" + }, + { + "__type__": "45646oIyIdA24W+0c5rdELD", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8ahZv91itPcYJm8S0veHYl" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "enabledContactListener": true, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 1, + "_allowSleep": false, + "_gravityScale": 1, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "59HK6AcrdOhbxkRsbxWQ3l" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "tag": 0, + "_group": 4, + "_density": 1, + "_sensor": true, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_size": { + "__type__": "cc.Size", + "width": 25.4, + "height": 23.3 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e4gDUfAyNDN6GrEPB169Le" + }, + { + "__type__": "f680dkagx9PmbfqtF463/Ua", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "speed": 600, + "controlPointSide": 1, + "controlPointOffset": 0, + "controlPointRandomness": 0, + "autoRotate": true, + "showTrajectory": false, + "trajectoryColor": { + "__type__": "cc.Color", + "r": 0, + "g": 255, + "b": 0, + "a": 255 + }, + "trajectoryWidth": 3, + "easing": "linear", + "rotationSmoothness": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e2YMe3B/1NxaropG7G9Ijp" + }, + { + "__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/base_ft.prefab.meta b/assets/resources/game/skills/base_ft.prefab.meta new file mode 100644 index 00000000..cef646fe --- /dev/null +++ b/assets/resources/game/skills/base_ft.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "776bebfb-d65f-4841-843a-c3ba2e284c94", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "base_ft" + } +} diff --git a/assets/resources/game/skills/base_mg.prefab b/assets/resources/game/skills/base_mg.prefab new file mode 100644 index 00000000..80ba0d5c --- /dev/null +++ b/assets/resources/game/skills/base_mg.prefab @@ -0,0 +1,371 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "base_mg", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "base_mg", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 8 + }, + { + "__id__": 10 + }, + { + "__id__": 12 + }, + { + "__id__": 14 + }, + { + "__id__": 16 + } + ], + "_prefab": { + "__id__": 18 + }, + "_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": "langya", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_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__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 70, + "height": 25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "79DEL6mStGGIOd2NKb539I" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "093403fd-fec9-42ef-b952-5831234ff06e@f7d11", + "__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": "83VolX3JdIGIGNvNZALT9V" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "a6QMBKnutD/ZfxD8beb+85", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.49664333316829656, + "y": 0.5156666649712457 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "63NP9yq3hEUKD/OZZZ5t7x" + }, + { + "__type__": "45646oIyIdA24W+0c5rdELD", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8ahZv91itPcYJm8S0veHYl" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "enabledContactListener": true, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 1, + "_allowSleep": false, + "_gravityScale": 1, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "59HK6AcrdOhbxkRsbxWQ3l" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "tag": 0, + "_group": 4, + "_density": 1, + "_sensor": true, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_size": { + "__type__": "cc.Size", + "width": 25.4, + "height": 23.3 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e4gDUfAyNDN6GrEPB169Le" + }, + { + "__type__": "f680dkagx9PmbfqtF463/Ua", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "speed": 600, + "controlPointSide": 1, + "controlPointOffset": 0, + "controlPointRandomness": 0, + "autoRotate": true, + "showTrajectory": false, + "trajectoryColor": { + "__type__": "cc.Color", + "r": 0, + "g": 255, + "b": 0, + "a": 255 + }, + "trajectoryWidth": 3, + "easing": "linear", + "rotationSmoothness": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e2YMe3B/1NxaropG7G9Ijp" + }, + { + "__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/base_mg.prefab.meta b/assets/resources/game/skills/base_mg.prefab.meta new file mode 100644 index 00000000..8077545a --- /dev/null +++ b/assets/resources/game/skills/base_mg.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "82ec8c6d-998c-4c2b-a450-c2f09287dfa3", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "base_mg" + } +} diff --git a/assets/resources/game/skills/base_sf.prefab b/assets/resources/game/skills/base_sf.prefab new file mode 100644 index 00000000..b406c953 --- /dev/null +++ b/assets/resources/game/skills/base_sf.prefab @@ -0,0 +1,371 @@ +[ + { + "__type__": "cc.Prefab", + "_name": "base_sf", + "_objFlags": 0, + "__editorExtras__": {}, + "_native": "", + "data": { + "__id__": 1 + }, + "optimizationPolicy": 0, + "persistent": false + }, + { + "__type__": "cc.Node", + "_name": "base_sf", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": null, + "_children": [ + { + "__id__": 2 + } + ], + "_active": true, + "_components": [ + { + "__id__": 8 + }, + { + "__id__": 10 + }, + { + "__id__": 12 + }, + { + "__id__": 14 + }, + { + "__id__": 16 + } + ], + "_prefab": { + "__id__": 18 + }, + "_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": "sf", + "_objFlags": 0, + "__editorExtras__": {}, + "_parent": { + "__id__": 1 + }, + "_children": [], + "_active": true, + "_components": [ + { + "__id__": 3 + }, + { + "__id__": 5 + } + ], + "_prefab": { + "__id__": 7 + }, + "_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__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 4 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 70, + "height": 25 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.5, + "y": 0.5 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "f6oQyMy8NE26msTHSRgQUr" + }, + { + "__type__": "cc.Sprite", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 2 + }, + "_enabled": true, + "__prefab": { + "__id__": 6 + }, + "_customMaterial": null, + "_srcBlendFactor": 2, + "_dstBlendFactor": 4, + "_color": { + "__type__": "cc.Color", + "r": 255, + "g": 255, + "b": 255, + "a": 255 + }, + "_spriteFrame": { + "__uuid__": "093403fd-fec9-42ef-b952-5831234ff06e@6b563", + "__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": "8cEuTD/PNLxIn1LllXHU1w" + }, + { + "__type__": "cc.PrefabInfo", + "root": { + "__id__": 1 + }, + "asset": { + "__id__": 0 + }, + "fileId": "37i+iCe2NDFbvFDnXlq88q", + "instance": null, + "targetOverrides": null, + "nestedPrefabInstanceRoots": null + }, + { + "__type__": "cc.UITransform", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 9 + }, + "_contentSize": { + "__type__": "cc.Size", + "width": 120, + "height": 80 + }, + "_anchorPoint": { + "__type__": "cc.Vec2", + "x": 0.49664333316829656, + "y": 0.5156666649712457 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "63NP9yq3hEUKD/OZZZ5t7x" + }, + { + "__type__": "45646oIyIdA24W+0c5rdELD", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 11 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "8ahZv91itPcYJm8S0veHYl" + }, + { + "__type__": "cc.RigidBody2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 13 + }, + "enabledContactListener": true, + "bullet": false, + "awakeOnLoad": true, + "_group": 1, + "_type": 1, + "_allowSleep": false, + "_gravityScale": 1, + "_linearDamping": 0, + "_angularDamping": 0, + "_linearVelocity": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0 + }, + "_angularVelocity": 0, + "_fixedRotation": false, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "59HK6AcrdOhbxkRsbxWQ3l" + }, + { + "__type__": "cc.BoxCollider2D", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 15 + }, + "tag": 0, + "_group": 4, + "_density": 1, + "_sensor": true, + "_friction": 0.2, + "_restitution": 0, + "_offset": { + "__type__": "cc.Vec2", + "x": 0, + "y": 0.5 + }, + "_size": { + "__type__": "cc.Size", + "width": 25.4, + "height": 23.3 + }, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e4gDUfAyNDN6GrEPB169Le" + }, + { + "__type__": "f680dkagx9PmbfqtF463/Ua", + "_name": "", + "_objFlags": 0, + "__editorExtras__": {}, + "node": { + "__id__": 1 + }, + "_enabled": true, + "__prefab": { + "__id__": 17 + }, + "speed": 600, + "controlPointSide": 1, + "controlPointOffset": 0, + "controlPointRandomness": 0, + "autoRotate": true, + "showTrajectory": false, + "trajectoryColor": { + "__type__": "cc.Color", + "r": 0, + "g": 255, + "b": 0, + "a": 255 + }, + "trajectoryWidth": 3, + "easing": "linear", + "rotationSmoothness": 0, + "_id": "" + }, + { + "__type__": "cc.CompPrefabInfo", + "fileId": "e2YMe3B/1NxaropG7G9Ijp" + }, + { + "__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/base_sf.prefab.meta b/assets/resources/game/skills/base_sf.prefab.meta new file mode 100644 index 00000000..51054f31 --- /dev/null +++ b/assets/resources/game/skills/base_sf.prefab.meta @@ -0,0 +1,13 @@ +{ + "ver": "1.1.50", + "importer": "prefab", + "imported": true, + "uuid": "aef0adfc-de87-4828-a629-162f728c4f62", + "files": [ + ".json" + ], + "subMetas": {}, + "userData": { + "syncNodeName": "base_sf" + } +} diff --git a/assets/script/game/common/config/CardSet.ts b/assets/script/game/common/config/CardSet.ts index d6245024..d3646ada 100644 --- a/assets/script/game/common/config/CardSet.ts +++ b/assets/script/game/common/config/CardSet.ts @@ -2,7 +2,7 @@ CardList type: 1:伙伴 2:技能 3:装备 */ -import { HeroList } from "./heroSet" +import { getHeroList, HeroList } from "./heroSet" import { HeroSkillList, SkillSet } from "./SkillSet" import { equip_list, weapons, armors, accessorys, getEquipUUIDsByTypeAndLevel } from "./Equips" @@ -100,20 +100,20 @@ export function getRandomCardUUIDByType(type: number): number { export function getRandomCardsByType( type: number, count: number, - equipSubType?: number, // 新增参数:装备子类型 1:武器 2:防具 3:饰品 0或undefined:全部 + data?: number, // 新增参数:装备子类型 1:武器 2:防具 3:饰品 0或undefined:全部 level?: number // 新增参数:装备等级 1-5 ): { type: number; uuid: number }[] { let cardList: number[] = []; switch (type) { case cardType.HERO: - cardList = HeroList; + cardList = getHeroList(data); break; case cardType.SKILL: cardList = HeroSkillList; // 直接使用HeroSkillList数组 break; case cardType.EQUIP: // 根据装备子类型筛选 - cardList=getEquipUUIDsByTypeAndLevel(equipSubType,level) + cardList=getEquipUUIDsByTypeAndLevel(data,level) break; case cardType.SPECIAL: cardList = SuperCardsList; @@ -153,15 +153,15 @@ export const SuperCards={ info:"攻击触发提高英雄/伙伴属性的效果,额外添加+1攻击力"}, 3002:{uuid:3002,name:"附魔宝典",quality:Quality.WHITE,path:"3002",type:SuperCardsType.SPECIAL,value1:1,value2:0,value3:0, info:"攻击触发高英雄/伙伴属性的效果,额外添加+1生命值"}, - 3101:{uuid:3101,name:"陨石术",quality:Quality.GREEN,path:"3101",type:SuperCardsType.AOE,value1:SkillSet[6019].uuid,value2:10,value3:0, + 3101:{uuid:3101,name:"陨石术",quality:Quality.GREEN,path:"3101",type:SuperCardsType.AOE,value1:SkillSet[6029].uuid,value2:10,value3:0, info:"召唤大量火球攻击敌人,每个火球对敌人造成英雄攻击力的300%伤害"}, - 3102:{uuid:3102,name:"冰刺",quality:Quality.BLUE,path:"3102",type:SuperCardsType.AOE,value1:SkillSet[6017].uuid,value2:10,value3:0, + 3102:{uuid:3102,name:"冰刺",quality:Quality.BLUE,path:"3102",type:SuperCardsType.AOE,value1:SkillSet[6027].uuid,value2:10,value3:0, info:"召唤大量火球攻击敌人,每个火球对敌人造成英雄攻击力的300%伤害"}, - 3103:{uuid:3103,name:"潮汐",quality:Quality.BLUE,path:"3103",type:SuperCardsType.AOE,value1:SkillSet[6018].uuid,value2:10,value3:0, + 3103:{uuid:3103,name:"潮汐",quality:Quality.BLUE,path:"3103",type:SuperCardsType.AOE,value1:SkillSet[6028].uuid,value2:10,value3:0, info:"召唤大量火球攻击敌人,每个火球对敌人造成英雄攻击力的300%伤害"}, - 3104:{uuid:3104,name:"龙卷风",quality:Quality.BLUE,path:"3104",type:SuperCardsType.AOE,value1:SkillSet[6013].uuid,value2:10,value3:0, + 3104:{uuid:3104,name:"龙卷风",quality:Quality.BLUE,path:"3104",type:SuperCardsType.AOE,value1:SkillSet[6023].uuid,value2:10,value3:0, info:"召唤大量火球攻击敌人,每个火球对敌人造成英雄攻击力的300%伤害"}, - 3105:{uuid:3105,name:"火球风暴",quality:Quality.PURPLE,path:"3105",type:SuperCardsType.AOE,value1:SkillSet[6012].uuid,value2:10,value3:0, + 3105:{uuid:3105,name:"火球风暴",quality:Quality.PURPLE,path:"3105",type:SuperCardsType.AOE,value1:SkillSet[6022].uuid,value2:10,value3:0, info:"召唤大量火球攻击敌人,每个火球对敌人造成英雄攻击力的300%伤害"}, 3106:{uuid:3106,name:"冰雨",quality:Quality.PURPLE,path:"3106",type:SuperCardsType.AOE,value1:SkillSet[6020].uuid,value2:3,value3:0, info:"召唤大量火球攻击敌人,每个火球对敌人造成英雄攻击力的300%伤害"}, diff --git a/assets/script/game/common/config/Equips.ts b/assets/script/game/common/config/Equips.ts index 4007e478..7713ed1f 100644 --- a/assets/script/game/common/config/Equips.ts +++ b/assets/script/game/common/config/Equips.ts @@ -92,6 +92,20 @@ export const hammerWeapons = [ 1501, 1502, 1503, // 绿、蓝、紫 ]; +// 刀类武器UUID列表 - 根据wp.md配置 +export const knifeWeapons = [ + // 等级1 + 6101, 6102, 6103, // 绿、蓝、紫 + // 等级2 + 6201, 6202, 6203, // 绿、蓝、紫 + // 等级3 + 6301, 6302, 6303, // 绿、蓝、紫 + // 等级4 + 6401, 6402, 6403, // 绿、蓝、紫 + // 等级5 + 6501, 6502, 6503, // 绿、蓝、紫 +]; + // 盾牌装备UUID列表 - 根据wp.md配置 export const shieldArmors = [ // 闪避型盾牌 @@ -166,10 +180,10 @@ export const accessoryItems = [ 7447, 7547, ]; -export const weapons = [...swordWeapons, ...axeWeapons, ...hammerWeapons]; +export const weapons = [...swordWeapons, ...axeWeapons, ...hammerWeapons, ...knifeWeapons]; export const armors = [...shieldArmors]; export const accessorys = [...accessoryItems]; -export const equip_list = [...swordWeapons, ...axeWeapons, ...hammerWeapons, ...shieldArmors, ...accessoryItems]; +export const equip_list = [...swordWeapons, ...axeWeapons, ...hammerWeapons, ...knifeWeapons, ...shieldArmors, ...accessoryItems]; @@ -1012,6 +1026,248 @@ export const EquipInfo: { [key: number]: EquipData } = { ], }, + // === 刀类武器配置 === + + // 等级1 刀类武器 + 6101: { + uuid: 6101, + name: "影刃(Lv1)", + type: EquipType.WEAPON, + quality: Quality.GREEN, + lv: 1, + path: "6101", + info: "攻击力增加60%,易伤加成15%", + special_attr: [], + buff: [ + { type: BuffAttr.ATK, value: 60, target: EquipAttrTarget.HERO }, + { type: BuffAttr.ATK_CD, value: -26.7, target: EquipAttrTarget.HERO }, // CD修正-26.7% + { type: BuffAttr.DEBUFF_VALUE, value: 15, target: EquipAttrTarget.HERO }, // 易伤加成15% + ], + }, + 6102: { + uuid: 6102, + name: "寒月双刃(Lv1)", + type: EquipType.WEAPON, + quality: Quality.BLUE, + lv: 1, + path: "6102", + info: "攻击力增加85%,易伤加成20%", + special_attr: [], + buff: [ + { type: BuffAttr.ATK, value: 85, target: EquipAttrTarget.HERO }, + { type: BuffAttr.ATK_CD, value: -26.7, target: EquipAttrTarget.HERO }, // CD修正-26.7% + { type: BuffAttr.DEBUFF_VALUE, value: 20, target: EquipAttrTarget.HERO }, // 易伤加成20% + ], + }, + 6103: { + uuid: 6103, + name: "霜魂切割者(Lv1)", + type: EquipType.WEAPON, + quality: Quality.PURPLE, + lv: 1, + path: "6103", + info: "攻击力增加115%,易伤加成25%,冰冻概率15%", + special_attr: [], + buff: [ + { type: BuffAttr.ATK, value: 115, target: EquipAttrTarget.HERO }, + { type: BuffAttr.ATK_CD, value: -26.7, target: EquipAttrTarget.HERO }, // CD修正-26.7% + { type: BuffAttr.DEBUFF_VALUE, value: 25, target: EquipAttrTarget.HERO }, // 易伤加成25% + { type: BuffAttr.FROST_RATIO, value: 15, target: EquipAttrTarget.HERO }, // 冰冻概率15% + ], + }, + + // 等级2 刀类武器 + 6201: { + uuid: 6201, + name: "影刃(Lv2)", + type: EquipType.WEAPON, + quality: Quality.GREEN, + lv: 2, + path: "6101", + info: "攻击力增加90%,易伤加成17%", + special_attr: [], + buff: [ + { type: BuffAttr.ATK, value: 90, target: EquipAttrTarget.HERO }, + { type: BuffAttr.ATK_CD, value: -26.7, target: EquipAttrTarget.HERO }, // CD修正-26.7% + { type: BuffAttr.DEBUFF_VALUE, value: 17, target: EquipAttrTarget.HERO }, // 易伤加成17% + ], + }, + 6202: { + uuid: 6202, + name: "寒月双刃(Lv2)", + type: EquipType.WEAPON, + quality: Quality.BLUE, + lv: 2, + path: "6102", + info: "攻击力增加125%,易伤加成23%", + special_attr: [], + buff: [ + { type: BuffAttr.ATK, value: 125, target: EquipAttrTarget.HERO }, + { type: BuffAttr.ATK_CD, value: -26.7, target: EquipAttrTarget.HERO }, // CD修正-26.7% + { type: BuffAttr.DEBUFF_VALUE, value: 23, target: EquipAttrTarget.HERO }, // 易伤加成23% + ], + }, + 6203: { + uuid: 6203, + name: "霜魂切割者(Lv2)", + type: EquipType.WEAPON, + quality: Quality.PURPLE, + lv: 2, + path: "6103", + info: "攻击力增加160%,易伤加成29%,冰冻概率18%", + special_attr: [], + buff: [ + { type: BuffAttr.ATK, value: 160, target: EquipAttrTarget.HERO }, + { type: BuffAttr.ATK_CD, value: -26.7, target: EquipAttrTarget.HERO }, // CD修正-26.7% + { type: BuffAttr.DEBUFF_VALUE, value: 29, target: EquipAttrTarget.HERO }, // 易伤加成29% + { type: BuffAttr.FROST_RATIO, value: 18, target: EquipAttrTarget.HERO }, // 冰冻概率18% + ], + }, + + // 等级3 刀类武器 + 6301: { + uuid: 6301, + name: "影刃(Lv3)", + type: EquipType.WEAPON, + quality: Quality.GREEN, + lv: 3, + path: "6101", + info: "攻击力增加120%,易伤加成19%", + special_attr: [], + buff: [ + { type: BuffAttr.ATK, value: 120, target: EquipAttrTarget.HERO }, + { type: BuffAttr.ATK_CD, value: -26.7, target: EquipAttrTarget.HERO }, // CD修正-26.7% + { type: BuffAttr.DEBUFF_VALUE, value: 19, target: EquipAttrTarget.HERO }, // 易伤加成19% + ], + }, + 6302: { + uuid: 6302, + name: "寒月双刃(Lv3)", + type: EquipType.WEAPON, + quality: Quality.BLUE, + lv: 3, + path: "6102", + info: "攻击力增加165%,易伤加成26%", + special_attr: [], + buff: [ + { type: BuffAttr.ATK, value: 165, target: EquipAttrTarget.HERO }, + { type: BuffAttr.ATK_CD, value: -26.7, target: EquipAttrTarget.HERO }, // CD修正-26.7% + { type: BuffAttr.DEBUFF_VALUE, value: 26, target: EquipAttrTarget.HERO }, // 易伤加成26% + ], + }, + 6303: { + uuid: 6303, + name: "霜魂切割者(Lv3)", + type: EquipType.WEAPON, + quality: Quality.PURPLE, + lv: 3, + path: "6103", + info: "攻击力增加205%,易伤加成33%,冰冻概率21%", + special_attr: [], + buff: [ + { type: BuffAttr.ATK, value: 205, target: EquipAttrTarget.HERO }, + { type: BuffAttr.ATK_CD, value: -26.7, target: EquipAttrTarget.HERO }, // CD修正-26.7% + { type: BuffAttr.DEBUFF_VALUE, value: 33, target: EquipAttrTarget.HERO }, // 易伤加成33% + { type: BuffAttr.FROST_RATIO, value: 21, target: EquipAttrTarget.HERO }, // 冰冻概率21% + ], + }, + + // 等级4 刀类武器 + 6401: { + uuid: 6401, + name: "影刃(Lv4)", + type: EquipType.WEAPON, + quality: Quality.GREEN, + lv: 4, + path: "6101", + info: "攻击力增加150%,易伤加成21%", + special_attr: [], + buff: [ + { type: BuffAttr.ATK, value: 150, target: EquipAttrTarget.HERO }, + { type: BuffAttr.ATK_CD, value: -26.7, target: EquipAttrTarget.HERO }, // CD修正-26.7% + { type: BuffAttr.DEBUFF_VALUE, value: 21, target: EquipAttrTarget.HERO }, // 易伤加成21% + ], + }, + 6402: { + uuid: 6402, + name: "寒月双刃(Lv4)", + type: EquipType.WEAPON, + quality: Quality.BLUE, + lv: 4, + path: "6102", + info: "攻击力增加205%,易伤加成29%", + special_attr: [], + buff: [ + { type: BuffAttr.ATK, value: 205, target: EquipAttrTarget.HERO }, + { type: BuffAttr.ATK_CD, value: -26.7, target: EquipAttrTarget.HERO }, // CD修正-26.7% + { type: BuffAttr.DEBUFF_VALUE, value: 29, target: EquipAttrTarget.HERO }, // 易伤加成29% + ], + }, + 6403: { + uuid: 6403, + name: "霜魂切割者(Lv4)", + type: EquipType.WEAPON, + quality: Quality.PURPLE, + lv: 4, + path: "6103", + info: "攻击力增加250%,易伤加成37%,冰冻概率24%", + special_attr: [], + buff: [ + { type: BuffAttr.ATK, value: 250, target: EquipAttrTarget.HERO }, + { type: BuffAttr.ATK_CD, value: -26.7, target: EquipAttrTarget.HERO }, // CD修正-26.7% + { type: BuffAttr.DEBUFF_VALUE, value: 37, target: EquipAttrTarget.HERO }, // 易伤加成37% + { type: BuffAttr.FROST_RATIO, value: 24, target: EquipAttrTarget.HERO }, // 冰冻概率24% + ], + }, + + // 等级5 刀类武器 + 6501: { + uuid: 6501, + name: "影刃(Lv5)", + type: EquipType.WEAPON, + quality: Quality.GREEN, + lv: 5, + path: "6101", + info: "攻击力增加180%,易伤加成25%", + special_attr: [], + buff: [ + { type: BuffAttr.ATK, value: 180, target: EquipAttrTarget.HERO }, + { type: BuffAttr.ATK_CD, value: -26.7, target: EquipAttrTarget.HERO }, // CD修正-26.7% + { type: BuffAttr.DEBUFF_VALUE, value: 25, target: EquipAttrTarget.HERO }, // 易伤加成25% + ], + }, + 6502: { + uuid: 6502, + name: "寒月双刃(Lv5)", + type: EquipType.WEAPON, + quality: Quality.BLUE, + lv: 5, + path: "6102", + info: "攻击力增加245%,易伤加成35%", + special_attr: [], + buff: [ + { type: BuffAttr.ATK, value: 245, target: EquipAttrTarget.HERO }, + { type: BuffAttr.ATK_CD, value: -26.7, target: EquipAttrTarget.HERO }, // CD修正-26.7% + { type: BuffAttr.DEBUFF_VALUE, value: 35, target: EquipAttrTarget.HERO }, // 易伤加成35% + ], + }, + 6503: { + uuid: 6503, + name: "霜魂切割者(Lv5)", + type: EquipType.WEAPON, + quality: Quality.PURPLE, + lv: 5, + path: "6103", + info: "攻击力增加300%,易伤加成45%,冰冻概率27%", + special_attr: [], + buff: [ + { type: BuffAttr.ATK, value: 300, target: EquipAttrTarget.HERO }, + { type: BuffAttr.ATK_CD, value: -26.7, target: EquipAttrTarget.HERO }, // CD修正-26.7% + { type: BuffAttr.DEBUFF_VALUE, value: 45, target: EquipAttrTarget.HERO }, // 易伤加成45% + { type: BuffAttr.FROST_RATIO, value: 27, target: EquipAttrTarget.HERO }, // 冰冻概率27% + ], + }, + // === 盾牌装备配置 === // === 闪避型盾牌 === diff --git a/assets/script/game/common/config/SkillSet.ts b/assets/script/game/common/config/SkillSet.ts index 1972b5c6..9f186968 100644 --- a/assets/script/game/common/config/SkillSet.ts +++ b/assets/script/game/common/config/SkillSet.ts @@ -99,6 +99,7 @@ export enum BuffAttr { FROST_RATIO = 20, //冰冻比率 REFLECT = 21, //反伤比率 KNOCKBACK = 22, //击退概率 + BURN_COUNT = 23, //易伤额外次数 } export const geDebuffNum=()=>{ @@ -143,6 +144,7 @@ export const getBuffNum=()=>{ FROST_RATIO:0, //冰冻比率 REFLECT:0, //反伤比率 KNOCKBACK:0, //击退概率 + BURN_COUNT:0, //易伤额外次数 } } @@ -178,62 +180,75 @@ debuff 按次数进行结算,在多次生效内,有一定的叠加,debuff.deC为 export const HeroSkillList = [6001,6001,6001,6001,6001,6001] export const SkillSet = { 6001:{uuid:6001,name:"凛冬之触",sp_name:"greenball",path:"6001",quality:Quality.WHITE, TType:TType.Frontline, - TGroup:TGroup.Enemy,act:"atk",CdType:1,AType:AType.parabolic,RType:RType.bezier,EType:EType.collision,fname:"max",flash:false,with:90, + TGroup:TGroup.Enemy,act:"atk",CdType:1,AType:AType.linear,RType:RType.linear,EType:EType.collision,fname:"max",flash:false,with:90, debuff:0,deV:0,deC:0,deR:100,in:0.8,ap:100,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人释放寒冰弹,造成100%攻击的伤害"}, 6002:{uuid:6002,name:"穿心箭矢",sp_name:"arrow",path:"6006",quality:Quality.WHITE, TType:TType.Frontline, - TGroup:TGroup.Enemy,act:"atk",CdType:1,AType:AType.parabolic,RType:RType.bezier,EType:EType.collision,fname:"max",flash:false,with:90, + TGroup:TGroup.Enemy,act:"atk",CdType:1,AType:AType.parabolic,RType:RType.linear,EType:EType.collision,fname:"max",flash:false,with:90, debuff:0,deV:0,deC:0,deR:100,in:0.8,ap:100,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人释放箭矢,造成100%攻击的伤害"}, 6003:{uuid:6003,name:"神圣护盾",sp_name:"shield",path:"6018",quality:Quality.WHITE, TType:TType.Frontline, - TGroup:TGroup.Self,act:"max",CdType:2,AType:AType.parabolic,RType:RType.bezier,EType:EType.animationEnd,fname:"max",flash:false,with:90, + TGroup:TGroup.Self,act:"max",CdType:2,AType:AType.linear,RType:RType.linear,EType:EType.animationEnd,fname:"max",flash:false,with:90, debuff:0,deV:0,deC:0,deR:100,in:0.8,ap:100,cd:5,hit:1,hited:0.3,shield:30,speed:720,sonsk:0,hero:0,info:"召唤圣盾保护自己,可以抵御3次攻击"}, 6004:{uuid:6004,name:"自愈", sp_name:"heath_small",path:"6032",quality:Quality.WHITE, TType:TType.Frontline, - TGroup:TGroup.Self,act:"max",CdType:2,AType:AType.parabolic,RType:RType.bezier,EType:EType.animationEnd,fname:"max",flash:false,with:90, + TGroup:TGroup.Self,act:"max",CdType:2,AType:AType.linear,RType:RType.linear,EType:EType.animationEnd,fname:"max",flash:false,with:90, debuff:0,deV:0,deC:0,deR:100,in:2,ap:100,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"主动:自己回复自身5%最大生命值的生命"}, - - 6007:{uuid:6007,name:"铁斧打击",sp_name:"mon_ft",path:"6007",quality:Quality.WHITE, TType:TType.Frontline, - TGroup:TGroup.Enemy,act:"atk",CdType:1,AType:AType.parabolic,RType:RType.bezier,EType:EType.collision,fname:"max",flash:false,with:90, + + 6005:{uuid:6005,name:"基础打击",sp_name:"base1",path:"6007",quality:Quality.WHITE, TType:TType.Frontline, + TGroup:TGroup.Enemy,act:"atk",CdType:1,AType:AType.linear,RType:RType.linear,EType:EType.collision,fname:"max",flash:false,with:90, debuff:0,deV:0,deC:0,deR:100,in:0.8,ap:100,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人扔出铁斧,造成100%攻击的伤害"}, - 6008:{uuid:6008,name:"木棍打击",sp_name:"mon_ly",path:"6008",quality:Quality.WHITE, TType:TType.Frontline, - TGroup:TGroup.Enemy,act:"atk",CdType:1,AType:AType.parabolic,RType:RType.bezier,EType:EType.collision,fname:"max",flash:false,with:90, + 6006:{uuid:6006,name:"基础打击",sp_name:"base2",path:"6007",quality:Quality.WHITE, TType:TType.Frontline, + TGroup:TGroup.Enemy,act:"atk",CdType:1,AType:AType.linear,RType:RType.linear,EType:EType.collision,fname:"max",flash:false,with:90, + debuff:0,deV:0,deC:0,deR:100,in:0.8,ap:100,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人扔出铁斧,造成100%攻击的伤害"}, + 6007:{uuid:6007,name:"基础打击",sp_name:"base3",path:"6007",quality:Quality.WHITE, TType:TType.Frontline, + TGroup:TGroup.Enemy,act:"atk",CdType:1,AType:AType.linear,RType:RType.linear,EType:EType.collision,fname:"max",flash:false,with:90, + debuff:0,deV:0,deC:0,deR:100,in:0.8,ap:100,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人扔出铁斧,造成100%攻击的伤害"}, + 6008:{uuid:6008,name:"基础打击",sp_name:"base4",path:"6007",quality:Quality.WHITE, TType:TType.Frontline, + TGroup:TGroup.Enemy,act:"atk",CdType:1,AType:AType.linear,RType:RType.linear,EType:EType.collision,fname:"max",flash:false,with:90, + debuff:0,deV:0,deC:0,deR:100,in:0.8,ap:100,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人扔出铁斧,造成100%攻击的伤害"}, + + 6009:{uuid:6009,name:"铁斧打击",sp_name:"base_ft",path:"6007",quality:Quality.WHITE, TType:TType.Frontline, + TGroup:TGroup.Enemy,act:"atk",CdType:1,AType:AType.linear,RType:RType.linear,EType:EType.collision,fname:"max",flash:false,with:90, + debuff:0,deV:0,deC:0,deR:100,in:0.8,ap:100,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人扔出铁斧,造成100%攻击的伤害"}, + 6010:{uuid:6010,name:"木棍打击",sp_name:"base_mg",path:"6008",quality:Quality.WHITE, TType:TType.Frontline, + TGroup:TGroup.Enemy,act:"atk",CdType:1,AType:AType.linear,RType:RType.linear,EType:EType.collision,fname:"max",flash:false,with:90, debuff:0,deV:0,deC:0,deR:100,in:0.8,ap:100,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人扔出木棍,造成100%攻击的伤害"}, - 6009:{uuid:6009,name:"飞刀打击",sp_name:"mon_xd",path:"6009",quality:Quality.WHITE, TType:TType.Frontline, - TGroup:TGroup.Enemy,act:"atk",CdType:1,AType:AType.parabolic,RType:RType.bezier,EType:EType.collision,fname:"max",flash:false,with:90, + 6011:{uuid:6011,name:"飞刀打击",sp_name:"mon_xd",path:"6009",quality:Quality.WHITE, TType:TType.Frontline, + TGroup:TGroup.Enemy,act:"atk",CdType:1,AType:AType.linear,RType:RType.linear,EType:EType.collision,fname:"max",flash:false,with:90, debuff:0,deV:0,deC:0,deR:100,in:0.8,ap:100,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人扔出飞刀,造成100%攻击的伤害"}, - 6010:{uuid:6010,name:"石斧打击",sp_name:"mon_sf",path:"6010",quality:Quality.WHITE, TType:TType.Frontline, - TGroup:TGroup.Enemy,act:"atk",CdType:1,AType:AType.parabolic,RType:RType.bezier,EType:EType.collision,fname:"max",flash:false,with:90, + 6012:{uuid:6012,name:"石斧打击",sp_name:"base_sf",path:"6010",quality:Quality.WHITE, TType:TType.Frontline, + TGroup:TGroup.Enemy,act:"atk",CdType:1,AType:AType.linear,RType:RType.linear,EType:EType.collision,fname:"max",flash:false,with:90, debuff:0,deV:0,deC:0,deR:100,in:0.8,ap:100,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"向最前方敌人扔出石斧,造成100%攻击的伤害"}, - 6012:{uuid:6012,name:"大火球" ,sp_name:"fire",path:"6012",quality:Quality.WHITE, TType:TType.Frontline, + 6022:{uuid:6022,name:"大火球" ,sp_name:"fire",path:"6022",quality:Quality.WHITE, TType:TType.Frontline, TGroup:TGroup.Enemy,act:"atk",CdType:2,AType:AType.linear,RType:RType.linear,EType:EType.collision,fname:"max",flash:false,with:90, debuff:DebuffAttr.STUN,deV:20,deC:1,deR:100,in:1,ap:100,cd:5,hit:2,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"召唤大火球攻击前方所有敌人,造成300%攻击的伤害,有一定几率施加灼烧"}, - 6013:{uuid:6013,name:"龙卷风", sp_name:"bwind",path:"6016",quality:Quality.WHITE, TType:TType.Frontline, + 6023:{uuid:6023,name:"龙卷风", sp_name:"bwind",path:"6026",quality:Quality.WHITE, TType:TType.Frontline, TGroup:TGroup.Enemy,act:"max",CdType:2,AType:AType.linear,RType:RType.linear,EType:EType.collision,fname:"max",flash:false,with:90, debuff:DebuffAttr.BACK,deV:0,deC:0,deR:100,in:3,ap:100,cd:5,hit:1,hited:1,shield:0,speed:360,sonsk:0,hero:0,info:"召唤大火球攻击前方所有敌人,造成200%攻击的伤害,50%几率击退敌人"}, - 6014:{uuid:6014,name:"寒冰箭", sp_name:"arrow_blue",path:"6014",quality:Quality.WHITE, TType:TType.Frontline, + 6024:{uuid:6024,name:"寒冰箭", sp_name:"arrow_blue",path:"6024",quality:Quality.WHITE, TType:TType.Frontline, TGroup:TGroup.Enemy,act:"atk",CdType:2,AType:AType.linear,RType:RType.linear,EType:EType.collision,fname:"max",flash:false,with:90, debuff:DebuffAttr.FROST,deV:1,deC:0,deR:100,in:1,ap:100,cd:5,hit: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",quality:Quality.WHITE, TType:TType.Frontline, - TGroup:TGroup.Enemy,act:"atk",CdType:2,AType:AType.parabolic,RType:RType.bezier,EType:EType.collision,fname:"max",flash:false,with:90, + 6025:{uuid:6025,name:"烈焰射击",sp_name:"arrow_yellow",path:"6025",quality:Quality.WHITE, TType:TType.Frontline, + TGroup:TGroup.Enemy,act:"atk",CdType:2,AType:AType.linear,RType:RType.linear,EType:EType.collision,fname:"max",flash:false,with:90, debuff:DebuffAttr.STUN,deV:0,deC:0,deR:100,in:1,ap:100,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"召唤大火球攻击前方所有敌人,造成200%攻击的伤害,20%几率眩晕敌人"}, - 6016:{uuid:6016,name:"火墙", sp_name:"firewall",path:"6013",quality:Quality.WHITE, TType:TType.Frontline, + 6026:{uuid:6026,name:"火墙", sp_name:"firewall",path:"6023",quality:Quality.WHITE, TType:TType.Frontline, TGroup:TGroup.Ally,act:"max",CdType:2,AType:AType.fixedEnd,RType:RType.fixed,EType:EType.timeEnd,fname:"max",flash:false,with:90, debuff:0,deV:0,deC:0,deR:100,in:10,ap:50,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"在最前方敌人位置,召唤一堵火墙,持续10秒,每秒造成50%攻击伤害"}, - 6017:{uuid:6017,name:"冰刺",sp_name:"icez",path:"6022",quality:Quality.WHITE, TType:TType.Frontline, + 6027:{uuid:6027,name:"冰刺",sp_name:"icez",path:"6022",quality:Quality.WHITE, TType:TType.Frontline, TGroup:TGroup.Ally,act:"max",CdType:2,AType:AType.fixedEnd,RType:RType.fixed,EType:EType.animationEnd,fname:"max",flash:false,with:90, debuff:DebuffAttr.FROST,deV:0,deC:0,deR:100,in:1,ap:300,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"在最前方敌人位置,召唤冰刺攻击敌人,造成200%攻击的伤害,20%几率冰冻敌人"}, - 6018:{uuid:6018,name:"潮汐", sp_name:"watert",path:"6026",quality:Quality.WHITE, TType:TType.Frontline, + 6028:{uuid:6028,name:"潮汐", sp_name:"watert",path:"6026",quality:Quality.WHITE, TType:TType.Frontline, TGroup:TGroup.Ally,act:"max",CdType:2,AType:AType.fixedEnd,RType:RType.fixed,EType:EType.animationEnd,fname:"max",flash:false,with:90, debuff:DebuffAttr.BACK,deV:0,deC:0,deR:100,in:3,ap:100,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"在最前方敌人位置,召唤水柱攻击敌人,每秒造成100%攻击的伤害,50%几率击退敌人"}, - 6019:{uuid:6019,name:"陨石术", sp_name:"fireys",path:"6029",quality:Quality.WHITE, TType:TType.Frontline, + 6029:{uuid:6029,name:"陨石术", sp_name:"fireys",path:"6029",quality:Quality.WHITE, TType:TType.Frontline, TGroup:TGroup.Ally,act:"max",CdType:2,AType:AType.fixedEnd,RType:RType.fixed,EType:EType.animationEnd,fname:"max",flash:false,with:90, debuff:0,deV:0,deC:0,deR:100,in:3,ap:500,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"在最前方敌人位置,召唤陨石攻击敌人,造成500%攻击的伤害"}, @@ -247,17 +262,17 @@ export const SkillSet = { - 6023:{uuid:6023,name:"冰墙", sp_name:"icet",path:"6023",quality:Quality.WHITE, TType:TType.Frontline, - TGroup:TGroup.Enemy,act:"max",CdType:2,AType:AType.parabolic,RType:RType.bezier,EType:EType.animationEnd,fname:"max",flash:false,with:90, + 6030:{uuid:6030,name:"冰墙", sp_name:"icet",path:"6023",quality:Quality.WHITE, TType:TType.Frontline, + TGroup:TGroup.Enemy,act:"max",CdType:2,AType:AType.linear,RType:RType.linear,EType:EType.animationEnd,fname:"max",flash:false,with:90, debuff:DebuffAttr.BACK,deV:0,deC:0,deR:100,in:1,ap:400,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"在最前方敌人位置,召唤冰墙攻击敌人,造成200%攻击的伤害,50%几率击退敌人"}, - 6025:{uuid:6025,name:"火焰漩涡",sp_name:"fireball",path:"6025",quality:Quality.WHITE, TType:TType.Frontline, - TGroup:TGroup.Enemy,act:"max",CdType:2,AType:AType.parabolic,RType:RType.bezier,EType:EType.timeEnd,fname:"max",flash:false,with:90, + 6032:{uuid:6032,name:"火焰漩涡",sp_name:"fireball",path:"6025",quality:Quality.WHITE, TType:TType.Frontline, + TGroup:TGroup.Enemy,act:"max",CdType:2,AType:AType.linear,RType:RType.linear,EType:EType.timeEnd,fname:"max",flash:false,with:90, debuff:DebuffAttr.BACK,deV:0,deC:0,deR:100,in:3,ap:500,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:0,info:"召唤一个能量球射向前方敌人,对遇到的第一个敌人造成500%攻击的伤害,并击退"}, 6031:{uuid:6031,name:"召唤仆从",sp_name:"zhaohuan",path:"6031",quality:Quality.WHITE, TType:TType.Frontline, - TGroup:TGroup.Self,act:"max",CdType:2,AType:AType.parabolic,RType:RType.bezier,EType:EType.animationEnd,fname:"max_blue",flash:true,with:90, + TGroup:TGroup.Self,act:"max",CdType:2,AType:AType.linear,RType:RType.linear,EType:EType.animationEnd,fname:"max_blue",flash:true,with:90, debuff:0,deV:0,deC:0,deR:100,in:2,ap:70,cd:5,hit:1,hited:0.3,shield:0,speed:720,sonsk:0,hero:5211,info:"召唤一个与施法者等级相同的骷髅战士为我方而战"}, diff --git a/assets/script/game/common/config/heroSet.ts b/assets/script/game/common/config/heroSet.ts index 6f9c003b..35eff513 100644 --- a/assets/script/game/common/config/heroSet.ts +++ b/assets/script/game/common/config/heroSet.ts @@ -1,5 +1,6 @@ import { v3 } from "cc" import { Quality } from "./CardSet" +import { BuffAttr } from "./SkillSet" /** * kind :1:烈焰 2:寒冰 3:自然 4:暗影 5:神圣 @@ -32,8 +33,17 @@ export enum HeroFac { hero = 0, enemy = 1, } -export const HeroList = [5001,5002,5003,5004,5005,5006,5008,5009,5010,5011] +export const getHeroList = (is_master:number=0)=>{ + if(is_master==1){ + return Masters + }else{ + return HeroList + } +} +export const HeroList = [5021,5022,5023,5024,5025,5026,5027,5028] export const MonList = [5201,5202,5203,5204,5205,5206,5216,5217,5218,5219,5220,5221,5222,5223,5224,5225,5226,5227] +export const Masters = [5001,5002,5003,5004] + export const HeroSet = { Start_x:[-200,-260,-320], Start_y:[70,0,-70] @@ -215,90 +225,208 @@ export const getGrowthModeDescription = (heroType: HType): string => { }; export const HeroInfo = { - 5001:{uuid:5001,name:"神圣守护",path:"k2", quality:HQuality.BLUE,lv:1,kind:1,type:HType.warrior,hp:50,ap:10,dis:700,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, - - 5002:{uuid:5002,name:"幻影剑豪",path:"k1", quality:HQuality.BLUE,lv:1,kind:2,type:HType.warrior,hp:50,ap:10,dis:700,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, - - 5003:{uuid:5003,name:"战争领主",path:"k5", quality:HQuality.BLUE,lv:1,kind:2,type:HType.warrior,hp:50,ap:10,dis:700,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, - - 5004:{uuid:5004,name:"混沌法师",path:"zh1", quality:HQuality.BLUE,lv:1,kind:2,type:HType.mage,hp:50,ap:10,dis:700,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, - - 5005:{uuid:5005,name:"火焰法师",path:"zh2", quality:HQuality.BLUE,lv:1,kind:2,type:HType.mage,hp:50,ap:15,dis:700,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, - - 5006:{uuid:5006,name:"风暴精灵",path:"m4", quality:HQuality.BLUE,lv:1,kind:2,type:HType.mage,hp:50,ap:15,dis:700,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, - - 5008:{uuid:5008,name:"战争祭祀",path:"d2", quality:HQuality.BLUE,lv:1,kind:2,type:HType.mage,hp:50,ap:10,dis:700,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, - - 5009:{uuid:5009,name:"暴风射手",path:"a5", quality:HQuality.BLUE,lv:1,kind:2,type:HType.remote,hp:50,ap:15,dis:700,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6002],info:"说明"}, - - 5010:{uuid:5010,name:"苍穹射手",path:"a3", quality:HQuality.BLUE,lv:1,kind:1,type:HType.remote,hp:50,ap:15,dis:700,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6002],info:"说明"}, - - 5011:{uuid:5011,name:"幽灵射手",path:"a4", quality:HQuality.BLUE,lv:1,kind:2,type:HType.remote,hp:50,ap:15,dis:700,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6002],info:"说明"}, + + //主将 + 5001:{uuid:5001,name:"刺心.艾吉斯",path:"k1", quality:HQuality.BLUE,lv:1,kind:1, + type:HType.warrior,hp:50,ap:10,dis:700,cd:1.5,speed:50,skills:[6005], + buff:[ + {buff_type:BuffAttr.PUNCTURE,value:10}, + ],info:"剑类专精,穿刺伤害额外+10%"}, + + 5002:{uuid:5002,name:"飓风.格罗姆",path:"k2", quality:HQuality.BLUE,lv:1,kind:1, + type:HType.warrior,hp:50,ap:10,dis:700,cd:1.5,speed:50,skills:[6006], + buff:[ + {buff_type:BuffAttr.WFUNY,value:10}, + ],info:"斧类专精,风怒概率增加10%"}, + + 5003:{uuid:5003,name:"碎颅.赫克托",path:"k4", quality:HQuality.BLUE,lv:1,kind:1, + type:HType.warrior,hp:50,ap:10,dis:700,cd:1.5,speed:50,skills:[6007], + buff:[ + {buff_type:BuffAttr.CRITICAL,value:10}, + ],info:"锤类专精,暴击概率增加10%"}, + + 5004:{uuid:5004,name:"裂伤.塔米拉",path:"k3", quality:HQuality.BLUE,lv:1,kind:1, + type:HType.warrior,hp:50,ap:10,dis:700,cd:1.5,speed:50,skills:[6008], + buff:[ + {buff_type:BuffAttr.BURN_COUNT,value:1}, + ],info:"刀类专精,易伤效果额外持续1次"}, + + 5005:{uuid:5005,name:"烈焰.艾尔文",path:"zh1", quality:HQuality.BLUE,lv:1,kind:2, + type:HType.mage,hp:50,ap:10,dis:700,cd:1.5,speed:50,skills:[6005], + buff:[ + + ],info:"说明"}, + + 5006:{uuid:5006,name:"风暴.艾尔文",path:"zh2", quality:HQuality.BLUE,lv:1,kind:2, + type:HType.mage,hp:50,ap:10,dis:700,cd:1.5,speed:50,skills:[6005], + buff:[ + + ],info:"说明"}, + + 5007:{uuid:5007,name:"战争.艾尔文",path:"zh3", quality:HQuality.BLUE,lv:1,kind:2, + type:HType.mage,hp:50,ap:10,dis:700,cd:1.5,speed:50,skills:[6005], + buff:[ + + ],info:"说明"}, + + +//伙伴 + 5021:{uuid:5021,name:"幽灵射手",path:"a4", quality:HQuality.BLUE,lv:1,kind:2, + type:HType.remote,hp:50,ap:15,dis:700,cd:1.5,speed:50,skills:[6002], + buff:[ + + ],info:"说明"}, + 5022:{uuid:5022,name:"战争领主",path:"k5", quality:HQuality.BLUE,lv:1,kind:2, + type:HType.warrior,hp:50,ap:10,dis:700,cd:1.5,speed:50,skills:[6001], + buff:[ + + ],info:"说明"}, + + 5023:{uuid:5023,name:"混沌法师",path:"zh1", quality:HQuality.BLUE,lv:1,kind:2, + type:HType.mage,hp:50,ap:10,dis:700,cd:1.5,speed:50,skills:[6001], + buff:[ + + ],info:"说明"}, + + 5024:{uuid:5024,name:"火焰法师",path:"zh2", quality:HQuality.BLUE,lv:1,kind:2, + type:HType.mage,hp:50,ap:15,dis:700,cd:1.5,speed:50,skills:[6001], + buff:[ + + ],info:"说明"}, + + 5025:{uuid:5025,name:"风暴精灵",path:"m4", quality:HQuality.BLUE,lv:1,kind:2, + type:HType.mage,hp:50,ap:15,dis:700,cd:1.5,speed:50,skills:[6001], + buff:[ + + ],info:"说明"}, + + 5026:{uuid:5026,name:"战争祭祀",path:"d2", quality:HQuality.BLUE,lv:1,kind:2, + type:HType.mage,hp:50,ap:10,dis:700,cd:1.5,speed:50,skills:[6001], + buff:[ + + ],info:"说明"}, + + 5027:{uuid:5027,name:"暴风射手",path:"a5", quality:HQuality.BLUE,lv:1,kind:2, + type:HType.remote,hp:50,ap:15,dis:700,cd:1.5,speed:50,skills:[6002], + buff:[ + + ],info:"说明"}, + + 5028:{uuid:5028,name:"苍穹射手",path:"a3", quality:HQuality.BLUE,lv:1,kind:1, + type:HType.remote,hp:50,ap:15,dis:700,cd:1.5,speed:50,skills:[6002], + buff:[ + + ],info:"说明"}, + //怪物 - 5201:{uuid:5201,name:"兽人战士",path:"mor1", quality:HQuality.BLUE,lv:1,kind:1,type:HType.warrior,hp:200,ap:5,dis:400,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, + 5201:{uuid:5201,name:"兽人战士",path:"mor1", quality:HQuality.BLUE,lv:1,kind:1, + type:HType.warrior,hp:200,ap:5,dis:250,cd:1.5,speed:50,skills:[6007], + buff:[ + + ],info:"说明"}, - 5202:{uuid:5202,name:"兽人刺客",path:"mor2", quality:HQuality.BLUE,lv:1,kind:1,type:HType.warrior,hp:200,ap:5,dis:400,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, + 5202:{uuid:5202,name:"兽人刺客",path:"mor2", quality:HQuality.BLUE,lv:1,kind:1, + type:HType.warrior,hp:200,ap:5,dis:250,cd:1.5,speed:50,skills:[6007], + buff:[ + + ],info:"说明"}, - 5203:{uuid:5203,name:"兽人护卫",path:"mor3", quality:HQuality.BLUE,lv:1,kind:1,type:HType.remote,hp:200,ap:5,dis:400,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, + 5203:{uuid:5203,name:"兽人护卫",path:"mor3", quality:HQuality.BLUE,lv:1,kind:1, + type:HType.remote,hp:200,ap:5,dis:250,cd:1.5,speed:50,skills:[6007], + buff:[ + + ],info:"说明"}, - 5204:{uuid:5204,name:"石卫", path:"mgem1",quality:HQuality.BLUE,lv:1,kind:1,type:HType.warrior,hp:200,ap:5,dis:400,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, + 5204:{uuid:5204,name:"石卫", path:"mgem1",quality:HQuality.BLUE,lv:1,kind:1, + type:HType.warrior,hp:200,ap:5,dis:250,cd:1.5,speed:50,skills:[6007], + buff:[ + + ],info:"说明"}, - 5205:{uuid:5205,name:"土卫", path:"mgem2",quality:HQuality.BLUE,lv:1,kind:1,type:HType.warrior,hp:200,ap:5,dis:400,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, + 5205:{uuid:5205,name:"土卫", path:"mgem2",quality:HQuality.BLUE,lv:1,kind:1, + type:HType.warrior,hp:200,ap:5,dis:250,cd:1.5,speed:50,skills:[6007], + buff:[ + + ],info:"说明"}, - 5206:{uuid:5206,name:"树人", path:"mgem3",quality:HQuality.BLUE,lv:1,kind:1,type:HType.warrior,hp:200,ap:5,dis:400,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, + 5206:{uuid:5206,name:"树人", path:"mgem3",quality:HQuality.BLUE,lv:1,kind:1, + type:HType.warrior,hp:200,ap:5,dis:250,cd:1.5,speed:50,skills:[6007], + buff:[ + + ],info:"说明"}, - 5216:{uuid:5216,name:"元素1", path:"my1", quality:HQuality.BLUE,lv:2,kind:1,type:HType.mage,hp:200,ap:5,dis:400,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, + 5216:{uuid:5216,name:"元素1", path:"my1", quality:HQuality.BLUE,lv:2,kind:1, + type:HType.mage,hp:200,ap:5,dis:250,cd:1.5,speed:50,skills:[6007], + buff:[ + + ],info:"说明"}, - 5217:{uuid:5217,name:"元素2", path:"my2", quality:HQuality.BLUE,lv:2,kind:1,type:HType.mage,hp:200,ap:5,dis:400,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, + 5217:{uuid:5217,name:"元素2", path:"my2", quality:HQuality.BLUE,lv:2,kind:1, + type:HType.mage,hp:200,ap:5,dis:250,cd:1.5,speed:50,skills:[6007], + buff:[ + + ],info:"说明"}, - 5218:{uuid:5218,name:"元素3", path:"my3", quality:HQuality.BLUE,lv:2,kind:1,type:HType.mage,hp:200,ap:5,dis:400,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, + 5218:{uuid:5218,name:"元素3", path:"my3", quality:HQuality.BLUE,lv:2,kind:1, + type:HType.mage,hp:200,ap:5,dis:250,cd:1.5,speed:50,skills:[6007], + buff:[ + + ],info:"说明"}, - 5219:{uuid:5219,name:"牛头战士",path:"mn1", quality:HQuality.BLUE,lv:2,kind:1,type:HType.warrior,hp:200,ap:5,dis:400,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, + 5219:{uuid:5219,name:"牛头战士",path:"mn1", quality:HQuality.BLUE,lv:2,kind:1, + type:HType.warrior,hp:200,ap:5,dis:250,cd:1.5,speed:50,skills:[6007], + buff:[ + + ],info:"说明"}, - 5220:{uuid:5220,name:"牛头战士",path:"mn2", quality:HQuality.BLUE,lv:1,kind:1,type:HType.remote,hp:200,ap:5,dis:400,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, + 5220:{uuid:5220,name:"牛头战士",path:"mn2", quality:HQuality.BLUE,lv:1,kind:1, + type:HType.remote,hp:200,ap:5,dis:250,cd:1.5,speed:50,skills:[6007], + buff:[ + + ],info:"说明"}, - 5221:{uuid:5221,name:"牛头战士",path:"mn3", quality:HQuality.BLUE,lv:1,kind:1,type:HType.warrior,hp:200,ap:5,dis:400,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, + 5221:{uuid:5221,name:"牛头战士",path:"mn3", quality:HQuality.BLUE,lv:1,kind:1, + type:HType.warrior,hp:200,ap:5,dis:250,cd:1.5,speed:50,skills:[6007], + buff:[ + + ],info:"说明"}, - 5222:{uuid:5222,name:"独眼巨人",path:"md1", quality:HQuality.BLUE,lv:1,kind:1,type:HType.warrior,hp:200,ap:5,dis:400,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, + 5222:{uuid:5222,name:"独眼巨人",path:"md1", quality:HQuality.BLUE,lv:1,kind:1, + type:HType.warrior,hp:200,ap:5,dis:250,cd:1.5,speed:50,skills:[6007], + buff:[ + + ],info:"说明"}, - 5223:{uuid:5223,name:"独眼巨人",path:"md2", quality:HQuality.BLUE,lv:1,kind:1,type:HType.warrior,hp:200,ap:5,dis:400,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, + 5223:{uuid:5223,name:"独眼巨人",path:"md2", quality:HQuality.BLUE,lv:1,kind:1, + type:HType.warrior,hp:200,ap:5,dis:250,cd:1.5,speed:50,skills:[6007], + buff:[ + + ],info:"说明"}, - 5224:{uuid:5224,name:"独眼巨人",path:"md3", quality:HQuality.BLUE,lv:1,kind:1,type:HType.remote,hp:200,ap:5,dis:400,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, + 5224:{uuid:5224,name:"独眼巨人",path:"md3", quality:HQuality.BLUE,lv:1,kind:1, + type:HType.remote,hp:200,ap:5,dis:250,cd:1.5,speed:50,skills:[6007], + buff:[ + + ],info:"说明"}, - 5225:{uuid:5225,name:"精英独眼",path:"md4", quality:HQuality.BLUE,lv:1,kind:1,type:HType.mage,hp:200,ap:5,dis:400,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, + 5225:{uuid:5225,name:"精英独眼",path:"md4", quality:HQuality.BLUE,lv:1,kind:1, + type:HType.mage,hp:200,ap:5,dis:250,cd:1.5,speed:50,skills:[6007], + buff:[ + + ],info:"说明"}, - 5226:{uuid:5226,name:"精英牛头",path:"mn4", quality:HQuality.BLUE,lv:1,kind:1,type:HType.mage,hp:200,ap:5,dis:400,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"}, + 5226:{uuid:5226,name:"精英牛头",path:"mn4", quality:HQuality.BLUE,lv:1,kind:1, + type:HType.mage,hp:200,ap:5,dis:250,cd:1.5,speed:50,skills:[6007], + buff:[ + + ],info:"说明"}, - 5227:{uuid:5227,name:"精英兽人",path:"mor4", quality:HQuality.BLUE,lv:1,kind:1,type:HType.mage,hp:200,ap:5,dis:400,cd:1.5, - crit:5,crit_d:0,crit_no:false,dod:0,dod_no:false,speed:50,skills:[6001],info:"说明"} + 5227:{uuid:5227,name:"精英兽人",path:"mor4", quality:HQuality.BLUE,lv:1,kind:1, + type:HType.mage,hp:200,ap:5,dis:250,cd:1.5,speed:50,skills:[6007], + buff:[ + + ],info:"说明"} }; diff --git a/assets/script/game/hero/Hero.ts b/assets/script/game/hero/Hero.ts index fe96b96b..835e5bf3 100644 --- a/assets/script/game/hero/Hero.ts +++ b/assets/script/game/hero/Hero.ts @@ -11,6 +11,7 @@ import { SkillConComp } from "./SkillConComp"; import { FriendModelComp } from "./FriendModel"; import { MasterModelComp } from "./MasterModel"; import { GameEvent } from "../common/config/GameEvent"; +import { BuffAttr } from "../common/config/SkillSet"; /** 角色实体 */ @ecs.register(`Hero`) @@ -39,7 +40,6 @@ export class Hero extends ecs.Entity { } hart_load(uuid:number=5004) { console.log("主体加载") - let box_group=BoxSet.HERO var path = "game/heros/"+HeroInfo[uuid].path; var prefab: Prefab = oops.res.get(path, Prefab)!; var node = instantiate(prefab); @@ -60,7 +60,6 @@ export class Hero extends ecs.Entity { load(pos: Vec3 = Vec3.ZERO,scale:number = 1,uuid:number=1001,info:any={ap:0,hp:0,lv:1,crit:0,crit_d:0,dod:0,dod_no:false,crit_no:false},fight_pos:number=1) { // console.log("英雄加载:",uuid,pos,scale,info) scale = 1 - let box_group=BoxSet.HERO var path = "game/heros/"+HeroInfo[uuid].path; var prefab: Prefab = oops.res.get(path, Prefab)!; var node = instantiate(prefab); @@ -93,11 +92,49 @@ export class Hero extends ecs.Entity { hv.cd = hero.cd hv.hp= hv.hp_max =hero.hp+info.hp hv.ap = hero.ap+info.ap; - hv.crit=hero.crit+info.crit - hv.crit_d=hero.crit_d+info.crit_d - hv.dod=hero.dod+info.dod - hv.dod_no=info.dod_no - hv.crit_no=info.crit_no + hero.buff.forEach((buff:any)=>{ + switch(buff.buff_type){ + case BuffAttr.CRITICAL: + hv.crit=buff.value + break + case BuffAttr.CRITICAL_DMG: + hv.crit_d=buff.value + break + case BuffAttr.DODGE: + hv.dod=buff.value + break + case BuffAttr.DODGE_NO: + hv.dod_no=buff.value + break + case BuffAttr.CRITICAL_NO: + hv.crit_no=buff.value + break + case BuffAttr.BURN_COUNT: + hv.burn_count=buff.value + break + case BuffAttr.PUNCTURE: + hv.puncture=buff.value + break + case BuffAttr.PUNCTURE_DMG: + hv.puncture_damage=buff.value + break + case BuffAttr.WFUNY: + hv.wfuny=buff.value + break + case BuffAttr.ATK_CD: + hv.cd=hv.cd*(100-buff.value)/100 + break + case BuffAttr.HP: + hv.hp_max=hv.hp_max*(100+buff.value)/100 + break + case BuffAttr.DEF: + hv.def=buff.value + break + case BuffAttr.ATK: + hv.ap=hv.ap*(100+buff.value)/100 + break + } + }) hv.atk_skill=hero.skills[0] return hv } diff --git a/assets/script/game/hero/HeroViewComp.ts b/assets/script/game/hero/HeroViewComp.ts index 0ce70f91..db3e3e81 100644 --- a/assets/script/game/hero/HeroViewComp.ts +++ b/assets/script/game/hero/HeroViewComp.ts @@ -65,12 +65,15 @@ export class HeroViewComp extends CCComp { puncture_damage:number=0; //后伤害加成 def: number = 0; //防御 vun: number = 0; //易伤 + burn_count:number=0; //易伤次数 - dod: number = 10; //闪避率 + dod: number = 0; //闪避率 dod_no:boolean=false; crit:number=0; //暴击率 crit_no:boolean=false; //暴击免疫 crit_d:number=0; //暴击伤害 + wfuny:number=0; //风怒概率 + shield:number = 0; //护盾,免伤1次减1 speed: number = 100; /** 角色移动速度 */ diff --git a/assets/script/game/hero/Mon.ts b/assets/script/game/hero/Mon.ts index 93116a1e..5964d189 100644 --- a/assets/script/game/hero/Mon.ts +++ b/assets/script/game/hero/Mon.ts @@ -8,6 +8,7 @@ import { HeroInfo } from "../common/config/heroSet"; import { MonModelComp } from "./MonModelComp"; import { BattleMoveComp } from "../common/ecs/position/BattleMoveComp"; import { SkillConComp } from "./SkillConComp"; +import { BuffAttr } from "../common/config/SkillSet"; /** 角色实体 */ @ecs.register(`Monster`) export class Monster extends ecs.Entity { @@ -70,13 +71,50 @@ export class Monster extends ecs.Entity { hv.hp= hv.hp_max =hero.hp; hv.ap = hero.ap; hv.cd = hero.cd - hv.crit=hero.crit - hv.crit_d=hero.crit_d - hv.dod=hero.dod - hv.dod_no=hero.dod_no - hv.crit_no=hero.crit_no hv.atk_skill=hero.skills[0] - + hero.buff.forEach((buff:any)=>{ + switch(buff.buff_type){ + case BuffAttr.CRITICAL: + hv.crit=buff.value + break + case BuffAttr.CRITICAL_DMG: + hv.crit_d=buff.value + break + case BuffAttr.DODGE: + hv.dod=buff.value + break + case BuffAttr.DODGE_NO: + hv.dod_no=buff.value + break + case BuffAttr.CRITICAL_NO: + hv.crit_no=buff.value + break + case BuffAttr.BURN_COUNT: + hv.burn_count=buff.value + break + case BuffAttr.PUNCTURE: + hv.puncture=buff.value + break + case BuffAttr.PUNCTURE_DMG: + hv.puncture_damage=buff.value + break + case BuffAttr.WFUNY: + hv.wfuny=buff.value + break + case BuffAttr.ATK_CD: + hv.cd=hv.cd*(100-buff.value)/100 + break + case BuffAttr.HP: + hv.hp_max=hv.hp_max*(100+buff.value)/100 + break + case BuffAttr.DEF: + hv.def=buff.value + break + case BuffAttr.ATK: + hv.ap=hv.ap*(100+buff.value)/100 + break + } + }) this.add(hv); } diff --git a/assets/script/game/map/CardComp.ts b/assets/script/game/map/CardComp.ts index ebf3400b..509856f5 100644 --- a/assets/script/game/map/CardComp.ts +++ b/assets/script/game/map/CardComp.ts @@ -25,6 +25,7 @@ export class CardComp extends CCComp { cost_gold:number=0; skill_slot:string="skill1" equip_slot:string="weapon" + is_master:boolean=false; onLoad(){ // this.on(GameEvent.HeroSelect,this.hero_select,this) } @@ -37,11 +38,13 @@ export class CardComp extends CCComp { this.node.getChildByName("Button").active=false this.node.getChildByName("show").active=false } - hero_select(args: any){ + hero_select(args: any,is_master:boolean=false){ + console.log("[cardcomp]:card hero_select",args,is_master) this.c_type=cardType.HERO this.c_uuid=args.uuid console.log("[cardcomp]:card hero_select c_uuid:"+this.c_uuid) - this.show_hero(this.c_uuid) + this.is_master=is_master + this.show_hero(this.c_uuid,is_master) this.node.getChildByName("show").active=false this.node.getChildByName("anim").getChildByName("up").getComponent(Animation).play('carsup') this.scheduleOnce(() => { @@ -113,7 +116,7 @@ export class CardComp extends CCComp { show.getChildByName("info").getComponent(Label).string=SkillSet[uuid].info } - show_hero(uuid:number){ + show_hero(uuid:number,is_master:boolean=false){ let show=this.node.getChildByName("show") show.getChildByName("name").getChildByName("name").getComponent(Label).string=HeroInfo[uuid].name this.do_card_bg_show(HeroInfo[uuid].quality) @@ -274,7 +277,7 @@ export class CardComp extends CCComp { use_card(){ switch(this.c_type){ case cardType.HERO: - oops.message.dispatchEvent(GameEvent.UseHeroCard,{uuid:this.c_uuid}) + oops.message.dispatchEvent(GameEvent.UseHeroCard,{uuid:this.c_uuid,is_master:this.is_master}) oops.message.dispatchEvent(GameEvent.CardsClose) break case cardType.SKILL: diff --git a/assets/script/game/map/CardsComp.ts b/assets/script/game/map/CardsComp.ts index 4ff1b4f8..6fdc08eb 100644 --- a/assets/script/game/map/CardsComp.ts +++ b/assets/script/game/map/CardsComp.ts @@ -55,12 +55,51 @@ export class CardsCompComp extends CCComp { } - hero_select(){ - let list=getRandomCardsByType(cardType.HERO,3) + + show_cards(e:GameEvent,data:any,is_refresh:boolean=false){ + this.node.getChildByName("btns").getChildByName("cancel").active=false + switch(e){ + case GameEvent.HeroSelect: + console.log("[CardsComp]:显示英雄选择卡牌",data) + let title="选择伙伴" + if(data.is_master) title="选择英雄" + this.node.getChildByName("top").getChildByName("title").getChildByName("Label").getComponent(Label).string=title + this.hero_select(data) + break + case GameEvent.HeroSkillSelect: + console.log("[CardsComp]:显示技能选择卡牌") + this.node.getChildByName("top").getChildByName("title").getChildByName("Label").getComponent(Label).string="选择技能" + this.hero_skill_select(data) + break + case GameEvent.FuncSelect: + console.log("[CardsComp]:显示功能卡牌") + this.node.getChildByName("btns").getChildByName("cancel").active=true + this.node.getChildByName("top").getChildByName("title").getChildByName("Label").getComponent(Label).string="选择卡牌" + this.func_select() + break + case GameEvent.EquipSelect: + console.log("[CardsComp]:显示装备选择卡牌") + this.node.getChildByName("btns").getChildByName("cancel").active=true + this.node.getChildByName("top").getChildByName("title").getChildByName("Label").getComponent(Label).string="选择装备" + this.equip_select(data) + break + } + + if(!is_refresh) this.show() + + } + + hero_select(data:any){ + let list=[] + if(data.is_master){ //1是主将,0 是伙伴 + list=getRandomCardsByType(cardType.HERO,3,1) + }else{ + list=getRandomCardsByType(cardType.HERO,3,0) + } console.log("[CardsComp]:英雄选择卡牌列表",list) - this.card1c.hero_select(list[0]) - this.card2c.hero_select(list[1]) - this.card3c.hero_select(list[2]) + this.card1c.hero_select(list[0],data.is_master) + this.card2c.hero_select(list[1],data.is_master) + this.card3c.hero_select(list[2],data.is_master) // this.card4c.hero_select(list[3]) } @@ -125,32 +164,7 @@ export class CardsCompComp extends CCComp { this.show_cards(nextCard.type, nextCard.data); } - show_cards(e:GameEvent,data:any,is_refresh:boolean=false){ - this.node.getChildByName("btns").getChildByName("cancel").active=false - switch(e){ - case GameEvent.HeroSelect: - console.log("[CardsComp]:显示英雄选择卡牌") - this.hero_select() - break - case GameEvent.HeroSkillSelect: - console.log("[CardsComp]:显示技能选择卡牌") - this.hero_skill_select(data) - break - case GameEvent.FuncSelect: - console.log("[CardsComp]:显示功能卡牌") - this.node.getChildByName("btns").getChildByName("cancel").active=true - this.func_select() - break - case GameEvent.EquipSelect: - console.log("[CardsComp]:显示装备选择卡牌") - this.node.getChildByName("btns").getChildByName("cancel").active=true - this.equip_select(data) - break - } - - if(!is_refresh) this.show() - - } + close_cards(e:GameEvent,data:any){ switch(e){ case GameEvent.HeroSelect: diff --git a/assets/script/game/map/MissionComp.ts b/assets/script/game/map/MissionComp.ts index 81992a2e..57af8e12 100644 --- a/assets/script/game/map/MissionComp.ts +++ b/assets/script/game/map/MissionComp.ts @@ -63,22 +63,21 @@ export class MissionComp extends CCComp { oops.message.dispatchEvent(GameEvent.FightReady) this.node.active=true this.data_init() - this.hart_hero_load() + // this.hart_hero_load() let loading=this.node.parent.getChildByName("loading") loading.active=true this.scheduleOnce(()=>{ - this.to_ready() - this.to_fight() loading.active=false },0.5) + this.to_ready() + this.to_fight() } to_ready(){ - console.log("英雄技能选择") - // oops.message.dispatchEvent(GameEvent.HeroSkillSelect) + oops.message.dispatchEvent(GameEvent.HeroSelect,{is_master:true}) } to_call_friend(){ - oops.message.dispatchEvent(GameEvent.HeroSelect) + oops.message.dispatchEvent(GameEvent.HeroSelect,{is_master:false}) } to_fight(){ @@ -145,7 +144,7 @@ export class MissionComp extends CCComp { } call_friend_card(){ - oops.message.dispatchEvent(GameEvent.HeroSelect) + oops.message.dispatchEvent(GameEvent.HeroSelect,{is_master:false}) } diff --git a/assets/script/game/map/MissionHeroComp.ts b/assets/script/game/map/MissionHeroComp.ts index dbf10dd0..4b2a44ae 100644 --- a/assets/script/game/map/MissionHeroComp.ts +++ b/assets/script/game/map/MissionHeroComp.ts @@ -52,22 +52,30 @@ export class MissionHeroCompComp extends CCComp { } - private call_friend(event: string, args: any,freind_pos:number=1){ - console.log("[MissionHeroComp]:call_hero addHero",args.uuid) + private call_friend(event: string, args: any,is_master:boolean=false){ + console.log("[MissionHeroComp]:call_hero addHero",args.uuid,is_master) + let hero_pos=1 + if(is_master){ + hero_pos=0 + } let info:any={ap:0,hp:0,lv:0} let hero = ecs.getEntity(Hero); let scale = 1 let heros=ecs.query(ecs.allOf(HeroViewComp)) for(let hero of heros){ let hv = hero.get(HeroViewComp) - if(hv.fight_pos==freind_pos){ - freind_pos=2 + if(hv.fight_pos==hero_pos){ + hero_pos=2 break } } console.log("[MissionHeroComp]:call_friend",heros) - let pos:Vec3 = HeroPos[freind_pos].pos; - hero.load(pos,scale,args.uuid,info,freind_pos); + let pos:Vec3 = HeroPos[hero_pos].pos; + if(is_master){ + hero.hart_load(args.uuid) + }else{ + hero.load(pos,scale,args.uuid,info,hero_pos); + } } @@ -123,17 +131,25 @@ export class MissionHeroCompComp extends CCComp { // let x=RandomManager.instance.getRandomInt(0,hero_list.length,1) // // let uuid=args.uuid // // console.log("call_hero",uuid) - this.addHero(args.uuid) + this.addHero(args.uuid,args.is_master) } /** 添加英雄 */ - private addHero(uuid:number=1001,freind_pos:number=1) { - let info:any=this.get_info_and_remove(freind_pos,uuid) + private addHero(uuid:number=1001,is_master:boolean=false) { + let hero_pos=1 + if(is_master){ + hero_pos=0 + } + let info:any=this.get_info_and_remove(hero_pos,uuid) // let info:any={ap:0,hp:0,lv:0} let hero = ecs.getEntity(Hero); let scale = 1 - let pos:Vec3 = HeroPos[freind_pos].pos; - hero.load(pos,scale,uuid,info,freind_pos); + let pos:Vec3 = HeroPos[hero_pos].pos; + if(is_master){ + hero.hart_load(uuid) + }else{ + hero.load(pos,scale,uuid,info,hero_pos); + } } get_info_and_remove(fight_pos:number,uuid:number){ diff --git a/assets/script/game/skills/Skill.ts b/assets/script/game/skills/Skill.ts index 7d11b82f..4b369727 100644 --- a/assets/script/game/skills/Skill.ts +++ b/assets/script/game/skills/Skill.ts @@ -1,6 +1,6 @@ import { oops } from "../../../../extensions/oops-plugin-framework/assets/core/Oops"; import { ecs } from "../../../../extensions/oops-plugin-framework/assets/libs/ecs/ECS"; -import { BoxSet } from "../common/config/BoxSet"; +import { BoxSet, FacSet } from "../common/config/BoxSet"; import { SkillSet } from "../common/config/SkillSet"; import { smc } from "../common/SingletonModuleComp"; import { HeroViewComp } from "../hero/HeroViewComp"; @@ -58,6 +58,9 @@ export class Skill extends ecs.Entity { // 设置节点属性 node.parent = parent; node.setPosition(startPos); + if(caster.fac==FacSet.MON){ + node.scale=v3(node.scale.x*-1,1,1) + } node.angle+=angle // 添加技能组件 const SComp = node.getComponent(SkillCom); // 初始化技能参数 @@ -97,6 +100,7 @@ export class Skill extends ecs.Entity { prefabName: config.sp_name, group: caster.box_group, fac: caster.fac, + scale: caster.scale, animName: config.animName }); diff --git a/assets/script/game/skills/SkillCom.ts b/assets/script/game/skills/SkillCom.ts index 49125925..fa6b5a8b 100644 --- a/assets/script/game/skills/SkillCom.ts +++ b/assets/script/game/skills/SkillCom.ts @@ -88,19 +88,6 @@ export class SkillCom extends CCComp { if(this.group==BoxSet.MONSTER) bm.controlPointSide=-1 bm.moveTo(this.targetPos) break; - case AType.linear: - // this.distance_x=SkillSet[this.s_uuid].in*this.speed - // this.t_end_x =400 - // if(this.group==BoxSet.MONSTER){ - // this.t_end_x=-400 - // this.node.scale=v3(this.node.scale.x*-1,1,1) - // } - // this.tweenInstance = tween(this.node).to(SkillSet[this.s_uuid].in, { position:v3(this.t_end_x,this.node.position.y,0)},{ - // onComplete: (target?: object) => { - // // this.node.setPosition(tx,this.node.position.y-300,0) - // } - // }).start() - break; case AType.fixedStart: break; @@ -126,7 +113,6 @@ export class SkillCom extends CCComp { } - onAnimationFinished(){ if(SkillSet[this.s_uuid].EType==EType.timeEnd) return this.is_destroy=true @@ -146,12 +132,11 @@ export class SkillCom extends CCComp { } //单体伤害 single_damage(target:HeroViewComp){ - this.hit_count++ - console.log("[SkillCom]:onBeginContact hit_count:",this.hit_count,SkillSet[this.s_uuid].hit) - if(this.hit_count>=(SkillSet[this.s_uuid].hit+this.puncture)) this.is_destroy=true // 技能命中次数 - if(target == null) return; + // console.log("[SkillCom]:onBeginContact hit_count:",this.hit_count,SkillSet[this.s_uuid].hit) if(this.hit_count > 0) this.ap=this.ap*(50+this.puncture_damage)/100 // 穿刺后 伤害减半 + if(target == null) return; target.do_atked(this.ap,this.caster_crit,this.caster_crit_d) // ap 及暴击 属性已经在skill.ts 处理 + console.log("[SkillCom]:single_damage",this.ap,this.caster_crit,this.caster_crit_d) if(SkillSet[this.s_uuid].debuff>0){ let deUP =this.get_debuff() // 因为不是每个技能都需要,debuff的增益在这里处理, ap 及暴击 属性已经在skill.ts 处理 let debuff=SkillSet[this.s_uuid] @@ -162,6 +147,8 @@ export class SkillCom extends CCComp { console.log("[SkillCom]:debuff",SkillSet[this.s_uuid].name,debuff.debuff,deUP.deV,deUP.deC) target.add_debuff(debuff.debuff,dev,deC,deR) } + this.hit_count++ + if(this.hit_count>=(SkillSet[this.s_uuid].hit+this.puncture)) this.is_destroy=true // 技能命中次数 } onBeginContact (seCol: Collider2D, oCol: Collider2D) { @@ -188,9 +175,11 @@ export class SkillCom extends CCComp { private startLinearMove(dt: number) { if (!this.speed || this.is_destroy) return; - + if(this.s_uuid == 6005){ + console.log("[SkillCom]:startLinearMove",this.node.position.x) + } // 使用角度方向移动 - const newX = this.node.position.x + this.speed * dt; + const newX = this.node.position.x + this.speed * dt*this.scale; const newY = this.node.position.y; this.node.setPosition(newX, this.node.position.y, this.node.position.z); diff --git a/assets/script/todo.md b/assets/script/todo.md index 7f957606..83a3cf97 100644 --- a/assets/script/todo.md +++ b/assets/script/todo.md @@ -46,6 +46,10 @@ - [ ] 伙伴特殊技能设定 - [ ] 关卡设定 - [ ] 添加玩家自主 激活额外boss 按钮,额外boss 有特殊事件 +- [ ] 基础武器和装备已经完成,等后续再添加 如: 经验增益等 特殊紫色装备,绿色和蓝色装备不再添加 +- [ ] 完善技能系统 +- [ ] 添加评分系统,在游戏中突出显示 达成某种条件触发大幅打分的动画 +- [ ] 添加多主英雄, 初始 剑 刀 斧 锤专精 英雄 后期逐步增加特殊英雄 波数 升级 获取装备的等级 @@ -64,7 +68,6 @@ buff 主要靠装备,临时buff尽量减少 | 品质 | 攻击基础值 | 品质系数 | 独有特效 | 成长潜力 | |------|------------|----------|------------------------|----------| -| ​**白**​ | 80% | 0% | 无 | ★☆☆ | | ​**绿**​ | 85% | +5% | 低阶特效(减速5%) | ★★☆ | | ​**蓝**​ | 90% | +15% | 中阶特效(溅射10%) | ★★★ | | ​**紫**​ | 95% | +30% | 高阶特效(吸血15%) | ★★★★ | @@ -81,7 +84,7 @@ buff 主要靠装备,临时buff尽量减少 | ​**2级**​ | +10% | +10%基础值 | 特效强度+20% | 10/15/25/40* | | ​**3级**​ | +21% | +21%基础值 | 特效强度+42% | 20/30/50/80* | -`*成本顺序:白/绿/蓝/紫装` +`*成本顺序:绿/蓝/紫装` > ✅ 升级核心规则: > 1. 升级**同时强化基础属性与特效**​ > 2. 高品质装备升级收益**更高**​