@gbraver-burst-network/browser-sdk 1.11.0 → 1.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE.txt +7 -0
- package/Readme.md +3 -0
- package/lib/src/response/battle-end.d.ts +238 -0
- package/lib/src/response/battle-progressed.d.ts +238 -0
- package/lib/src/response/battle-start.d.ts +256 -0
- package/package.json +14 -16
- package/lib/src/response/error.d.ts +0 -14
- package/lib/src/response/error.js +0 -21
- package/lib/test/src/response/parse-error.test.d.ts +0 -1
- package/lib/test/src/response/parse-error.test.js +0 -36
package/LICENSE.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
Copyright 2024 Y.Takeuchi
|
|
2
|
+
|
|
3
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
4
|
+
|
|
5
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
6
|
+
|
|
7
|
+
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
package/Readme.md
CHANGED
|
@@ -23,12 +23,15 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
23
23
|
recoverBattery: z.ZodNumber;
|
|
24
24
|
}, {
|
|
25
25
|
type: z.ZodLiteral<"RecoverBattery">;
|
|
26
|
+
turnStartBatteryCorrect: z.ZodNumber;
|
|
26
27
|
}>, "strip", z.ZodTypeAny, {
|
|
27
28
|
type: "RecoverBattery";
|
|
28
29
|
recoverBattery: number;
|
|
30
|
+
turnStartBatteryCorrect: number;
|
|
29
31
|
}, {
|
|
30
32
|
type: "RecoverBattery";
|
|
31
33
|
recoverBattery: number;
|
|
34
|
+
turnStartBatteryCorrect: number;
|
|
32
35
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
33
36
|
recoverBattery: z.ZodNumber;
|
|
34
37
|
}, {
|
|
@@ -386,6 +389,43 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
386
389
|
type: "TurnLimit";
|
|
387
390
|
remainingTurn: number;
|
|
388
391
|
};
|
|
392
|
+
}>, z.ZodObject<{
|
|
393
|
+
type: z.ZodLiteral<"TurnStartBatteryCorrect">;
|
|
394
|
+
correctBattery: z.ZodNumber;
|
|
395
|
+
period: z.ZodUnion<[z.ZodObject<{
|
|
396
|
+
type: z.ZodLiteral<"TurnLimit">;
|
|
397
|
+
remainingTurn: z.ZodNumber;
|
|
398
|
+
}, "strip", z.ZodTypeAny, {
|
|
399
|
+
type: "TurnLimit";
|
|
400
|
+
remainingTurn: number;
|
|
401
|
+
}, {
|
|
402
|
+
type: "TurnLimit";
|
|
403
|
+
remainingTurn: number;
|
|
404
|
+
}>, z.ZodObject<{
|
|
405
|
+
type: z.ZodLiteral<"SpecialPeriod">;
|
|
406
|
+
}, "strip", z.ZodTypeAny, {
|
|
407
|
+
type: "SpecialPeriod";
|
|
408
|
+
}, {
|
|
409
|
+
type: "SpecialPeriod";
|
|
410
|
+
}>]>;
|
|
411
|
+
}, "strip", z.ZodTypeAny, {
|
|
412
|
+
type: "TurnStartBatteryCorrect";
|
|
413
|
+
period: {
|
|
414
|
+
type: "SpecialPeriod";
|
|
415
|
+
} | {
|
|
416
|
+
type: "TurnLimit";
|
|
417
|
+
remainingTurn: number;
|
|
418
|
+
};
|
|
419
|
+
correctBattery: number;
|
|
420
|
+
}, {
|
|
421
|
+
type: "TurnStartBatteryCorrect";
|
|
422
|
+
period: {
|
|
423
|
+
type: "SpecialPeriod";
|
|
424
|
+
} | {
|
|
425
|
+
type: "TurnLimit";
|
|
426
|
+
remainingTurn: number;
|
|
427
|
+
};
|
|
428
|
+
correctBattery: number;
|
|
389
429
|
}>]>, "many">;
|
|
390
430
|
}>, "strip", z.ZodTypeAny, {
|
|
391
431
|
battery: number;
|
|
@@ -419,6 +459,7 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
419
459
|
} | {
|
|
420
460
|
type: "RecoverBattery";
|
|
421
461
|
recoverBattery: number;
|
|
462
|
+
turnStartBatteryCorrect: number;
|
|
422
463
|
};
|
|
423
464
|
hp: number;
|
|
424
465
|
enableBurst: boolean;
|
|
@@ -490,6 +531,15 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
490
531
|
};
|
|
491
532
|
damage: number;
|
|
492
533
|
effect: "Lightning";
|
|
534
|
+
} | {
|
|
535
|
+
type: "TurnStartBatteryCorrect";
|
|
536
|
+
period: {
|
|
537
|
+
type: "SpecialPeriod";
|
|
538
|
+
} | {
|
|
539
|
+
type: "TurnLimit";
|
|
540
|
+
remainingTurn: number;
|
|
541
|
+
};
|
|
542
|
+
correctBattery: number;
|
|
493
543
|
})[];
|
|
494
544
|
}, {
|
|
495
545
|
battery: number;
|
|
@@ -523,6 +573,7 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
523
573
|
} | {
|
|
524
574
|
type: "RecoverBattery";
|
|
525
575
|
recoverBattery: number;
|
|
576
|
+
turnStartBatteryCorrect: number;
|
|
526
577
|
};
|
|
527
578
|
hp: number;
|
|
528
579
|
enableBurst: boolean;
|
|
@@ -594,6 +645,15 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
594
645
|
};
|
|
595
646
|
damage: number;
|
|
596
647
|
effect: "Lightning";
|
|
648
|
+
} | {
|
|
649
|
+
type: "TurnStartBatteryCorrect";
|
|
650
|
+
period: {
|
|
651
|
+
type: "SpecialPeriod";
|
|
652
|
+
} | {
|
|
653
|
+
type: "TurnLimit";
|
|
654
|
+
remainingTurn: number;
|
|
655
|
+
};
|
|
656
|
+
correctBattery: number;
|
|
597
657
|
})[];
|
|
598
658
|
}>;
|
|
599
659
|
pilot: z.ZodObject<z.objectUtil.extendShape<{
|
|
@@ -732,6 +792,7 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
732
792
|
} | {
|
|
733
793
|
type: "RecoverBattery";
|
|
734
794
|
recoverBattery: number;
|
|
795
|
+
turnStartBatteryCorrect: number;
|
|
735
796
|
};
|
|
736
797
|
hp: number;
|
|
737
798
|
enableBurst: boolean;
|
|
@@ -803,6 +864,15 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
803
864
|
};
|
|
804
865
|
damage: number;
|
|
805
866
|
effect: "Lightning";
|
|
867
|
+
} | {
|
|
868
|
+
type: "TurnStartBatteryCorrect";
|
|
869
|
+
period: {
|
|
870
|
+
type: "SpecialPeriod";
|
|
871
|
+
} | {
|
|
872
|
+
type: "TurnLimit";
|
|
873
|
+
remainingTurn: number;
|
|
874
|
+
};
|
|
875
|
+
correctBattery: number;
|
|
806
876
|
})[];
|
|
807
877
|
};
|
|
808
878
|
pilot: {
|
|
@@ -862,6 +932,7 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
862
932
|
} | {
|
|
863
933
|
type: "RecoverBattery";
|
|
864
934
|
recoverBattery: number;
|
|
935
|
+
turnStartBatteryCorrect: number;
|
|
865
936
|
};
|
|
866
937
|
hp: number;
|
|
867
938
|
enableBurst: boolean;
|
|
@@ -933,6 +1004,15 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
933
1004
|
};
|
|
934
1005
|
damage: number;
|
|
935
1006
|
effect: "Lightning";
|
|
1007
|
+
} | {
|
|
1008
|
+
type: "TurnStartBatteryCorrect";
|
|
1009
|
+
period: {
|
|
1010
|
+
type: "SpecialPeriod";
|
|
1011
|
+
} | {
|
|
1012
|
+
type: "TurnLimit";
|
|
1013
|
+
remainingTurn: number;
|
|
1014
|
+
};
|
|
1015
|
+
correctBattery: number;
|
|
936
1016
|
})[];
|
|
937
1017
|
};
|
|
938
1018
|
pilot: {
|
|
@@ -1313,12 +1393,15 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
1313
1393
|
recoverBattery: z.ZodNumber;
|
|
1314
1394
|
}, {
|
|
1315
1395
|
type: z.ZodLiteral<"RecoverBattery">;
|
|
1396
|
+
turnStartBatteryCorrect: z.ZodNumber;
|
|
1316
1397
|
}>, "strip", z.ZodTypeAny, {
|
|
1317
1398
|
type: "RecoverBattery";
|
|
1318
1399
|
recoverBattery: number;
|
|
1400
|
+
turnStartBatteryCorrect: number;
|
|
1319
1401
|
}, {
|
|
1320
1402
|
type: "RecoverBattery";
|
|
1321
1403
|
recoverBattery: number;
|
|
1404
|
+
turnStartBatteryCorrect: number;
|
|
1322
1405
|
}>, z.ZodObject<z.objectUtil.extendShape<{
|
|
1323
1406
|
recoverBattery: z.ZodNumber;
|
|
1324
1407
|
}, {
|
|
@@ -1414,6 +1497,7 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
1414
1497
|
} | {
|
|
1415
1498
|
type: "RecoverBattery";
|
|
1416
1499
|
recoverBattery: number;
|
|
1500
|
+
turnStartBatteryCorrect: number;
|
|
1417
1501
|
};
|
|
1418
1502
|
burstPlayer: string;
|
|
1419
1503
|
}, {
|
|
@@ -1442,6 +1526,7 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
1442
1526
|
} | {
|
|
1443
1527
|
type: "RecoverBattery";
|
|
1444
1528
|
recoverBattery: number;
|
|
1529
|
+
turnStartBatteryCorrect: number;
|
|
1445
1530
|
};
|
|
1446
1531
|
burstPlayer: string;
|
|
1447
1532
|
}>, z.ZodObject<{
|
|
@@ -1732,6 +1817,43 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
1732
1817
|
type: "TurnLimit";
|
|
1733
1818
|
remainingTurn: number;
|
|
1734
1819
|
};
|
|
1820
|
+
}>, z.ZodObject<{
|
|
1821
|
+
type: z.ZodLiteral<"TurnStartBatteryCorrect">;
|
|
1822
|
+
correctBattery: z.ZodNumber;
|
|
1823
|
+
period: z.ZodUnion<[z.ZodObject<{
|
|
1824
|
+
type: z.ZodLiteral<"TurnLimit">;
|
|
1825
|
+
remainingTurn: z.ZodNumber;
|
|
1826
|
+
}, "strip", z.ZodTypeAny, {
|
|
1827
|
+
type: "TurnLimit";
|
|
1828
|
+
remainingTurn: number;
|
|
1829
|
+
}, {
|
|
1830
|
+
type: "TurnLimit";
|
|
1831
|
+
remainingTurn: number;
|
|
1832
|
+
}>, z.ZodObject<{
|
|
1833
|
+
type: z.ZodLiteral<"SpecialPeriod">;
|
|
1834
|
+
}, "strip", z.ZodTypeAny, {
|
|
1835
|
+
type: "SpecialPeriod";
|
|
1836
|
+
}, {
|
|
1837
|
+
type: "SpecialPeriod";
|
|
1838
|
+
}>]>;
|
|
1839
|
+
}, "strip", z.ZodTypeAny, {
|
|
1840
|
+
type: "TurnStartBatteryCorrect";
|
|
1841
|
+
period: {
|
|
1842
|
+
type: "SpecialPeriod";
|
|
1843
|
+
} | {
|
|
1844
|
+
type: "TurnLimit";
|
|
1845
|
+
remainingTurn: number;
|
|
1846
|
+
};
|
|
1847
|
+
correctBattery: number;
|
|
1848
|
+
}, {
|
|
1849
|
+
type: "TurnStartBatteryCorrect";
|
|
1850
|
+
period: {
|
|
1851
|
+
type: "SpecialPeriod";
|
|
1852
|
+
} | {
|
|
1853
|
+
type: "TurnLimit";
|
|
1854
|
+
remainingTurn: number;
|
|
1855
|
+
};
|
|
1856
|
+
correctBattery: number;
|
|
1735
1857
|
}>]>;
|
|
1736
1858
|
}, "strip", z.ZodTypeAny, {
|
|
1737
1859
|
effect: {
|
|
@@ -1802,6 +1924,15 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
1802
1924
|
};
|
|
1803
1925
|
damage: number;
|
|
1804
1926
|
effect: "Lightning";
|
|
1927
|
+
} | {
|
|
1928
|
+
type: "TurnStartBatteryCorrect";
|
|
1929
|
+
period: {
|
|
1930
|
+
type: "SpecialPeriod";
|
|
1931
|
+
} | {
|
|
1932
|
+
type: "TurnLimit";
|
|
1933
|
+
remainingTurn: number;
|
|
1934
|
+
};
|
|
1935
|
+
correctBattery: number;
|
|
1805
1936
|
};
|
|
1806
1937
|
playerId: string;
|
|
1807
1938
|
}, {
|
|
@@ -1873,6 +2004,15 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
1873
2004
|
};
|
|
1874
2005
|
damage: number;
|
|
1875
2006
|
effect: "Lightning";
|
|
2007
|
+
} | {
|
|
2008
|
+
type: "TurnStartBatteryCorrect";
|
|
2009
|
+
period: {
|
|
2010
|
+
type: "SpecialPeriod";
|
|
2011
|
+
} | {
|
|
2012
|
+
type: "TurnLimit";
|
|
2013
|
+
remainingTurn: number;
|
|
2014
|
+
};
|
|
2015
|
+
correctBattery: number;
|
|
1876
2016
|
};
|
|
1877
2017
|
playerId: string;
|
|
1878
2018
|
}>, "many">;
|
|
@@ -1947,6 +2087,15 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
1947
2087
|
};
|
|
1948
2088
|
damage: number;
|
|
1949
2089
|
effect: "Lightning";
|
|
2090
|
+
} | {
|
|
2091
|
+
type: "TurnStartBatteryCorrect";
|
|
2092
|
+
period: {
|
|
2093
|
+
type: "SpecialPeriod";
|
|
2094
|
+
} | {
|
|
2095
|
+
type: "TurnLimit";
|
|
2096
|
+
remainingTurn: number;
|
|
2097
|
+
};
|
|
2098
|
+
correctBattery: number;
|
|
1950
2099
|
};
|
|
1951
2100
|
playerId: string;
|
|
1952
2101
|
}[];
|
|
@@ -2021,6 +2170,15 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
2021
2170
|
};
|
|
2022
2171
|
damage: number;
|
|
2023
2172
|
effect: "Lightning";
|
|
2173
|
+
} | {
|
|
2174
|
+
type: "TurnStartBatteryCorrect";
|
|
2175
|
+
period: {
|
|
2176
|
+
type: "SpecialPeriod";
|
|
2177
|
+
} | {
|
|
2178
|
+
type: "TurnLimit";
|
|
2179
|
+
remainingTurn: number;
|
|
2180
|
+
};
|
|
2181
|
+
correctBattery: number;
|
|
2024
2182
|
};
|
|
2025
2183
|
playerId: string;
|
|
2026
2184
|
}[];
|
|
@@ -2257,6 +2415,7 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
2257
2415
|
} | {
|
|
2258
2416
|
type: "RecoverBattery";
|
|
2259
2417
|
recoverBattery: number;
|
|
2418
|
+
turnStartBatteryCorrect: number;
|
|
2260
2419
|
};
|
|
2261
2420
|
burstPlayer: string;
|
|
2262
2421
|
} | {
|
|
@@ -2417,6 +2576,15 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
2417
2576
|
};
|
|
2418
2577
|
damage: number;
|
|
2419
2578
|
effect: "Lightning";
|
|
2579
|
+
} | {
|
|
2580
|
+
type: "TurnStartBatteryCorrect";
|
|
2581
|
+
period: {
|
|
2582
|
+
type: "SpecialPeriod";
|
|
2583
|
+
} | {
|
|
2584
|
+
type: "TurnLimit";
|
|
2585
|
+
remainingTurn: number;
|
|
2586
|
+
};
|
|
2587
|
+
correctBattery: number;
|
|
2420
2588
|
};
|
|
2421
2589
|
playerId: string;
|
|
2422
2590
|
}[];
|
|
@@ -2455,6 +2623,7 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
2455
2623
|
} | {
|
|
2456
2624
|
type: "RecoverBattery";
|
|
2457
2625
|
recoverBattery: number;
|
|
2626
|
+
turnStartBatteryCorrect: number;
|
|
2458
2627
|
};
|
|
2459
2628
|
hp: number;
|
|
2460
2629
|
enableBurst: boolean;
|
|
@@ -2526,6 +2695,15 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
2526
2695
|
};
|
|
2527
2696
|
damage: number;
|
|
2528
2697
|
effect: "Lightning";
|
|
2698
|
+
} | {
|
|
2699
|
+
type: "TurnStartBatteryCorrect";
|
|
2700
|
+
period: {
|
|
2701
|
+
type: "SpecialPeriod";
|
|
2702
|
+
} | {
|
|
2703
|
+
type: "TurnLimit";
|
|
2704
|
+
remainingTurn: number;
|
|
2705
|
+
};
|
|
2706
|
+
correctBattery: number;
|
|
2529
2707
|
})[];
|
|
2530
2708
|
};
|
|
2531
2709
|
pilot: {
|
|
@@ -2606,6 +2784,7 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
2606
2784
|
} | {
|
|
2607
2785
|
type: "RecoverBattery";
|
|
2608
2786
|
recoverBattery: number;
|
|
2787
|
+
turnStartBatteryCorrect: number;
|
|
2609
2788
|
};
|
|
2610
2789
|
burstPlayer: string;
|
|
2611
2790
|
} | {
|
|
@@ -2766,6 +2945,15 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
2766
2945
|
};
|
|
2767
2946
|
damage: number;
|
|
2768
2947
|
effect: "Lightning";
|
|
2948
|
+
} | {
|
|
2949
|
+
type: "TurnStartBatteryCorrect";
|
|
2950
|
+
period: {
|
|
2951
|
+
type: "SpecialPeriod";
|
|
2952
|
+
} | {
|
|
2953
|
+
type: "TurnLimit";
|
|
2954
|
+
remainingTurn: number;
|
|
2955
|
+
};
|
|
2956
|
+
correctBattery: number;
|
|
2769
2957
|
};
|
|
2770
2958
|
playerId: string;
|
|
2771
2959
|
}[];
|
|
@@ -2804,6 +2992,7 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
2804
2992
|
} | {
|
|
2805
2993
|
type: "RecoverBattery";
|
|
2806
2994
|
recoverBattery: number;
|
|
2995
|
+
turnStartBatteryCorrect: number;
|
|
2807
2996
|
};
|
|
2808
2997
|
hp: number;
|
|
2809
2998
|
enableBurst: boolean;
|
|
@@ -2875,6 +3064,15 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
2875
3064
|
};
|
|
2876
3065
|
damage: number;
|
|
2877
3066
|
effect: "Lightning";
|
|
3067
|
+
} | {
|
|
3068
|
+
type: "TurnStartBatteryCorrect";
|
|
3069
|
+
period: {
|
|
3070
|
+
type: "SpecialPeriod";
|
|
3071
|
+
} | {
|
|
3072
|
+
type: "TurnLimit";
|
|
3073
|
+
remainingTurn: number;
|
|
3074
|
+
};
|
|
3075
|
+
correctBattery: number;
|
|
2878
3076
|
})[];
|
|
2879
3077
|
};
|
|
2880
3078
|
pilot: {
|
|
@@ -2958,6 +3156,7 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
2958
3156
|
} | {
|
|
2959
3157
|
type: "RecoverBattery";
|
|
2960
3158
|
recoverBattery: number;
|
|
3159
|
+
turnStartBatteryCorrect: number;
|
|
2961
3160
|
};
|
|
2962
3161
|
burstPlayer: string;
|
|
2963
3162
|
} | {
|
|
@@ -3118,6 +3317,15 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
3118
3317
|
};
|
|
3119
3318
|
damage: number;
|
|
3120
3319
|
effect: "Lightning";
|
|
3320
|
+
} | {
|
|
3321
|
+
type: "TurnStartBatteryCorrect";
|
|
3322
|
+
period: {
|
|
3323
|
+
type: "SpecialPeriod";
|
|
3324
|
+
} | {
|
|
3325
|
+
type: "TurnLimit";
|
|
3326
|
+
remainingTurn: number;
|
|
3327
|
+
};
|
|
3328
|
+
correctBattery: number;
|
|
3121
3329
|
};
|
|
3122
3330
|
playerId: string;
|
|
3123
3331
|
}[];
|
|
@@ -3156,6 +3364,7 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
3156
3364
|
} | {
|
|
3157
3365
|
type: "RecoverBattery";
|
|
3158
3366
|
recoverBattery: number;
|
|
3367
|
+
turnStartBatteryCorrect: number;
|
|
3159
3368
|
};
|
|
3160
3369
|
hp: number;
|
|
3161
3370
|
enableBurst: boolean;
|
|
@@ -3227,6 +3436,15 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
3227
3436
|
};
|
|
3228
3437
|
damage: number;
|
|
3229
3438
|
effect: "Lightning";
|
|
3439
|
+
} | {
|
|
3440
|
+
type: "TurnStartBatteryCorrect";
|
|
3441
|
+
period: {
|
|
3442
|
+
type: "SpecialPeriod";
|
|
3443
|
+
} | {
|
|
3444
|
+
type: "TurnLimit";
|
|
3445
|
+
remainingTurn: number;
|
|
3446
|
+
};
|
|
3447
|
+
correctBattery: number;
|
|
3230
3448
|
})[];
|
|
3231
3449
|
};
|
|
3232
3450
|
pilot: {
|
|
@@ -3310,6 +3528,7 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
3310
3528
|
} | {
|
|
3311
3529
|
type: "RecoverBattery";
|
|
3312
3530
|
recoverBattery: number;
|
|
3531
|
+
turnStartBatteryCorrect: number;
|
|
3313
3532
|
};
|
|
3314
3533
|
burstPlayer: string;
|
|
3315
3534
|
} | {
|
|
@@ -3470,6 +3689,15 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
3470
3689
|
};
|
|
3471
3690
|
damage: number;
|
|
3472
3691
|
effect: "Lightning";
|
|
3692
|
+
} | {
|
|
3693
|
+
type: "TurnStartBatteryCorrect";
|
|
3694
|
+
period: {
|
|
3695
|
+
type: "SpecialPeriod";
|
|
3696
|
+
} | {
|
|
3697
|
+
type: "TurnLimit";
|
|
3698
|
+
remainingTurn: number;
|
|
3699
|
+
};
|
|
3700
|
+
correctBattery: number;
|
|
3473
3701
|
};
|
|
3474
3702
|
playerId: string;
|
|
3475
3703
|
}[];
|
|
@@ -3508,6 +3736,7 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
3508
3736
|
} | {
|
|
3509
3737
|
type: "RecoverBattery";
|
|
3510
3738
|
recoverBattery: number;
|
|
3739
|
+
turnStartBatteryCorrect: number;
|
|
3511
3740
|
};
|
|
3512
3741
|
hp: number;
|
|
3513
3742
|
enableBurst: boolean;
|
|
@@ -3579,6 +3808,15 @@ export declare const BattleEndSchema: z.ZodObject<{
|
|
|
3579
3808
|
};
|
|
3580
3809
|
damage: number;
|
|
3581
3810
|
effect: "Lightning";
|
|
3811
|
+
} | {
|
|
3812
|
+
type: "TurnStartBatteryCorrect";
|
|
3813
|
+
period: {
|
|
3814
|
+
type: "SpecialPeriod";
|
|
3815
|
+
} | {
|
|
3816
|
+
type: "TurnLimit";
|
|
3817
|
+
remainingTurn: number;
|
|
3818
|
+
};
|
|
3819
|
+
correctBattery: number;
|
|
3582
3820
|
})[];
|
|
3583
3821
|
};
|
|
3584
3822
|
pilot: {
|