@nonz250/ai-rotom 1.2.5 → 1.2.7
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/THIRD_PARTY_LICENSES.md +5 -4
- package/dist/index.mjs +247 -772
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/index.d.mts +0 -2
package/dist/index.mjs
CHANGED
|
@@ -921,14 +921,12 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
921
921
|
"Adaptability",
|
|
922
922
|
"Aerilate",
|
|
923
923
|
"Aftermath",
|
|
924
|
-
"Air Lock",
|
|
925
924
|
"Analytic",
|
|
926
925
|
"Anger Point",
|
|
927
926
|
"Anticipation",
|
|
928
927
|
"Armor Tail",
|
|
929
928
|
"Aroma Veil",
|
|
930
929
|
"Battle Armor",
|
|
931
|
-
"Battle Bond",
|
|
932
930
|
"Berserk",
|
|
933
931
|
"Big Pecks",
|
|
934
932
|
"Blaze",
|
|
@@ -937,8 +935,6 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
937
935
|
"Chlorophyll",
|
|
938
936
|
"Clear Body",
|
|
939
937
|
"Cloud Nine",
|
|
940
|
-
"Color Change",
|
|
941
|
-
"Comatose",
|
|
942
938
|
"Competitive",
|
|
943
939
|
"Compound Eyes",
|
|
944
940
|
"Contrary",
|
|
@@ -957,21 +953,24 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
957
953
|
"Early Bird",
|
|
958
954
|
"Earth Eater",
|
|
959
955
|
"Eelevate",
|
|
956
|
+
"Effect Spore",
|
|
957
|
+
"Electric Surge",
|
|
960
958
|
"Electromorphosis",
|
|
961
959
|
"Fairy Aura",
|
|
962
|
-
"Fire Mane",
|
|
963
960
|
"Filter",
|
|
961
|
+
"Fire Mane",
|
|
964
962
|
"Flame Body",
|
|
965
963
|
"Flash Fire",
|
|
966
964
|
"Flower Veil",
|
|
965
|
+
"Fluffy",
|
|
967
966
|
"Forecast",
|
|
968
967
|
"Forewarn",
|
|
969
968
|
"Friend Guard",
|
|
970
969
|
"Frisk",
|
|
971
970
|
"Fur Coat",
|
|
972
971
|
"Gale Wings",
|
|
973
|
-
"Galvanize",
|
|
974
972
|
"Gluttony",
|
|
973
|
+
"Good as Gold",
|
|
975
974
|
"Gooey",
|
|
976
975
|
"Guts",
|
|
977
976
|
"Harvest",
|
|
@@ -1003,7 +1002,6 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1003
1002
|
"Light Metal",
|
|
1004
1003
|
"Lightning Rod",
|
|
1005
1004
|
"Limber",
|
|
1006
|
-
"Liquid Ooze",
|
|
1007
1005
|
"Liquid Voice",
|
|
1008
1006
|
"Long Reach",
|
|
1009
1007
|
"Magic Bounce",
|
|
@@ -1020,12 +1018,10 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1020
1018
|
"Mold Breaker",
|
|
1021
1019
|
"Moody",
|
|
1022
1020
|
"Motor Drive",
|
|
1023
|
-
"Mountaineer",
|
|
1024
1021
|
"Moxie",
|
|
1025
1022
|
"Multiscale",
|
|
1026
1023
|
"Mummy",
|
|
1027
1024
|
"Natural Cure",
|
|
1028
|
-
"Neutralizing Gas",
|
|
1029
1025
|
"No Guard",
|
|
1030
1026
|
"Oblivious",
|
|
1031
1027
|
"Opportunist",
|
|
@@ -1033,7 +1029,6 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1033
1029
|
"Overgrow",
|
|
1034
1030
|
"Own Tempo",
|
|
1035
1031
|
"Parental Bond",
|
|
1036
|
-
"Persistent",
|
|
1037
1032
|
"Pickpocket",
|
|
1038
1033
|
"Pickup",
|
|
1039
1034
|
"Piercing Drill",
|
|
@@ -1042,7 +1037,6 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1042
1037
|
"Poison Heal",
|
|
1043
1038
|
"Poison Point",
|
|
1044
1039
|
"Poison Touch",
|
|
1045
|
-
"Power of Alchemy",
|
|
1046
1040
|
"Prankster",
|
|
1047
1041
|
"Pressure",
|
|
1048
1042
|
"Protean",
|
|
@@ -1052,8 +1046,6 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1052
1046
|
"Quick Draw",
|
|
1053
1047
|
"Quick Feet",
|
|
1054
1048
|
"Rain Dish",
|
|
1055
|
-
"Rattled",
|
|
1056
|
-
"Rebound",
|
|
1057
1049
|
"Receiver",
|
|
1058
1050
|
"Reckless",
|
|
1059
1051
|
"Refrigerate",
|
|
@@ -1070,7 +1062,6 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1070
1062
|
"Sap Sipper",
|
|
1071
1063
|
"Scrappy",
|
|
1072
1064
|
"Screen Cleaner",
|
|
1073
|
-
"Serene Grace",
|
|
1074
1065
|
"Shadow Tag",
|
|
1075
1066
|
"Sharpness",
|
|
1076
1067
|
"Shed Skin",
|
|
@@ -1078,7 +1069,6 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1078
1069
|
"Shell Armor",
|
|
1079
1070
|
"Shield Dust",
|
|
1080
1071
|
"Skill Link",
|
|
1081
|
-
"Slow Start",
|
|
1082
1072
|
"Slush Rush",
|
|
1083
1073
|
"Sniper",
|
|
1084
1074
|
"Snow Cloak",
|
|
@@ -1096,9 +1086,9 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1096
1086
|
"Steadfast",
|
|
1097
1087
|
"Stench",
|
|
1098
1088
|
"Sticky Hold",
|
|
1099
|
-
"Storm Drain",
|
|
1100
1089
|
"Strong Jaw",
|
|
1101
1090
|
"Sturdy",
|
|
1091
|
+
"Suction Cups",
|
|
1102
1092
|
"Super Luck",
|
|
1103
1093
|
"Supersweet Syrup",
|
|
1104
1094
|
"Supreme Overlord",
|
|
@@ -1112,12 +1102,10 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1112
1102
|
"Technician",
|
|
1113
1103
|
"Telepathy",
|
|
1114
1104
|
"Thick Fat",
|
|
1115
|
-
"Tinted Lens",
|
|
1116
1105
|
"Torrent",
|
|
1117
1106
|
"Tough Claws",
|
|
1118
1107
|
"Toxic Debris",
|
|
1119
1108
|
"Trace",
|
|
1120
|
-
"Triage",
|
|
1121
1109
|
"Unaware",
|
|
1122
1110
|
"Unburden",
|
|
1123
1111
|
"Unnerve",
|
|
@@ -1127,7 +1115,6 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
1127
1115
|
"Wandering Spirit",
|
|
1128
1116
|
"Water Absorb",
|
|
1129
1117
|
"Water Bubble",
|
|
1130
|
-
"Water Veil",
|
|
1131
1118
|
"Weak Armor",
|
|
1132
1119
|
"White Smoke",
|
|
1133
1120
|
"Zero to Hero"
|
|
@@ -10581,8 +10568,6 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
10581
10568
|
var _b;
|
|
10582
10569
|
var e_3;
|
|
10583
10570
|
var _c;
|
|
10584
|
-
var e_4;
|
|
10585
|
-
var _d;
|
|
10586
10571
|
exports.__esModule = true;
|
|
10587
10572
|
exports.Species = exports.SPECIES = void 0;
|
|
10588
10573
|
var util_1 = require_util$1();
|
|
@@ -26109,13 +26094,9 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26109
26094
|
sd: 140
|
|
26110
26095
|
} },
|
|
26111
26096
|
Articuno: { otherFormes: ["Articuno-Galar"] },
|
|
26112
|
-
Blastoise: {
|
|
26113
|
-
Butterfree: {
|
|
26114
|
-
Charizard: {
|
|
26115
|
-
"Charizard-Gmax",
|
|
26116
|
-
"Charizard-Mega-X",
|
|
26117
|
-
"Charizard-Mega-Y"
|
|
26118
|
-
] },
|
|
26097
|
+
Blastoise: { canGigantamax: "G-Max Cannonade" },
|
|
26098
|
+
Butterfree: { canGigantamax: "G-Max Flutterby" },
|
|
26099
|
+
Charizard: { canGigantamax: "G-Max Wildfire" },
|
|
26119
26100
|
Corsola: { otherFormes: ["Corsola-Galar"] },
|
|
26120
26101
|
Darmanitan: { otherFormes: [
|
|
26121
26102
|
"Darmanitan-Galar",
|
|
@@ -26123,35 +26104,36 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26123
26104
|
"Darmanitan-Zen"
|
|
26124
26105
|
] },
|
|
26125
26106
|
Darumaka: { otherFormes: ["Darumaka-Galar"] },
|
|
26126
|
-
Eevee: {
|
|
26107
|
+
Eevee: { canGigantamax: "G-Max Cuddle" },
|
|
26127
26108
|
Equilibra: { bs: { sa: 133 } },
|
|
26128
26109
|
"Farfetch’d": { otherFormes: ["Farfetch’d-Galar"] },
|
|
26129
|
-
Garbodor: {
|
|
26130
|
-
Gengar: {
|
|
26131
|
-
Kingler: {
|
|
26132
|
-
Lapras: {
|
|
26110
|
+
Garbodor: { canGigantamax: "G-Max Malodor" },
|
|
26111
|
+
Gengar: { canGigantamax: "G-Max Terror" },
|
|
26112
|
+
Kingler: { canGigantamax: "G-Max Foam Burst" },
|
|
26113
|
+
Lapras: { canGigantamax: "G-Max Resonance" },
|
|
26133
26114
|
Linoone: { otherFormes: ["Linoone-Galar"] },
|
|
26134
|
-
Machamp: {
|
|
26115
|
+
Machamp: { canGigantamax: "G-Max Chi Strike" },
|
|
26135
26116
|
Magearna: { otherFormes: ["Magearna-Original"] },
|
|
26136
|
-
Melmetal: {
|
|
26137
|
-
Meowth: {
|
|
26138
|
-
"
|
|
26139
|
-
"Meowth-Galar"
|
|
26140
|
-
|
|
26141
|
-
] },
|
|
26117
|
+
Melmetal: { canGigantamax: "G-Max Meltdown" },
|
|
26118
|
+
Meowth: {
|
|
26119
|
+
canGigantamax: "G-Max Gold Rush",
|
|
26120
|
+
otherFormes: ["Meowth-Alola", "Meowth-Galar"]
|
|
26121
|
+
},
|
|
26142
26122
|
Moltres: { otherFormes: ["Moltres-Galar"] },
|
|
26143
26123
|
"Mr. Mime": { otherFormes: ["Mr. Mime-Galar"] },
|
|
26144
|
-
Pikachu: {
|
|
26145
|
-
"
|
|
26146
|
-
|
|
26147
|
-
|
|
26148
|
-
|
|
26149
|
-
|
|
26150
|
-
|
|
26151
|
-
|
|
26152
|
-
|
|
26153
|
-
|
|
26154
|
-
|
|
26124
|
+
Pikachu: {
|
|
26125
|
+
canGigantamax: "G-Max Volt Crash",
|
|
26126
|
+
otherFormes: [
|
|
26127
|
+
"Pikachu-Alola",
|
|
26128
|
+
"Pikachu-Hoenn",
|
|
26129
|
+
"Pikachu-Kalos",
|
|
26130
|
+
"Pikachu-Original",
|
|
26131
|
+
"Pikachu-Partner",
|
|
26132
|
+
"Pikachu-Sinnoh",
|
|
26133
|
+
"Pikachu-Unova",
|
|
26134
|
+
"Pikachu-World"
|
|
26135
|
+
]
|
|
26136
|
+
},
|
|
26155
26137
|
Ponyta: { otherFormes: ["Ponyta-Galar"] },
|
|
26156
26138
|
Pyroak: { bs: {
|
|
26157
26139
|
sa: 70,
|
|
@@ -26161,9 +26143,9 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26161
26143
|
Slowbro: { otherFormes: ["Slowbro-Galar", "Slowbro-Mega"] },
|
|
26162
26144
|
Slowking: { otherFormes: ["Slowking-Galar"] },
|
|
26163
26145
|
Slowpoke: { otherFormes: ["Slowpoke-Galar"] },
|
|
26164
|
-
Snorlax: {
|
|
26146
|
+
Snorlax: { canGigantamax: "G-Max Replenish" },
|
|
26165
26147
|
Stunfisk: { otherFormes: ["Stunfisk-Galar"] },
|
|
26166
|
-
Venusaur: {
|
|
26148
|
+
Venusaur: { canGigantamax: "G-Max Vine Lash" },
|
|
26167
26149
|
Voodoom: { bs: { sa: 130 } },
|
|
26168
26150
|
Weezing: { otherFormes: ["Weezing-Galar"] },
|
|
26169
26151
|
Yamask: { otherFormes: ["Yamask-Galar"] },
|
|
@@ -26182,7 +26164,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26182
26164
|
weightkg: .5,
|
|
26183
26165
|
gender: "F",
|
|
26184
26166
|
abilities: { 0: "Sweet Veil" },
|
|
26185
|
-
|
|
26167
|
+
canGigantamax: "G-Max Finale"
|
|
26186
26168
|
},
|
|
26187
26169
|
Appletun: {
|
|
26188
26170
|
types: ["Grass", "Dragon"],
|
|
@@ -26196,7 +26178,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26196
26178
|
},
|
|
26197
26179
|
weightkg: 13,
|
|
26198
26180
|
abilities: { 0: "Ripen" },
|
|
26199
|
-
|
|
26181
|
+
canGigantamax: "G-Max Sweetness"
|
|
26200
26182
|
},
|
|
26201
26183
|
Applin: {
|
|
26202
26184
|
types: ["Grass", "Dragon"],
|
|
@@ -26393,7 +26375,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26393
26375
|
},
|
|
26394
26376
|
weightkg: 120,
|
|
26395
26377
|
abilities: { 0: "Flash Fire" },
|
|
26396
|
-
|
|
26378
|
+
canGigantamax: "G-Max Centiferno"
|
|
26397
26379
|
},
|
|
26398
26380
|
Chewtle: {
|
|
26399
26381
|
types: ["Water"],
|
|
@@ -26435,7 +26417,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26435
26417
|
},
|
|
26436
26418
|
weightkg: 33,
|
|
26437
26419
|
abilities: { 0: "Blaze" },
|
|
26438
|
-
|
|
26420
|
+
canGigantamax: "G-Max Fireball"
|
|
26439
26421
|
},
|
|
26440
26422
|
Clobbopus: {
|
|
26441
26423
|
types: ["Fighting"],
|
|
@@ -26463,7 +26445,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26463
26445
|
},
|
|
26464
26446
|
weightkg: 310.5,
|
|
26465
26447
|
abilities: { 0: "Steam Engine" },
|
|
26466
|
-
|
|
26448
|
+
canGigantamax: "G-Max Volcalith"
|
|
26467
26449
|
},
|
|
26468
26450
|
Copperajah: {
|
|
26469
26451
|
types: ["Steel"],
|
|
@@ -26477,7 +26459,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26477
26459
|
},
|
|
26478
26460
|
weightkg: 650,
|
|
26479
26461
|
abilities: { 0: "Sheer Force" },
|
|
26480
|
-
|
|
26462
|
+
canGigantamax: "G-Max Steelsurge"
|
|
26481
26463
|
},
|
|
26482
26464
|
"Corsola-Galar": {
|
|
26483
26465
|
types: ["Ghost"],
|
|
@@ -26506,7 +26488,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26506
26488
|
},
|
|
26507
26489
|
weightkg: 75,
|
|
26508
26490
|
abilities: { 0: "Pressure" },
|
|
26509
|
-
|
|
26491
|
+
canGigantamax: "G-Max Wind Rage"
|
|
26510
26492
|
},
|
|
26511
26493
|
Corvisquire: {
|
|
26512
26494
|
types: ["Flying"],
|
|
@@ -26715,7 +26697,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26715
26697
|
},
|
|
26716
26698
|
weightkg: 115.5,
|
|
26717
26699
|
abilities: { 0: "Strong Jaw" },
|
|
26718
|
-
|
|
26700
|
+
canGigantamax: "G-Max Stonesurge"
|
|
26719
26701
|
},
|
|
26720
26702
|
Dreepy: {
|
|
26721
26703
|
types: ["Dragon", "Ghost"],
|
|
@@ -26770,7 +26752,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26770
26752
|
},
|
|
26771
26753
|
weightkg: 40,
|
|
26772
26754
|
abilities: { 0: "Light Metal" },
|
|
26773
|
-
|
|
26755
|
+
canGigantamax: "G-Max Depletion"
|
|
26774
26756
|
},
|
|
26775
26757
|
Eiscue: {
|
|
26776
26758
|
types: ["Ice"],
|
|
@@ -26884,7 +26866,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26884
26866
|
},
|
|
26885
26867
|
weightkg: 1,
|
|
26886
26868
|
abilities: { 0: "Ripen" },
|
|
26887
|
-
|
|
26869
|
+
canGigantamax: "G-Max Tartness"
|
|
26888
26870
|
},
|
|
26889
26871
|
Frosmoth: {
|
|
26890
26872
|
types: ["Ice", "Bug"],
|
|
@@ -26966,7 +26948,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
26966
26948
|
weightkg: 61,
|
|
26967
26949
|
gender: "M",
|
|
26968
26950
|
abilities: { 0: "Prankster" },
|
|
26969
|
-
|
|
26951
|
+
canGigantamax: "G-Max Snooze"
|
|
26970
26952
|
},
|
|
26971
26953
|
Grookey: {
|
|
26972
26954
|
types: ["Grass"],
|
|
@@ -27010,7 +26992,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27010
26992
|
weightkg: 5.1,
|
|
27011
26993
|
gender: "F",
|
|
27012
26994
|
abilities: { 0: "Healer" },
|
|
27013
|
-
|
|
26995
|
+
canGigantamax: "G-Max Smite"
|
|
27014
26996
|
},
|
|
27015
26997
|
Hattrem: {
|
|
27016
26998
|
types: ["Psychic"],
|
|
@@ -27084,7 +27066,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27084
27066
|
},
|
|
27085
27067
|
weightkg: 45.2,
|
|
27086
27068
|
abilities: { 0: "Torrent" },
|
|
27087
|
-
|
|
27069
|
+
canGigantamax: "G-Max Hydrosnipe"
|
|
27088
27070
|
},
|
|
27089
27071
|
"Kubfu": {
|
|
27090
27072
|
types: ["Fighting"],
|
|
@@ -27312,7 +27294,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27312
27294
|
},
|
|
27313
27295
|
weightkg: 40.8,
|
|
27314
27296
|
abilities: { 0: "Swarm" },
|
|
27315
|
-
|
|
27297
|
+
canGigantamax: "G-Max Gravitas"
|
|
27316
27298
|
},
|
|
27317
27299
|
Perrserker: {
|
|
27318
27300
|
types: ["Steel"],
|
|
@@ -27468,7 +27450,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27468
27450
|
},
|
|
27469
27451
|
weightkg: 90,
|
|
27470
27452
|
abilities: { 0: "Overgrow" },
|
|
27471
|
-
|
|
27453
|
+
canGigantamax: "G-Max Drum Solo"
|
|
27472
27454
|
},
|
|
27473
27455
|
Rolycoly: {
|
|
27474
27456
|
types: ["Rock"],
|
|
@@ -27550,7 +27532,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27550
27532
|
},
|
|
27551
27533
|
weightkg: 65.5,
|
|
27552
27534
|
abilities: { 0: "Sand Spit" },
|
|
27553
|
-
|
|
27535
|
+
canGigantamax: "G-Max Sandblast"
|
|
27554
27536
|
},
|
|
27555
27537
|
Scorbunny: {
|
|
27556
27538
|
types: ["Fire"],
|
|
@@ -27832,11 +27814,8 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27832
27814
|
},
|
|
27833
27815
|
weightkg: 40,
|
|
27834
27816
|
abilities: { 0: "Punk Rock" },
|
|
27835
|
-
|
|
27836
|
-
|
|
27837
|
-
"Toxtricity-Low-Key",
|
|
27838
|
-
"Toxtricity-Low-Key-Gmax"
|
|
27839
|
-
]
|
|
27817
|
+
canGigantamax: "G-Max Stun Shock",
|
|
27818
|
+
otherFormes: ["Toxtricity-Low-Key"]
|
|
27840
27819
|
},
|
|
27841
27820
|
"Toxtricity-Low-Key": {
|
|
27842
27821
|
types: ["Electric", "Poison"],
|
|
@@ -27850,6 +27829,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27850
27829
|
},
|
|
27851
27830
|
weightkg: 40,
|
|
27852
27831
|
abilities: { 0: "Punk Rock" },
|
|
27832
|
+
canGigantamax: "G-Max Stun Shock",
|
|
27853
27833
|
baseSpecies: "Toxtricity"
|
|
27854
27834
|
},
|
|
27855
27835
|
Urshifu: {
|
|
@@ -27864,11 +27844,8 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27864
27844
|
},
|
|
27865
27845
|
weightkg: 105,
|
|
27866
27846
|
abilities: { 0: "Unseen Fist" },
|
|
27867
|
-
|
|
27868
|
-
|
|
27869
|
-
"Urshifu-Rapid-Strike",
|
|
27870
|
-
"Urshifu-Rapid-Strike-Gmax"
|
|
27871
|
-
]
|
|
27847
|
+
canGigantamax: "G-Max One Blow",
|
|
27848
|
+
otherFormes: ["Urshifu-Rapid-Strike"]
|
|
27872
27849
|
},
|
|
27873
27850
|
"Urshifu-Rapid-Strike": {
|
|
27874
27851
|
types: ["Fighting", "Water"],
|
|
@@ -27882,6 +27859,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
27882
27859
|
},
|
|
27883
27860
|
weightkg: 105,
|
|
27884
27861
|
abilities: { 0: "Unseen Fist" },
|
|
27862
|
+
canGigantamax: "G-Max Rapid Flow",
|
|
27885
27863
|
baseSpecies: "Urshifu"
|
|
27886
27864
|
},
|
|
27887
27865
|
Venomicon: {
|
|
@@ -28090,486 +28068,6 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
28090
28068
|
nfe: true,
|
|
28091
28069
|
abilities: { 0: "Pickup" },
|
|
28092
28070
|
baseSpecies: "Zigzagoon"
|
|
28093
|
-
},
|
|
28094
|
-
"Alcremie-Gmax": {
|
|
28095
|
-
types: ["Fairy"],
|
|
28096
|
-
bs: {
|
|
28097
|
-
hp: 65,
|
|
28098
|
-
at: 60,
|
|
28099
|
-
df: 75,
|
|
28100
|
-
sa: 110,
|
|
28101
|
-
sd: 121,
|
|
28102
|
-
sp: 64
|
|
28103
|
-
},
|
|
28104
|
-
weightkg: 0,
|
|
28105
|
-
gender: "F",
|
|
28106
|
-
abilities: { 0: "Sweet Veil" },
|
|
28107
|
-
baseSpecies: "Alcremie"
|
|
28108
|
-
},
|
|
28109
|
-
"Appletun-Gmax": {
|
|
28110
|
-
types: ["Grass", "Dragon"],
|
|
28111
|
-
bs: {
|
|
28112
|
-
hp: 110,
|
|
28113
|
-
at: 85,
|
|
28114
|
-
df: 80,
|
|
28115
|
-
sa: 100,
|
|
28116
|
-
sd: 80,
|
|
28117
|
-
sp: 30
|
|
28118
|
-
},
|
|
28119
|
-
weightkg: 0,
|
|
28120
|
-
abilities: { 0: "Ripen" },
|
|
28121
|
-
baseSpecies: "Appletun"
|
|
28122
|
-
},
|
|
28123
|
-
"Blastoise-Gmax": {
|
|
28124
|
-
types: ["Water"],
|
|
28125
|
-
bs: {
|
|
28126
|
-
hp: 79,
|
|
28127
|
-
at: 83,
|
|
28128
|
-
df: 100,
|
|
28129
|
-
sa: 85,
|
|
28130
|
-
sd: 105,
|
|
28131
|
-
sp: 78
|
|
28132
|
-
},
|
|
28133
|
-
weightkg: 0,
|
|
28134
|
-
abilities: { 0: "Torrent" },
|
|
28135
|
-
baseSpecies: "Blastoise"
|
|
28136
|
-
},
|
|
28137
|
-
"Butterfree-Gmax": {
|
|
28138
|
-
types: ["Bug", "Flying"],
|
|
28139
|
-
bs: {
|
|
28140
|
-
hp: 60,
|
|
28141
|
-
at: 45,
|
|
28142
|
-
df: 50,
|
|
28143
|
-
sa: 90,
|
|
28144
|
-
sd: 80,
|
|
28145
|
-
sp: 70
|
|
28146
|
-
},
|
|
28147
|
-
weightkg: 0,
|
|
28148
|
-
abilities: { 0: "Compound Eyes" },
|
|
28149
|
-
baseSpecies: "Butterfree"
|
|
28150
|
-
},
|
|
28151
|
-
"Centiskorch-Gmax": {
|
|
28152
|
-
types: ["Fire", "Bug"],
|
|
28153
|
-
bs: {
|
|
28154
|
-
hp: 100,
|
|
28155
|
-
at: 115,
|
|
28156
|
-
df: 65,
|
|
28157
|
-
sa: 90,
|
|
28158
|
-
sd: 90,
|
|
28159
|
-
sp: 65
|
|
28160
|
-
},
|
|
28161
|
-
weightkg: 0,
|
|
28162
|
-
abilities: { 0: "Flash Fire" },
|
|
28163
|
-
baseSpecies: "Centiskorch"
|
|
28164
|
-
},
|
|
28165
|
-
"Charizard-Gmax": {
|
|
28166
|
-
types: ["Fire", "Flying"],
|
|
28167
|
-
bs: {
|
|
28168
|
-
hp: 78,
|
|
28169
|
-
at: 84,
|
|
28170
|
-
df: 78,
|
|
28171
|
-
sa: 109,
|
|
28172
|
-
sd: 85,
|
|
28173
|
-
sp: 100
|
|
28174
|
-
},
|
|
28175
|
-
weightkg: 0,
|
|
28176
|
-
abilities: { 0: "Blaze" },
|
|
28177
|
-
baseSpecies: "Charizard"
|
|
28178
|
-
},
|
|
28179
|
-
"Cinderace-Gmax": {
|
|
28180
|
-
types: ["Fire"],
|
|
28181
|
-
bs: {
|
|
28182
|
-
hp: 80,
|
|
28183
|
-
at: 116,
|
|
28184
|
-
df: 75,
|
|
28185
|
-
sa: 65,
|
|
28186
|
-
sd: 75,
|
|
28187
|
-
sp: 119
|
|
28188
|
-
},
|
|
28189
|
-
weightkg: 0,
|
|
28190
|
-
abilities: { 0: "Blaze" },
|
|
28191
|
-
baseSpecies: "Cinderace"
|
|
28192
|
-
},
|
|
28193
|
-
"Coalossal-Gmax": {
|
|
28194
|
-
types: ["Rock", "Fire"],
|
|
28195
|
-
bs: {
|
|
28196
|
-
hp: 110,
|
|
28197
|
-
at: 80,
|
|
28198
|
-
df: 120,
|
|
28199
|
-
sa: 80,
|
|
28200
|
-
sd: 90,
|
|
28201
|
-
sp: 30
|
|
28202
|
-
},
|
|
28203
|
-
weightkg: 0,
|
|
28204
|
-
abilities: { 0: "Steam Engine" },
|
|
28205
|
-
baseSpecies: "Coalossal"
|
|
28206
|
-
},
|
|
28207
|
-
"Copperajah-Gmax": {
|
|
28208
|
-
types: ["Steel"],
|
|
28209
|
-
bs: {
|
|
28210
|
-
hp: 122,
|
|
28211
|
-
at: 130,
|
|
28212
|
-
df: 69,
|
|
28213
|
-
sa: 80,
|
|
28214
|
-
sd: 69,
|
|
28215
|
-
sp: 30
|
|
28216
|
-
},
|
|
28217
|
-
weightkg: 0,
|
|
28218
|
-
abilities: { 0: "Sheer Force" },
|
|
28219
|
-
baseSpecies: "Copperajah"
|
|
28220
|
-
},
|
|
28221
|
-
"Corviknight-Gmax": {
|
|
28222
|
-
types: ["Flying", "Steel"],
|
|
28223
|
-
bs: {
|
|
28224
|
-
hp: 98,
|
|
28225
|
-
at: 87,
|
|
28226
|
-
df: 105,
|
|
28227
|
-
sa: 53,
|
|
28228
|
-
sd: 85,
|
|
28229
|
-
sp: 67
|
|
28230
|
-
},
|
|
28231
|
-
weightkg: 0,
|
|
28232
|
-
abilities: { 0: "Pressure" },
|
|
28233
|
-
baseSpecies: "Corviknight"
|
|
28234
|
-
},
|
|
28235
|
-
"Drednaw-Gmax": {
|
|
28236
|
-
types: ["Water", "Rock"],
|
|
28237
|
-
bs: {
|
|
28238
|
-
hp: 90,
|
|
28239
|
-
at: 115,
|
|
28240
|
-
df: 90,
|
|
28241
|
-
sa: 48,
|
|
28242
|
-
sd: 68,
|
|
28243
|
-
sp: 74
|
|
28244
|
-
},
|
|
28245
|
-
weightkg: 0,
|
|
28246
|
-
abilities: { 0: "Strong Jaw" },
|
|
28247
|
-
baseSpecies: "Drednaw"
|
|
28248
|
-
},
|
|
28249
|
-
"Duraludon-Gmax": {
|
|
28250
|
-
types: ["Steel", "Dragon"],
|
|
28251
|
-
bs: {
|
|
28252
|
-
hp: 70,
|
|
28253
|
-
at: 95,
|
|
28254
|
-
df: 115,
|
|
28255
|
-
sa: 120,
|
|
28256
|
-
sd: 50,
|
|
28257
|
-
sp: 85
|
|
28258
|
-
},
|
|
28259
|
-
weightkg: 0,
|
|
28260
|
-
abilities: { 0: "Light Metal" },
|
|
28261
|
-
baseSpecies: "Duraludon"
|
|
28262
|
-
},
|
|
28263
|
-
"Eevee-Gmax": {
|
|
28264
|
-
types: ["Normal"],
|
|
28265
|
-
bs: {
|
|
28266
|
-
hp: 55,
|
|
28267
|
-
at: 55,
|
|
28268
|
-
df: 50,
|
|
28269
|
-
sa: 45,
|
|
28270
|
-
sd: 65,
|
|
28271
|
-
sp: 55
|
|
28272
|
-
},
|
|
28273
|
-
weightkg: 0,
|
|
28274
|
-
abilities: { 0: "Run Away" },
|
|
28275
|
-
baseSpecies: "Eevee"
|
|
28276
|
-
},
|
|
28277
|
-
"Flapple-Gmax": {
|
|
28278
|
-
types: ["Grass", "Dragon"],
|
|
28279
|
-
bs: {
|
|
28280
|
-
hp: 70,
|
|
28281
|
-
at: 110,
|
|
28282
|
-
df: 80,
|
|
28283
|
-
sa: 95,
|
|
28284
|
-
sd: 60,
|
|
28285
|
-
sp: 70
|
|
28286
|
-
},
|
|
28287
|
-
weightkg: 0,
|
|
28288
|
-
abilities: { 0: "Ripen" },
|
|
28289
|
-
baseSpecies: "Flapple"
|
|
28290
|
-
},
|
|
28291
|
-
"Garbodor-Gmax": {
|
|
28292
|
-
types: ["Poison"],
|
|
28293
|
-
bs: {
|
|
28294
|
-
hp: 80,
|
|
28295
|
-
at: 95,
|
|
28296
|
-
df: 82,
|
|
28297
|
-
sa: 60,
|
|
28298
|
-
sd: 82,
|
|
28299
|
-
sp: 75
|
|
28300
|
-
},
|
|
28301
|
-
weightkg: 0,
|
|
28302
|
-
abilities: { 0: "Stench" },
|
|
28303
|
-
baseSpecies: "Garbodor"
|
|
28304
|
-
},
|
|
28305
|
-
"Gengar-Gmax": {
|
|
28306
|
-
types: ["Ghost", "Poison"],
|
|
28307
|
-
bs: {
|
|
28308
|
-
hp: 60,
|
|
28309
|
-
at: 65,
|
|
28310
|
-
df: 60,
|
|
28311
|
-
sa: 130,
|
|
28312
|
-
sd: 75,
|
|
28313
|
-
sp: 110
|
|
28314
|
-
},
|
|
28315
|
-
weightkg: 0,
|
|
28316
|
-
abilities: { 0: "Cursed Body" },
|
|
28317
|
-
baseSpecies: "Gengar"
|
|
28318
|
-
},
|
|
28319
|
-
"Grimmsnarl-Gmax": {
|
|
28320
|
-
types: ["Dark", "Fairy"],
|
|
28321
|
-
bs: {
|
|
28322
|
-
hp: 95,
|
|
28323
|
-
at: 120,
|
|
28324
|
-
df: 65,
|
|
28325
|
-
sa: 95,
|
|
28326
|
-
sd: 75,
|
|
28327
|
-
sp: 60
|
|
28328
|
-
},
|
|
28329
|
-
weightkg: 0,
|
|
28330
|
-
gender: "M",
|
|
28331
|
-
abilities: { 0: "Prankster" },
|
|
28332
|
-
baseSpecies: "Grimmsnarl"
|
|
28333
|
-
},
|
|
28334
|
-
"Hatterene-Gmax": {
|
|
28335
|
-
types: ["Psychic", "Fairy"],
|
|
28336
|
-
bs: {
|
|
28337
|
-
hp: 57,
|
|
28338
|
-
at: 90,
|
|
28339
|
-
df: 95,
|
|
28340
|
-
sa: 136,
|
|
28341
|
-
sd: 103,
|
|
28342
|
-
sp: 29
|
|
28343
|
-
},
|
|
28344
|
-
weightkg: 0,
|
|
28345
|
-
gender: "F",
|
|
28346
|
-
abilities: { 0: "Healer" },
|
|
28347
|
-
baseSpecies: "Hatterene"
|
|
28348
|
-
},
|
|
28349
|
-
"Inteleon-Gmax": {
|
|
28350
|
-
types: ["Water"],
|
|
28351
|
-
bs: {
|
|
28352
|
-
hp: 70,
|
|
28353
|
-
at: 85,
|
|
28354
|
-
df: 65,
|
|
28355
|
-
sa: 125,
|
|
28356
|
-
sd: 65,
|
|
28357
|
-
sp: 120
|
|
28358
|
-
},
|
|
28359
|
-
weightkg: 0,
|
|
28360
|
-
abilities: { 0: "Torrent" },
|
|
28361
|
-
baseSpecies: "Inteleon"
|
|
28362
|
-
},
|
|
28363
|
-
"Kingler-Gmax": {
|
|
28364
|
-
types: ["Water"],
|
|
28365
|
-
bs: {
|
|
28366
|
-
hp: 55,
|
|
28367
|
-
at: 130,
|
|
28368
|
-
df: 115,
|
|
28369
|
-
sa: 50,
|
|
28370
|
-
sd: 50,
|
|
28371
|
-
sp: 75
|
|
28372
|
-
},
|
|
28373
|
-
weightkg: 0,
|
|
28374
|
-
abilities: { 0: "Hyper Cutter" },
|
|
28375
|
-
baseSpecies: "Kingler"
|
|
28376
|
-
},
|
|
28377
|
-
"Lapras-Gmax": {
|
|
28378
|
-
types: ["Water", "Ice"],
|
|
28379
|
-
bs: {
|
|
28380
|
-
hp: 130,
|
|
28381
|
-
at: 85,
|
|
28382
|
-
df: 80,
|
|
28383
|
-
sa: 85,
|
|
28384
|
-
sd: 95,
|
|
28385
|
-
sp: 60
|
|
28386
|
-
},
|
|
28387
|
-
weightkg: 0,
|
|
28388
|
-
abilities: { 0: "Water Absorb" },
|
|
28389
|
-
baseSpecies: "Lapras"
|
|
28390
|
-
},
|
|
28391
|
-
"Machamp-Gmax": {
|
|
28392
|
-
types: ["Fighting"],
|
|
28393
|
-
bs: {
|
|
28394
|
-
hp: 90,
|
|
28395
|
-
at: 130,
|
|
28396
|
-
df: 80,
|
|
28397
|
-
sa: 65,
|
|
28398
|
-
sd: 85,
|
|
28399
|
-
sp: 55
|
|
28400
|
-
},
|
|
28401
|
-
weightkg: 0,
|
|
28402
|
-
abilities: { 0: "Guts" },
|
|
28403
|
-
baseSpecies: "Machamp"
|
|
28404
|
-
},
|
|
28405
|
-
"Melmetal-Gmax": {
|
|
28406
|
-
types: ["Steel"],
|
|
28407
|
-
bs: {
|
|
28408
|
-
hp: 135,
|
|
28409
|
-
at: 143,
|
|
28410
|
-
df: 143,
|
|
28411
|
-
sa: 80,
|
|
28412
|
-
sd: 65,
|
|
28413
|
-
sp: 34
|
|
28414
|
-
},
|
|
28415
|
-
weightkg: 0,
|
|
28416
|
-
gender: "N",
|
|
28417
|
-
abilities: { 0: "Iron Fist" },
|
|
28418
|
-
baseSpecies: "Melmetal"
|
|
28419
|
-
},
|
|
28420
|
-
"Meowth-Gmax": {
|
|
28421
|
-
types: ["Normal"],
|
|
28422
|
-
bs: {
|
|
28423
|
-
hp: 40,
|
|
28424
|
-
at: 45,
|
|
28425
|
-
df: 35,
|
|
28426
|
-
sa: 40,
|
|
28427
|
-
sd: 40,
|
|
28428
|
-
sp: 90
|
|
28429
|
-
},
|
|
28430
|
-
weightkg: 0,
|
|
28431
|
-
abilities: { 0: "Pickup" },
|
|
28432
|
-
baseSpecies: "Meowth"
|
|
28433
|
-
},
|
|
28434
|
-
"Orbeetle-Gmax": {
|
|
28435
|
-
types: ["Bug", "Psychic"],
|
|
28436
|
-
bs: {
|
|
28437
|
-
hp: 60,
|
|
28438
|
-
at: 45,
|
|
28439
|
-
df: 110,
|
|
28440
|
-
sa: 80,
|
|
28441
|
-
sd: 120,
|
|
28442
|
-
sp: 90
|
|
28443
|
-
},
|
|
28444
|
-
weightkg: 0,
|
|
28445
|
-
abilities: { 0: "Swarm" },
|
|
28446
|
-
baseSpecies: "Orbeetle"
|
|
28447
|
-
},
|
|
28448
|
-
"Pikachu-Gmax": {
|
|
28449
|
-
types: ["Electric"],
|
|
28450
|
-
bs: {
|
|
28451
|
-
hp: 35,
|
|
28452
|
-
at: 55,
|
|
28453
|
-
df: 40,
|
|
28454
|
-
sa: 50,
|
|
28455
|
-
sd: 50,
|
|
28456
|
-
sp: 90
|
|
28457
|
-
},
|
|
28458
|
-
weightkg: 0,
|
|
28459
|
-
abilities: { 0: "Static" },
|
|
28460
|
-
baseSpecies: "Pikachu"
|
|
28461
|
-
},
|
|
28462
|
-
"Rillaboom-Gmax": {
|
|
28463
|
-
types: ["Grass"],
|
|
28464
|
-
bs: {
|
|
28465
|
-
hp: 100,
|
|
28466
|
-
at: 125,
|
|
28467
|
-
df: 90,
|
|
28468
|
-
sa: 60,
|
|
28469
|
-
sd: 70,
|
|
28470
|
-
sp: 85
|
|
28471
|
-
},
|
|
28472
|
-
weightkg: 0,
|
|
28473
|
-
abilities: { 0: "Overgrow" },
|
|
28474
|
-
baseSpecies: "Rillaboom"
|
|
28475
|
-
},
|
|
28476
|
-
"Sandaconda-Gmax": {
|
|
28477
|
-
types: ["Ground"],
|
|
28478
|
-
bs: {
|
|
28479
|
-
hp: 72,
|
|
28480
|
-
at: 107,
|
|
28481
|
-
df: 125,
|
|
28482
|
-
sa: 65,
|
|
28483
|
-
sd: 70,
|
|
28484
|
-
sp: 71
|
|
28485
|
-
},
|
|
28486
|
-
weightkg: 0,
|
|
28487
|
-
abilities: { 0: "Sand Spit" },
|
|
28488
|
-
baseSpecies: "Sandaconda"
|
|
28489
|
-
},
|
|
28490
|
-
"Snorlax-Gmax": {
|
|
28491
|
-
types: ["Normal"],
|
|
28492
|
-
bs: {
|
|
28493
|
-
hp: 160,
|
|
28494
|
-
at: 110,
|
|
28495
|
-
df: 65,
|
|
28496
|
-
sa: 65,
|
|
28497
|
-
sd: 110,
|
|
28498
|
-
sp: 30
|
|
28499
|
-
},
|
|
28500
|
-
weightkg: 0,
|
|
28501
|
-
abilities: { 0: "Immunity" },
|
|
28502
|
-
baseSpecies: "Snorlax"
|
|
28503
|
-
},
|
|
28504
|
-
"Toxtricity-Gmax": {
|
|
28505
|
-
types: ["Electric", "Poison"],
|
|
28506
|
-
bs: {
|
|
28507
|
-
hp: 75,
|
|
28508
|
-
at: 98,
|
|
28509
|
-
df: 70,
|
|
28510
|
-
sa: 114,
|
|
28511
|
-
sd: 70,
|
|
28512
|
-
sp: 75
|
|
28513
|
-
},
|
|
28514
|
-
weightkg: 0,
|
|
28515
|
-
abilities: { 0: "Punk Rock" },
|
|
28516
|
-
baseSpecies: "Toxtricity"
|
|
28517
|
-
},
|
|
28518
|
-
"Toxtricity-Low-Key-Gmax": {
|
|
28519
|
-
types: ["Electric", "Poison"],
|
|
28520
|
-
bs: {
|
|
28521
|
-
hp: 75,
|
|
28522
|
-
at: 98,
|
|
28523
|
-
df: 70,
|
|
28524
|
-
sa: 114,
|
|
28525
|
-
sd: 70,
|
|
28526
|
-
sp: 75
|
|
28527
|
-
},
|
|
28528
|
-
weightkg: 0,
|
|
28529
|
-
abilities: { 0: "Punk Rock" },
|
|
28530
|
-
baseSpecies: "Toxtricity"
|
|
28531
|
-
},
|
|
28532
|
-
"Urshifu-Gmax": {
|
|
28533
|
-
types: ["Fighting", "Dark"],
|
|
28534
|
-
bs: {
|
|
28535
|
-
hp: 100,
|
|
28536
|
-
at: 130,
|
|
28537
|
-
df: 100,
|
|
28538
|
-
sa: 63,
|
|
28539
|
-
sd: 60,
|
|
28540
|
-
sp: 97
|
|
28541
|
-
},
|
|
28542
|
-
weightkg: 0,
|
|
28543
|
-
abilities: { 0: "Unseen Fist" },
|
|
28544
|
-
baseSpecies: "Urshifu"
|
|
28545
|
-
},
|
|
28546
|
-
"Urshifu-Rapid-Strike-Gmax": {
|
|
28547
|
-
types: ["Fighting", "Water"],
|
|
28548
|
-
bs: {
|
|
28549
|
-
hp: 100,
|
|
28550
|
-
at: 130,
|
|
28551
|
-
df: 100,
|
|
28552
|
-
sa: 63,
|
|
28553
|
-
sd: 60,
|
|
28554
|
-
sp: 97
|
|
28555
|
-
},
|
|
28556
|
-
weightkg: 0,
|
|
28557
|
-
abilities: { 0: "Unseen Fist" },
|
|
28558
|
-
baseSpecies: "Urshifu"
|
|
28559
|
-
},
|
|
28560
|
-
"Venusaur-Gmax": {
|
|
28561
|
-
types: ["Grass", "Poison"],
|
|
28562
|
-
bs: {
|
|
28563
|
-
hp: 80,
|
|
28564
|
-
at: 82,
|
|
28565
|
-
df: 83,
|
|
28566
|
-
sa: 100,
|
|
28567
|
-
sd: 100,
|
|
28568
|
-
sp: 80
|
|
28569
|
-
},
|
|
28570
|
-
weightkg: 0,
|
|
28571
|
-
abilities: { 0: "Overgrow" },
|
|
28572
|
-
baseSpecies: "Venusaur"
|
|
28573
28071
|
}
|
|
28574
28072
|
});
|
|
28575
28073
|
delete SS["Eevee-Starter"];
|
|
@@ -32031,29 +31529,6 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
32031
31529
|
baseSpecies: "Zygarde"
|
|
32032
31530
|
}
|
|
32033
31531
|
});
|
|
32034
|
-
try {
|
|
32035
|
-
for (var _e = __values(Object.entries(SV)), _f = _e.next(); !_f.done; _f = _e.next()) {
|
|
32036
|
-
var _g = __read(_f.value, 2), name_1 = _g[0], specie = _g[1];
|
|
32037
|
-
if (name_1.endsWith("-Gmax")) {
|
|
32038
|
-
delete SV[name_1];
|
|
32039
|
-
continue;
|
|
32040
|
-
}
|
|
32041
|
-
if (specie.otherFormes) {
|
|
32042
|
-
specie.otherFormes = __spreadArray([], __read(new Set(specie.otherFormes)), false).filter(function(f) {
|
|
32043
|
-
return !f.endsWith("-Gmax");
|
|
32044
|
-
});
|
|
32045
|
-
if (!specie.otherFormes.length) specie.otherFormes = void 0;
|
|
32046
|
-
}
|
|
32047
|
-
}
|
|
32048
|
-
} catch (e_2_1) {
|
|
32049
|
-
e_2 = { error: e_2_1 };
|
|
32050
|
-
} finally {
|
|
32051
|
-
try {
|
|
32052
|
-
if (_f && !_f.done && (_b = _e["return"])) _b.call(_e);
|
|
32053
|
-
} finally {
|
|
32054
|
-
if (e_2) throw e_2.error;
|
|
32055
|
-
}
|
|
32056
|
-
}
|
|
32057
31532
|
var CHAMPIONS_LIST = [
|
|
32058
31533
|
"Abomasnow",
|
|
32059
31534
|
"Abomasnow-Mega",
|
|
@@ -32388,8 +31863,8 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
32388
31863
|
});
|
|
32389
31864
|
removeAttr(CHAMPIONS, "Floette-Eternal", "baseSpecies");
|
|
32390
31865
|
try {
|
|
32391
|
-
for (var
|
|
32392
|
-
var species =
|
|
31866
|
+
for (var _d = __values(Object.values(CHAMPIONS)), _e = _d.next(); !_e.done; _e = _d.next()) {
|
|
31867
|
+
var species = _e.value;
|
|
32393
31868
|
if (species.otherFormes) {
|
|
32394
31869
|
species.otherFormes = __spreadArray([], __read(new Set(species.otherFormes)), false).filter(function(f) {
|
|
32395
31870
|
return CHAMPIONS_LIST.includes(f);
|
|
@@ -32397,13 +31872,13 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
32397
31872
|
if (!species.otherFormes.length) delete species.otherFormes;
|
|
32398
31873
|
}
|
|
32399
31874
|
}
|
|
32400
|
-
} catch (
|
|
32401
|
-
|
|
31875
|
+
} catch (e_2_1) {
|
|
31876
|
+
e_2 = { error: e_2_1 };
|
|
32402
31877
|
} finally {
|
|
32403
31878
|
try {
|
|
32404
|
-
if (
|
|
31879
|
+
if (_e && !_e.done && (_b = _d["return"])) _b.call(_d);
|
|
32405
31880
|
} finally {
|
|
32406
|
-
if (
|
|
31881
|
+
if (e_2) throw e_2.error;
|
|
32407
31882
|
}
|
|
32408
31883
|
}
|
|
32409
31884
|
exports.SPECIES = [
|
|
@@ -32466,10 +31941,9 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
32466
31941
|
baseStats.spd = gen === 0 || gen >= 2 ? data.bs.sd : data.bs.sl;
|
|
32467
31942
|
baseStats.spe = data.bs.sp;
|
|
32468
31943
|
this.baseStats = baseStats;
|
|
32469
|
-
this.otherFormes = data.otherFormes;
|
|
32470
31944
|
(0, util_1.assignWithout)(this, data, Specie.EXCLUDE);
|
|
32471
31945
|
}
|
|
32472
|
-
Specie.EXCLUDE = /* @__PURE__ */ new Set(["bs"
|
|
31946
|
+
Specie.EXCLUDE = /* @__PURE__ */ new Set(["bs"]);
|
|
32473
31947
|
return Specie;
|
|
32474
31948
|
}();
|
|
32475
31949
|
var SPECIES_BY_ID = [];
|
|
@@ -32486,13 +31960,13 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
32486
31960
|
SPECIES_BY_ID.push(map);
|
|
32487
31961
|
gen++;
|
|
32488
31962
|
}
|
|
32489
|
-
} catch (
|
|
32490
|
-
|
|
31963
|
+
} catch (e_3_1) {
|
|
31964
|
+
e_3 = { error: e_3_1 };
|
|
32491
31965
|
} finally {
|
|
32492
31966
|
try {
|
|
32493
|
-
if (SPECIES_1_1 && !SPECIES_1_1.done && (
|
|
31967
|
+
if (SPECIES_1_1 && !SPECIES_1_1.done && (_c = SPECIES_1["return"])) _c.call(SPECIES_1);
|
|
32494
31968
|
} finally {
|
|
32495
|
-
if (
|
|
31969
|
+
if (e_3) throw e_3.error;
|
|
32496
31970
|
}
|
|
32497
31971
|
}
|
|
32498
31972
|
}));
|
|
@@ -34122,6 +33596,12 @@ var require_stats = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34122
33596
|
class_1.prototype.DVToIV = function(dv) {
|
|
34123
33597
|
return dv * 2;
|
|
34124
33598
|
};
|
|
33599
|
+
class_1.prototype.EVToStatEXP = function(ev) {
|
|
33600
|
+
return (ev - 1) * (ev - 1) + 1;
|
|
33601
|
+
};
|
|
33602
|
+
class_1.prototype.StatEXPToEv = function(statexp) {
|
|
33603
|
+
return Math.floor((Math.sqrt(statexp - 1) + 1) / 4) * 4;
|
|
33604
|
+
};
|
|
34125
33605
|
class_1.prototype.DVsToIVs = function(dvs) {
|
|
34126
33606
|
var ivs = {};
|
|
34127
33607
|
var dv;
|
|
@@ -34131,7 +33611,7 @@ var require_stats = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34131
33611
|
class_1.prototype.calcStat = function(gen, stat, base, iv, ev, level, nature) {
|
|
34132
33612
|
if (gen.num < 0 || gen.num > 9) throw new Error("Invalid generation ".concat(gen.num));
|
|
34133
33613
|
if (gen.num === 0) return this.calcStatChampions(gen.natures, stat, base, ev, nature);
|
|
34134
|
-
if (gen.num < 3) return this.calcStatRBY(stat, base, iv, level);
|
|
33614
|
+
if (gen.num < 3) return this.calcStatRBY(stat, base, iv, ev, level);
|
|
34135
33615
|
return this.calcStatADV(gen.natures, stat, base, iv, ev, level, nature);
|
|
34136
33616
|
};
|
|
34137
33617
|
class_1.prototype.calcStatChampions = function(natures, stat, base, sp, nature) {
|
|
@@ -34156,12 +33636,12 @@ var require_stats = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34156
33636
|
return Math.floor((Math.floor((base * 2 + iv + Math.floor(ev / 4)) * level / 100) + 5) * n);
|
|
34157
33637
|
}
|
|
34158
33638
|
};
|
|
34159
|
-
class_1.prototype.calcStatRBY = function(stat, base, iv, level) {
|
|
34160
|
-
return this.calcStatRBYFromDV(stat, base, this.IVToDV(iv), level);
|
|
33639
|
+
class_1.prototype.calcStatRBY = function(stat, base, iv, ev, level) {
|
|
33640
|
+
return this.calcStatRBYFromDV(stat, base, this.IVToDV(iv), this.EVToStatEXP(ev), level);
|
|
34161
33641
|
};
|
|
34162
|
-
class_1.prototype.calcStatRBYFromDV = function(stat, base, dv, level) {
|
|
34163
|
-
if (stat === "hp") return Math.floor(((base + dv) * 2 +
|
|
34164
|
-
else return Math.floor(((base + dv) * 2 +
|
|
33642
|
+
class_1.prototype.calcStatRBYFromDV = function(stat, base, dv, statexp, level) {
|
|
33643
|
+
if (stat === "hp") return Math.floor(((base + dv) * 2 + Math.floor((Math.sqrt(statexp - 1) + 1) / 4)) * level / 100) + level + 10;
|
|
33644
|
+
else return Math.floor(((base + dv) * 2 + Math.floor((Math.sqrt(statexp - 1) + 1) / 4)) * level / 100) + 5;
|
|
34165
33645
|
};
|
|
34166
33646
|
class_1.prototype.getHiddenPowerIVs = function(gen, hpType) {
|
|
34167
33647
|
var hp = HP[hpType];
|
|
@@ -34268,7 +33748,7 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34268
33748
|
}
|
|
34269
33749
|
exports.isGrounded = isGrounded;
|
|
34270
33750
|
function getModifiedStat(stat, mod, gen) {
|
|
34271
|
-
if (gen && gen.num
|
|
33751
|
+
if (gen && (gen.num === 1 || gen.num === 2)) {
|
|
34272
33752
|
if (mod >= 0) stat = Math.floor(stat * [
|
|
34273
33753
|
1,
|
|
34274
33754
|
1.5,
|
|
@@ -34445,11 +33925,11 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34445
33925
|
}
|
|
34446
33926
|
exports.checkDownload = checkDownload;
|
|
34447
33927
|
function checkIntrepidSword(source, gen) {
|
|
34448
|
-
if (source.hasAbility("Intrepid Sword") && gen.num
|
|
33928
|
+
if (source.hasAbility("Intrepid Sword") && (gen.num === 8 || source.abilityOn)) source.boosts.atk = Math.min(6, source.boosts.atk + 1);
|
|
34449
33929
|
}
|
|
34450
33930
|
exports.checkIntrepidSword = checkIntrepidSword;
|
|
34451
33931
|
function checkDauntlessShield(source, gen) {
|
|
34452
|
-
if (source.hasAbility("Dauntless Shield") && gen.num
|
|
33932
|
+
if (source.hasAbility("Dauntless Shield") && (gen.num === 8 || source.abilityOn)) source.boosts.def = Math.min(6, source.boosts.def + 1);
|
|
34453
33933
|
}
|
|
34454
33934
|
exports.checkDauntlessShield = checkDauntlessShield;
|
|
34455
33935
|
function checkWindRider(source, attackingSide) {
|
|
@@ -34468,9 +33948,7 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34468
33948
|
case "Embody Aspect (Teal)":
|
|
34469
33949
|
source.boosts.spe = Math.min(6, source.boosts.spe + 1);
|
|
34470
33950
|
break;
|
|
34471
|
-
case "Embody Aspect (Wellspring)":
|
|
34472
|
-
source.boosts.spd = Math.min(6, source.boosts.spd + 1);
|
|
34473
|
-
break;
|
|
33951
|
+
case "Embody Aspect (Wellspring)": source.boosts.spd = Math.min(6, source.boosts.spd + 1);
|
|
34474
33952
|
}
|
|
34475
33953
|
}
|
|
34476
33954
|
exports.checkEmbody = checkEmbody;
|
|
@@ -34497,15 +33975,16 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34497
33975
|
function checkMultihitBoost(gen, attacker, defender, move, field, desc, attackerUsedItem, defenderUsedItem) {
|
|
34498
33976
|
if (attackerUsedItem === void 0) attackerUsedItem = false;
|
|
34499
33977
|
if (defenderUsedItem === void 0) defenderUsedItem = false;
|
|
34500
|
-
if (move.named("Gyro Ball", "Electro Ball") && defender.hasAbility("Gooey", "Tangling Hair"))
|
|
34501
|
-
|
|
34502
|
-
|
|
34503
|
-
|
|
34504
|
-
|
|
34505
|
-
|
|
34506
|
-
|
|
34507
|
-
|
|
34508
|
-
|
|
33978
|
+
if (move.named("Gyro Ball", "Electro Ball") && defender.hasAbility("Gooey", "Tangling Hair")) {
|
|
33979
|
+
if (attacker.hasItem("White Herb") && !attackerUsedItem) {
|
|
33980
|
+
desc.attackerItem = attacker.item;
|
|
33981
|
+
attackerUsedItem = true;
|
|
33982
|
+
} else {
|
|
33983
|
+
attacker.boosts.spe = Math.max(attacker.boosts.spe - 1, -6);
|
|
33984
|
+
attacker.stats.spe = getFinalSpeed(gen, attacker, field, field.attackerSide);
|
|
33985
|
+
desc.defenderAbility = defender.ability;
|
|
33986
|
+
}
|
|
33987
|
+
} else if (move.named("Power-Up Punch")) {
|
|
34509
33988
|
attacker.boosts.atk = Math.min(attacker.boosts.atk + 1, 6);
|
|
34510
33989
|
attacker.stats.atk = getModifiedStat(attacker.rawStats.atk, attacker.boosts.atk, gen);
|
|
34511
33990
|
}
|
|
@@ -34530,19 +34009,21 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34530
34009
|
}
|
|
34531
34010
|
if (defender.hasAbility("Seed Sower")) field.terrain = "Grassy";
|
|
34532
34011
|
if (defender.hasAbility("Sand Spit")) field.weather = "Sand";
|
|
34533
|
-
if (defender.hasAbility("Stamina"))
|
|
34534
|
-
|
|
34535
|
-
|
|
34536
|
-
|
|
34537
|
-
|
|
34538
|
-
|
|
34539
|
-
|
|
34540
|
-
else {
|
|
34541
|
-
|
|
34542
|
-
|
|
34543
|
-
|
|
34544
|
-
|
|
34545
|
-
|
|
34012
|
+
if (defender.hasAbility("Stamina")) {
|
|
34013
|
+
if (attacker.hasAbility("Unaware")) desc.attackerAbility = attacker.ability;
|
|
34014
|
+
else {
|
|
34015
|
+
defender.boosts.def = Math.min(defender.boosts.def + 1, 6);
|
|
34016
|
+
defender.stats.def = getModifiedStat(defender.rawStats.def, defender.boosts.def, gen);
|
|
34017
|
+
desc.defenderAbility = defender.ability;
|
|
34018
|
+
}
|
|
34019
|
+
} else if (defender.hasAbility("Water Compaction") && move.hasType("Water")) {
|
|
34020
|
+
if (attacker.hasAbility("Unaware")) desc.attackerAbility = attacker.ability;
|
|
34021
|
+
else {
|
|
34022
|
+
defender.boosts.def = Math.min(defender.boosts.def + 2, 6);
|
|
34023
|
+
defender.stats.def = getModifiedStat(defender.rawStats.def, defender.boosts.def, gen);
|
|
34024
|
+
desc.defenderAbility = defender.ability;
|
|
34025
|
+
}
|
|
34026
|
+
} else if (defender.hasAbility("Weak Armor")) {
|
|
34546
34027
|
if (attacker.hasAbility("Unaware")) desc.attackerAbility = attacker.ability;
|
|
34547
34028
|
else {
|
|
34548
34029
|
if (defender.hasItem("White Herb") && !defenderUsedItem && defender.boosts.def === 0) {
|
|
@@ -34557,22 +34038,24 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34557
34038
|
defender.boosts.spe = Math.min(defender.boosts.spe + 2, 6);
|
|
34558
34039
|
defender.stats.spe = getFinalSpeed(gen, defender, field, field.defenderSide);
|
|
34559
34040
|
}
|
|
34560
|
-
if (move.dropsStats)
|
|
34561
|
-
|
|
34562
|
-
|
|
34563
|
-
|
|
34564
|
-
|
|
34565
|
-
|
|
34566
|
-
|
|
34567
|
-
|
|
34568
|
-
|
|
34569
|
-
|
|
34570
|
-
|
|
34571
|
-
|
|
34572
|
-
|
|
34041
|
+
if (move.dropsStats) {
|
|
34042
|
+
if (attacker.hasAbility("Unaware")) desc.attackerAbility = attacker.ability;
|
|
34043
|
+
else {
|
|
34044
|
+
var stat = move.category === "Special" ? "spa" : "atk";
|
|
34045
|
+
var boosts = attacker.boosts[stat];
|
|
34046
|
+
if (attacker.hasAbility("Contrary")) {
|
|
34047
|
+
boosts = Math.min(6, boosts + move.dropsStats);
|
|
34048
|
+
desc.attackerAbility = attacker.ability;
|
|
34049
|
+
} else boosts = Math.max(-6, boosts - move.dropsStats * atkSimple);
|
|
34050
|
+
if (atkSimple === 2) desc.attackerAbility = attacker.ability;
|
|
34051
|
+
if (attacker.hasItem("White Herb") && attacker.boosts[stat] < 0 && !attackerUsedItem) {
|
|
34052
|
+
boosts += move.dropsStats * atkSimple;
|
|
34053
|
+
desc.attackerItem = attacker.item;
|
|
34054
|
+
attackerUsedItem = true;
|
|
34055
|
+
}
|
|
34056
|
+
attacker.boosts[stat] = boosts;
|
|
34057
|
+
attacker.stats[stat] = getModifiedStat(attacker.rawStats[stat], defender.boosts[stat], gen);
|
|
34573
34058
|
}
|
|
34574
|
-
attacker.boosts[stat] = boosts;
|
|
34575
|
-
attacker.stats[stat] = getModifiedStat(attacker.rawStats[stat], defender.boosts[stat], gen);
|
|
34576
34059
|
}
|
|
34577
34060
|
if (defender.hasAbility("Mummy", "Wandering Spirit", "Lingering Aroma") && move.flags.contact) {
|
|
34578
34061
|
var oldAttackerAbility = attacker.ability;
|
|
@@ -34695,8 +34178,10 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34695
34178
|
function getStellarStabMod(pokemon, move, stabMod, turns) {
|
|
34696
34179
|
if (stabMod === void 0) stabMod = 1;
|
|
34697
34180
|
if (turns === void 0) turns = 0;
|
|
34698
|
-
if (pokemon.teraType === "Stellar" && (move.isStellarFirstUse && turns === 0 || pokemon.named("Terapagos-Stellar")))
|
|
34699
|
-
|
|
34181
|
+
if (pokemon.teraType === "Stellar" && (move.isStellarFirstUse && turns === 0 || pokemon.named("Terapagos-Stellar"))) {
|
|
34182
|
+
if (pokemon.hasOriginalType(move.type)) stabMod += 2048;
|
|
34183
|
+
else stabMod = 4915;
|
|
34184
|
+
}
|
|
34700
34185
|
return stabMod;
|
|
34701
34186
|
}
|
|
34702
34187
|
exports.getStellarStabMod = getStellarStabMod;
|
|
@@ -34914,15 +34399,16 @@ var require_desc = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
34914
34399
|
case 2:
|
|
34915
34400
|
case 3:
|
|
34916
34401
|
case 4:
|
|
34917
|
-
if (defender.hasType("Ghost"))
|
|
34918
|
-
|
|
34919
|
-
|
|
34920
|
-
|
|
34921
|
-
|
|
34922
|
-
|
|
34923
|
-
|
|
34924
|
-
|
|
34925
|
-
|
|
34402
|
+
if (defender.hasType("Ghost")) {
|
|
34403
|
+
if (gen.num === 4) {
|
|
34404
|
+
var gen4CrashDamage = Math.floor(defender.maxHP() * .5 / attacker.maxHP() * 100);
|
|
34405
|
+
recoil = notation === "%" ? gen4CrashDamage : Math.floor(gen4CrashDamage / 100 * 48);
|
|
34406
|
+
text = "".concat(gen4CrashDamage, "% crash damage");
|
|
34407
|
+
} else {
|
|
34408
|
+
recoil = 0;
|
|
34409
|
+
text = "no crash damage on Ghost types";
|
|
34410
|
+
}
|
|
34411
|
+
} else text = "".concat(minRecoilDamage, " - ").concat(maxRecoilDamage).concat(notation, " crash damage on miss");
|
|
34926
34412
|
break;
|
|
34927
34413
|
default:
|
|
34928
34414
|
recoil = notation === "%" ? 24 : 50;
|
|
@@ -35222,12 +34708,14 @@ var require_desc = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
35222
34708
|
damage -= Math.floor(defender.maxHP() / 8);
|
|
35223
34709
|
texts.push("Bad Dreams");
|
|
35224
34710
|
}
|
|
35225
|
-
if (!defender.hasAbility("Magic Guard") && TRAPPING.includes(move.name) && (gen.num === 0 || gen.num > 1))
|
|
35226
|
-
|
|
35227
|
-
|
|
35228
|
-
|
|
35229
|
-
|
|
35230
|
-
|
|
34711
|
+
if (!defender.hasAbility("Magic Guard") && TRAPPING.includes(move.name) && (gen.num === 0 || gen.num > 1)) {
|
|
34712
|
+
if (attacker.hasItem("Binding Band")) {
|
|
34713
|
+
damage -= gen.num > 5 ? Math.floor(defender.maxHP() / 6) : Math.floor(defender.maxHP() / 8);
|
|
34714
|
+
texts.push("trapping damage");
|
|
34715
|
+
} else {
|
|
34716
|
+
damage -= gen.num > 5 ? Math.floor(defender.maxHP() / 8) : Math.floor(defender.maxHP() / 16);
|
|
34717
|
+
texts.push("trapping damage");
|
|
34718
|
+
}
|
|
35231
34719
|
}
|
|
35232
34720
|
if (field.defenderSide.isSaltCured && !defender.hasAbility("Magic Guard")) {
|
|
35233
34721
|
var isWaterOrSteel = defender.hasType("Water", "Steel");
|
|
@@ -35349,7 +34837,8 @@ var require_desc = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
35349
34837
|
if (description.isTabletsOfRuin) output += "Tablets of Ruin ";
|
|
35350
34838
|
if (description.isVesselOfRuin) output += "Vessel of Ruin ";
|
|
35351
34839
|
if (description.isProtected) output += "protected ";
|
|
35352
|
-
if (description.isDefenderDynamaxed) output += "
|
|
34840
|
+
if (description.isDefenderDynamaxed === "gmax") output += "Gigantamax ";
|
|
34841
|
+
else if (description.isDefenderDynamaxed) output += "Dynamax ";
|
|
35353
34842
|
if (description.defenderTera) output += "Tera ".concat(description.defenderTera, " ");
|
|
35354
34843
|
output += description.defenderName;
|
|
35355
34844
|
if (description.weather && description.terrain) output += " in " + description.weather + " and " + description.terrain + " Terrain";
|
|
@@ -35687,7 +35176,10 @@ var require_champions = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
35687
35176
|
var newFinalMods = calculateFinalModsChampions(gen, attacker, defender, move, field, desc, isCritical, typeEffectiveness, times);
|
|
35688
35177
|
var newFinalMod = (0, util_2.chainMods)(newFinalMods, 41, 131072);
|
|
35689
35178
|
var damageArray = [];
|
|
35690
|
-
for (var i = 0; i < 16; i++)
|
|
35179
|
+
for (var i = 0; i < 16; i++) {
|
|
35180
|
+
var newFinalDamage = (0, util_2.getFinalDamage)(newBaseDamage, i, typeEffectiveness, applyBurn, stabMod, newFinalMod, protect);
|
|
35181
|
+
damageArray[i] = newFinalDamage;
|
|
35182
|
+
}
|
|
35691
35183
|
damageMatrix[times] = damageArray;
|
|
35692
35184
|
}
|
|
35693
35185
|
result.damage = damageMatrix;
|
|
@@ -35854,7 +35346,7 @@ var require_champions = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
35854
35346
|
if (isAttackerAura) desc.attackerAbility = attacker.ability;
|
|
35855
35347
|
if (isDefenderAura) desc.defenderAbility = defender.ability;
|
|
35856
35348
|
}
|
|
35857
|
-
if (attacker.hasAbility("Sheer Force") && (move.secondaries || move.named("Electro Shot")) || attacker.hasAbility("Sand Force") && field.hasWeather("Sand") && move.hasType("Rock", "Ground", "Steel") || attacker.hasAbility("Analytic") && (turnOrder !== "first" || field.defenderSide.isSwitching === "out") || attacker.hasAbility("Tough Claws") && move.flags.contact) {
|
|
35349
|
+
if (attacker.hasAbility("Sheer Force") && (move.secondaries || move.named("Electro Shot")) || attacker.hasAbility("Sand Force") && field.hasWeather("Sand") && move.hasType("Rock", "Ground", "Steel") || attacker.hasAbility("Analytic") && (turnOrder !== "first" || field.defenderSide.isSwitching === "out" || attacker.abilityOn) || attacker.hasAbility("Tough Claws") && move.flags.contact) {
|
|
35858
35350
|
bpMods.push(5325);
|
|
35859
35351
|
desc.attackerAbility = attacker.ability;
|
|
35860
35352
|
}
|
|
@@ -36261,7 +35753,7 @@ var require_gen12 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
36261
35753
|
desc.isSwitching = "out";
|
|
36262
35754
|
}
|
|
36263
35755
|
var itemBoostType = attacker.hasItem("Dragon Fang") ? void 0 : (0, items_1.getItemBoostType)(attacker.hasItem("Dragon Scale") ? "Dragon Fang" : attacker.item);
|
|
36264
|
-
if (move.hasType(itemBoostType)) {
|
|
35756
|
+
if (move.hasType(itemBoostType) || move.named("Struggle") && itemBoostType === "Normal") {
|
|
36265
35757
|
baseDamage = Math.floor(baseDamage * 1.1);
|
|
36266
35758
|
desc.attackerItem = attacker.item;
|
|
36267
35759
|
}
|
|
@@ -36520,7 +36012,7 @@ var require_gen3 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
36520
36012
|
at *= 2;
|
|
36521
36013
|
desc.attackerAbility = attacker.ability;
|
|
36522
36014
|
}
|
|
36523
|
-
if (!attacker.hasItem("Sea Incense") && move.hasType((0, items_1.getItemBoostType)(attacker.item))) {
|
|
36015
|
+
if (!attacker.hasItem("Sea Incense") && move.hasType((0, items_1.getItemBoostType)(attacker.item)) || move.named("Struggle") && (0, items_1.getItemBoostType)(attacker.item) === "Normal") {
|
|
36524
36016
|
at = Math.floor(at * 1.1);
|
|
36525
36017
|
desc.attackerItem = attacker.item;
|
|
36526
36018
|
} else if (attacker.hasItem("Sea Incense") && move.hasType("Water")) {
|
|
@@ -36776,15 +36268,24 @@ var require_gen4 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
36776
36268
|
}
|
|
36777
36269
|
baseDamage = calculateFinalModsDPP(baseDamage, attacker, move, field, desc, isCritical);
|
|
36778
36270
|
var stabMod = 1;
|
|
36779
|
-
if (move.hasType.apply(move, __spreadArray([], __read(attacker.types), false)))
|
|
36780
|
-
|
|
36781
|
-
|
|
36782
|
-
|
|
36271
|
+
if (move.hasType.apply(move, __spreadArray([], __read(attacker.types), false))) {
|
|
36272
|
+
if (attacker.hasAbility("Adaptability")) {
|
|
36273
|
+
stabMod = 2;
|
|
36274
|
+
desc.attackerAbility = attacker.ability;
|
|
36275
|
+
} else stabMod = 1.5;
|
|
36276
|
+
}
|
|
36783
36277
|
var filterMod = 1;
|
|
36784
36278
|
if (defender.hasAbility("Filter", "Solid Rock") && typeEffectiveness > 1) {
|
|
36785
36279
|
filterMod = .75;
|
|
36786
36280
|
desc.defenderAbility = defender.ability;
|
|
36787
36281
|
}
|
|
36282
|
+
var metronomeMod = 1;
|
|
36283
|
+
if (attacker.hasItem("Metronome") && move.timesUsedWithMetronome >= 1) {
|
|
36284
|
+
var timesUsedWithMetronome = Math.floor(move.timesUsedWithMetronome);
|
|
36285
|
+
if (timesUsedWithMetronome <= 9) metronomeMod = 1 + .1 * timesUsedWithMetronome;
|
|
36286
|
+
else metronomeMod = 2;
|
|
36287
|
+
desc.attackerItem = attacker.item;
|
|
36288
|
+
}
|
|
36788
36289
|
var ebeltMod = 1;
|
|
36789
36290
|
if (attacker.hasItem("Expert Belt") && typeEffectiveness > 1) {
|
|
36790
36291
|
ebeltMod = 1.2;
|
|
@@ -36808,6 +36309,7 @@ var require_gen4 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
36808
36309
|
damage[i] = Math.floor(damage[i] * type2Effectiveness);
|
|
36809
36310
|
damage[i] = Math.floor(damage[i] * filterMod);
|
|
36810
36311
|
damage[i] = Math.floor(damage[i] * ebeltMod);
|
|
36312
|
+
damage[i] = Math.floor(damage[i] * metronomeMod);
|
|
36811
36313
|
damage[i] = Math.floor(damage[i] * tintedMod);
|
|
36812
36314
|
damage[i] = Math.floor(damage[i] * berryMod);
|
|
36813
36315
|
damage[i] = Math.max(1, damage[i]);
|
|
@@ -36843,6 +36345,7 @@ var require_gen4 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
36843
36345
|
newFinalDamage = Math.floor(newFinalDamage * type2Effectiveness);
|
|
36844
36346
|
newFinalDamage = Math.floor(newFinalDamage * filterMod);
|
|
36845
36347
|
newFinalDamage = Math.floor(newFinalDamage * ebeltMod);
|
|
36348
|
+
newFinalDamage = Math.floor(newFinalDamage * metronomeMod);
|
|
36846
36349
|
newFinalDamage = Math.floor(newFinalDamage * tintedMod);
|
|
36847
36350
|
newFinalDamage = Math.max(1, newFinalDamage);
|
|
36848
36351
|
damageArray[i] = newFinalDamage;
|
|
@@ -36958,7 +36461,7 @@ var require_gen4 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
36958
36461
|
if (attacker.hasItem("Muscle Band") && isPhysical || attacker.hasItem("Wise Glasses") && !isPhysical) {
|
|
36959
36462
|
basePower = Math.floor(basePower * 1.1);
|
|
36960
36463
|
desc.attackerItem = attacker.item;
|
|
36961
|
-
} else if (move.hasType((0, items_1.getItemBoostType)(attacker.item)) || attacker.hasItem("Adamant Orb") && attacker.named("Dialga") && move.hasType("Steel", "Dragon") || attacker.hasItem("Lustrous Orb") && attacker.named("Palkia") && move.hasType("Water", "Dragon") || attacker.hasItem("Griseous Orb") && attacker.named("Giratina-Origin") && move.hasType("Ghost", "Dragon")) {
|
|
36464
|
+
} else if (move.hasType((0, items_1.getItemBoostType)(attacker.item)) || attacker.hasItem("Adamant Orb") && attacker.named("Dialga") && move.hasType("Steel", "Dragon") || attacker.hasItem("Lustrous Orb") && attacker.named("Palkia") && move.hasType("Water", "Dragon") || attacker.hasItem("Griseous Orb") && attacker.named("Giratina-Origin") && move.hasType("Ghost", "Dragon") || move.named("Struggle") && (0, items_1.getItemBoostType)(attacker.item) === "Normal") {
|
|
36962
36465
|
basePower = Math.floor(basePower * 1.2);
|
|
36963
36466
|
desc.attackerItem = attacker.item;
|
|
36964
36467
|
}
|
|
@@ -37189,9 +36692,10 @@ var require_gen56 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
37189
36692
|
desc.attackerItem = attacker.item;
|
|
37190
36693
|
desc.moveBP = move.bp;
|
|
37191
36694
|
desc.moveType = move.type;
|
|
37192
|
-
} else if (move.named("Nature Power"))
|
|
37193
|
-
|
|
37194
|
-
|
|
36695
|
+
} else if (move.named("Nature Power")) {
|
|
36696
|
+
if (gen.num === 5) move.type = "Ground";
|
|
36697
|
+
else move.type = field.hasTerrain("Electric") ? "Electric" : field.hasTerrain("Grassy") ? "Grass" : field.hasTerrain("Misty") ? "Fairy" : "Normal";
|
|
36698
|
+
} else if (move.named("Brick Break")) {
|
|
37195
36699
|
field.defenderSide.isReflect = false;
|
|
37196
36700
|
field.defenderSide.isLightScreen = false;
|
|
37197
36701
|
}
|
|
@@ -37299,7 +36803,10 @@ var require_gen56 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
37299
36803
|
var newFinalMods = calculateFinalModsBWXY(gen, attacker, defender, move, field, desc, isCritical, typeEffectiveness, times);
|
|
37300
36804
|
var newFinalMod = (0, util_2.chainMods)(newFinalMods, 41, 131072);
|
|
37301
36805
|
var damageArray = [];
|
|
37302
|
-
for (var i = 0; i < 16; i++)
|
|
36806
|
+
for (var i = 0; i < 16; i++) {
|
|
36807
|
+
var newFinalDamage = (0, util_2.getFinalDamage)(newBaseDamage, i, typeEffectiveness, applyBurn, stabMod, newFinalMod);
|
|
36808
|
+
damageArray[i] = newFinalDamage;
|
|
36809
|
+
}
|
|
37303
36810
|
damageMatrix[times] = damageArray;
|
|
37304
36811
|
}
|
|
37305
36812
|
result.damage = damageMatrix;
|
|
@@ -37453,7 +36960,7 @@ var require_gen56 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
37453
36960
|
if (attacker.hasAbility("Technician") && basePower <= 60 || attacker.hasAbility("Flare Boost") && attacker.hasStatus("brn") && move.category === "Special" || attacker.hasAbility("Toxic Boost") && attacker.hasStatus("psn", "tox") && move.category === "Physical") {
|
|
37454
36961
|
bpMods.push(6144);
|
|
37455
36962
|
desc.attackerAbility = attacker.ability;
|
|
37456
|
-
} else if (attacker.hasAbility("Analytic") && turnOrder !== "first") {
|
|
36963
|
+
} else if (attacker.hasAbility("Analytic") && (turnOrder !== "first" || attacker.abilityOn)) {
|
|
37457
36964
|
bpMods.push(5325);
|
|
37458
36965
|
desc.attackerAbility = attacker.ability;
|
|
37459
36966
|
} else if (attacker.hasAbility("Sand Force") && field.hasWeather("Sand") && move.hasType("Rock", "Ground", "Steel")) {
|
|
@@ -37532,14 +37039,16 @@ var require_gen56 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
37532
37039
|
var isFieldDarkAura = field.isDarkAura && move.type === "Dark";
|
|
37533
37040
|
var auraActive = isAttackerAura || isDefenderAura || isFieldFairyAura || isFieldDarkAura;
|
|
37534
37041
|
var auraBreak = isFieldAuraBreak || isUserAuraBreak;
|
|
37535
|
-
if (auraActive)
|
|
37536
|
-
|
|
37537
|
-
|
|
37538
|
-
|
|
37539
|
-
|
|
37540
|
-
|
|
37541
|
-
|
|
37542
|
-
|
|
37042
|
+
if (auraActive) {
|
|
37043
|
+
if (auraBreak) {
|
|
37044
|
+
bpMods.push(3072);
|
|
37045
|
+
desc.attackerAbility = attacker.ability;
|
|
37046
|
+
desc.defenderAbility = defender.ability;
|
|
37047
|
+
} else {
|
|
37048
|
+
bpMods.push(5448);
|
|
37049
|
+
if (isAttackerAura) desc.attackerAbility = attacker.ability;
|
|
37050
|
+
if (isDefenderAura) desc.defenderAbility = defender.ability;
|
|
37051
|
+
}
|
|
37543
37052
|
}
|
|
37544
37053
|
if ((0, util_2.isGrounded)(attacker, field)) {
|
|
37545
37054
|
if (field.hasTerrain("Electric") && move.hasType("Electric") || field.hasTerrain("Grassy") && move.hasType("Grass")) {
|
|
@@ -37884,10 +37393,11 @@ var require_gen789 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
37884
37393
|
desc.terrain = field.terrain;
|
|
37885
37394
|
if (move.isMax) desc.moveType = type;
|
|
37886
37395
|
if (!(move.named("Nature Power") && attacker.hasAbility("Prankster")) && (defender.types.includes("Dark") || field.hasTerrain("Psychic") && (0, util_2.isGrounded)(defender, field))) desc.moveType = type;
|
|
37887
|
-
} else if (move.originalName === "Revelation Dance")
|
|
37888
|
-
|
|
37889
|
-
|
|
37890
|
-
|
|
37396
|
+
} else if (move.originalName === "Revelation Dance") {
|
|
37397
|
+
if (attacker.teraType) type = attacker.teraType;
|
|
37398
|
+
else if (attacker.types[0] === "???" && attacker.types[1]) type = attacker.types[1];
|
|
37399
|
+
else type = attacker.types[0];
|
|
37400
|
+
} else if (move.named("Aura Wheel") && attacker.named("Morpeko-Hangry")) type = "Dark";
|
|
37891
37401
|
else if (move.named("Raging Bull")) {
|
|
37892
37402
|
if (attacker.named("Tauros")) type = "Normal";
|
|
37893
37403
|
else if (attacker.named("Tauros-Paldea-Aqua")) type = "Water";
|
|
@@ -37926,7 +37436,7 @@ var require_gen789 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
37926
37436
|
else if (isPixilate = attacker.hasAbility("Pixilate") && normal) type = "Fairy";
|
|
37927
37437
|
else if (isRefrigerate = attacker.hasAbility("Refrigerate") && normal) type = "Ice";
|
|
37928
37438
|
else if (isNormalize = attacker.hasAbility("Normalize")) type = "Normal";
|
|
37929
|
-
else if (
|
|
37439
|
+
else if (isDragonize = attacker.hasAbility("Dragonize") && normal) type = "Dragon";
|
|
37930
37440
|
if (isGalvanize || isPixilate || isRefrigerate || isAerilate || isNormalize || isDragonize) {
|
|
37931
37441
|
desc.attackerAbility = attacker.ability;
|
|
37932
37442
|
hasAteAbilityTypeChange = true;
|
|
@@ -38067,7 +37577,10 @@ var require_gen789 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
38067
37577
|
var newFinalMods = calculateFinalModsSMSSSV(gen, attacker, defender, move, field, desc, isCritical, typeEffectiveness, times);
|
|
38068
37578
|
var newFinalMod = (0, util_2.chainMods)(newFinalMods, 41, 131072);
|
|
38069
37579
|
var damageArray = [];
|
|
38070
|
-
for (var i = 0; i < 16; i++)
|
|
37580
|
+
for (var i = 0; i < 16; i++) {
|
|
37581
|
+
var newFinalDamage = (0, util_2.getFinalDamage)(newBaseDamage, i, typeEffectiveness, applyBurn, stabMod, newFinalMod, protect);
|
|
37582
|
+
damageArray[i] = newFinalDamage;
|
|
37583
|
+
}
|
|
38071
37584
|
damageMatrix[times] = damageArray;
|
|
38072
37585
|
}
|
|
38073
37586
|
result.damage = damageMatrix;
|
|
@@ -38338,16 +37851,18 @@ var require_gen789 = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
38338
37851
|
var isFieldDarkAura = field.isDarkAura && move.type === "Dark";
|
|
38339
37852
|
var auraActive = isAttackerAura || isDefenderAura || isFieldFairyAura || isFieldDarkAura;
|
|
38340
37853
|
var auraBreak = isFieldAuraBreak || isUserAuraBreak;
|
|
38341
|
-
if (auraActive)
|
|
38342
|
-
|
|
38343
|
-
|
|
38344
|
-
|
|
38345
|
-
|
|
38346
|
-
|
|
38347
|
-
|
|
38348
|
-
|
|
37854
|
+
if (auraActive) {
|
|
37855
|
+
if (auraBreak) {
|
|
37856
|
+
bpMods.push(3072);
|
|
37857
|
+
desc.attackerAbility = attacker.ability;
|
|
37858
|
+
desc.defenderAbility = defender.ability;
|
|
37859
|
+
} else {
|
|
37860
|
+
bpMods.push(5448);
|
|
37861
|
+
if (isAttackerAura) desc.attackerAbility = attacker.ability;
|
|
37862
|
+
if (isDefenderAura) desc.defenderAbility = defender.ability;
|
|
37863
|
+
}
|
|
38349
37864
|
}
|
|
38350
|
-
if (attacker.hasAbility("Sheer Force") && (move.secondaries || move.named("Electro Shot", "Order Up")) && !move.isMax || attacker.hasAbility("Sand Force") && field.hasWeather("Sand") && move.hasType("Rock", "Ground", "Steel") || attacker.hasAbility("Analytic") && (turnOrder !== "first" || field.defenderSide.isSwitching === "out") || attacker.hasAbility("Tough Claws") && move.flags.contact || attacker.hasAbility("Punk Rock") && move.flags.sound) {
|
|
37865
|
+
if (attacker.hasAbility("Sheer Force") && (move.secondaries || move.named("Electro Shot", "Order Up")) && !move.isMax || attacker.hasAbility("Sand Force") && field.hasWeather("Sand") && move.hasType("Rock", "Ground", "Steel") || attacker.hasAbility("Analytic") && (turnOrder !== "first" || field.defenderSide.isSwitching === "out" || attacker.abilityOn) || attacker.hasAbility("Tough Claws") && move.flags.contact || attacker.hasAbility("Punk Rock") && move.flags.sound) {
|
|
38351
37866
|
bpMods.push(5325);
|
|
38352
37867
|
desc.attackerAbility = attacker.ability;
|
|
38353
37868
|
}
|
|
@@ -38755,13 +38270,13 @@ var require_pokemon = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
38755
38270
|
this.gen = gen;
|
|
38756
38271
|
this.name = options.name || name;
|
|
38757
38272
|
this.types = this.species.types;
|
|
38758
|
-
this.weightkg = this.species.weightkg;
|
|
38759
38273
|
this.level = gen.num === 0 ? 50 : options.level || 100;
|
|
38760
38274
|
this.gender = options.gender || this.species.gender || "M";
|
|
38761
38275
|
this.ability = options.ability || ((_b = this.species.abilities) === null || _b === void 0 ? void 0 : _b[0]) || void 0;
|
|
38762
38276
|
this.abilityOn = !!options.abilityOn;
|
|
38763
|
-
this.isDynamaxed =
|
|
38277
|
+
this.isDynamaxed = options.isDynamaxed;
|
|
38764
38278
|
this.dynamaxLevel = this.isDynamaxed ? options.dynamaxLevel === void 0 ? 10 : options.dynamaxLevel : void 0;
|
|
38279
|
+
this.weightkg = this.isDynamaxed ? 0 : this.species.weightkg;
|
|
38765
38280
|
this.alliesFainted = options.alliesFainted;
|
|
38766
38281
|
this.boostedStat = options.boostedStat;
|
|
38767
38282
|
this.teraType = options.teraType;
|
|
@@ -38770,7 +38285,6 @@ var require_pokemon = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
38770
38285
|
this.ivs = Pokemon.withDefault(gen, gen.num === 0 ? {} : options.ivs, 31);
|
|
38771
38286
|
this.evs = Pokemon.withDefault(gen, options.evs, gen.num === 0 || gen.num >= 3 ? 0 : 252);
|
|
38772
38287
|
this.boosts = Pokemon.withDefault(gen, options.boosts, 0, false);
|
|
38773
|
-
if (this.weightkg === 0 && !this.isDynamaxed && this.species.baseSpecies) this.weightkg = gen.species.get((0, util_1.toID)(this.species.baseSpecies)).weightkg;
|
|
38774
38288
|
if (gen.num > 0 && gen.num < 3) this.ivs.hp = stats_1.Stats.DVToIV(stats_1.Stats.getHPDV({
|
|
38775
38289
|
atk: this.ivs.atk,
|
|
38776
38290
|
def: this.ivs.def,
|
|
@@ -38910,7 +38424,7 @@ var require_pokemon = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
38910
38424
|
var cur = {};
|
|
38911
38425
|
if (current) {
|
|
38912
38426
|
(0, util_1.assignWithout)(cur, current, SPC);
|
|
38913
|
-
if (current.spc) {
|
|
38427
|
+
if (current.spc !== void 0) {
|
|
38914
38428
|
cur.spa = current.spc;
|
|
38915
38429
|
cur.spd = current.spc;
|
|
38916
38430
|
}
|
|
@@ -38953,7 +38467,7 @@ var require_move = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
38953
38467
|
var data = (0, util_1.extend)(true, { name }, gen.moves.get((0, util_1.toID)(name)), options.overrides);
|
|
38954
38468
|
this.hits = 1;
|
|
38955
38469
|
if (options.useMax && data.maxMove) {
|
|
38956
|
-
var maxMoveName_1 = getMaxMoveName(data.type, data.name,
|
|
38470
|
+
var maxMoveName_1 = getMaxMoveName(gen, data.type, data.name, !!(data.category === "Status"), options.ability, options.overrideMove);
|
|
38957
38471
|
var maxMove_1 = gen.moves.get((0, util_1.toID)(maxMoveName_1));
|
|
38958
38472
|
var maxPower = function() {
|
|
38959
38473
|
if ([
|
|
@@ -38979,10 +38493,12 @@ var require_move = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
38979
38493
|
category: data.category
|
|
38980
38494
|
});
|
|
38981
38495
|
} else {
|
|
38982
|
-
if (data.multihit)
|
|
38983
|
-
|
|
38984
|
-
|
|
38985
|
-
|
|
38496
|
+
if (data.multihit) {
|
|
38497
|
+
if (data.multiaccuracy && typeof data.multihit === "number") this.hits = options.hits || data.multihit;
|
|
38498
|
+
else if (typeof data.multihit === "number") this.hits = data.multihit;
|
|
38499
|
+
else if (options.hits) this.hits = options.hits;
|
|
38500
|
+
else this.hits = options.ability === "Skill Link" ? data.multihit[1] : data.multihit[0] + 1;
|
|
38501
|
+
}
|
|
38986
38502
|
this.timesUsedWithMetronome = options.timesUsedWithMetronome;
|
|
38987
38503
|
}
|
|
38988
38504
|
this.gen = gen;
|
|
@@ -38991,8 +38507,8 @@ var require_move = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
38991
38507
|
this.item = options.item;
|
|
38992
38508
|
this.useZ = options.useZ;
|
|
38993
38509
|
this.useMax = options.useMax;
|
|
38510
|
+
this.overrideMove = options.overrideMove;
|
|
38994
38511
|
this.overrides = options.overrides;
|
|
38995
|
-
this.species = options.species;
|
|
38996
38512
|
this.bp = data.basePower;
|
|
38997
38513
|
var typelessDamage = (gen.num === 0 || gen.num >= 2) && data.id === "struggle" || gen.num > 0 && gen.num <= 4 && ["futuresight", "doomdesire"].includes(data.id);
|
|
38998
38514
|
this.type = typelessDamage ? "???" : data.type;
|
|
@@ -39048,9 +38564,9 @@ var require_move = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
39048
38564
|
return new Move(this.gen, this.originalName, {
|
|
39049
38565
|
ability: this.ability,
|
|
39050
38566
|
item: this.item,
|
|
39051
|
-
species: this.species,
|
|
39052
38567
|
useZ: this.useZ,
|
|
39053
38568
|
useMax: this.useMax,
|
|
38569
|
+
overrideMove: this.overrideMove,
|
|
39054
38570
|
isCrit: this.isCrit,
|
|
39055
38571
|
isStellarFirstUse: this.isStellarFirstUse,
|
|
39056
38572
|
hits: this.hits,
|
|
@@ -39105,64 +38621,16 @@ var require_move = /* @__PURE__ */ __commonJSMin(((exports) => {
|
|
|
39105
38621
|
Steel: "Corkscrew Crash",
|
|
39106
38622
|
Water: "Hydro Vortex"
|
|
39107
38623
|
};
|
|
39108
|
-
function getMaxMoveName(moveType, moveName,
|
|
38624
|
+
function getMaxMoveName(gen, moveType, moveName, isStatus, pokemonAbility, isGmax) {
|
|
39109
38625
|
if (isStatus) return "Max Guard";
|
|
39110
|
-
if (pokemonAbility === "Normalize")
|
|
39111
|
-
if (moveType === "
|
|
39112
|
-
if (
|
|
39113
|
-
if (
|
|
39114
|
-
if (
|
|
39115
|
-
|
|
39116
|
-
if (moveType === "Normal") {
|
|
39117
|
-
if (pokemonSpecies === "Eevee-Gmax") return "G-Max Cuddle";
|
|
39118
|
-
if (pokemonSpecies === "Meowth-Gmax") return "G-Max Gold Rush";
|
|
39119
|
-
if (pokemonSpecies === "Snorlax-Gmax") return "G-Max Replenish";
|
|
39120
|
-
if (!(moveName === "Weather Ball" || moveName === "Terrain Pulse")) {
|
|
39121
|
-
if (pokemonAbility === "Pixilate") return "Max Starfall";
|
|
39122
|
-
if (pokemonAbility === "Aerilate") return "Max Airstream";
|
|
39123
|
-
if (pokemonAbility === "Refrigerate") return "Max Hailstorm";
|
|
39124
|
-
if (pokemonAbility === "Galvanize") return "Max Lightning";
|
|
39125
|
-
}
|
|
38626
|
+
if (pokemonAbility === "Normalize") moveType = "Normal";
|
|
38627
|
+
if (moveType === "Normal" && !(moveName === "Weather Ball" || moveName === "Terrain Pulse")) {
|
|
38628
|
+
if (pokemonAbility === "Pixilate") moveType = "Fairy";
|
|
38629
|
+
if (pokemonAbility === "Aerilate") moveType = "Flying";
|
|
38630
|
+
if (pokemonAbility === "Refrigerate") moveType = "Ice";
|
|
38631
|
+
if (pokemonAbility === "Galvanize") moveType = "Electric";
|
|
39126
38632
|
}
|
|
39127
|
-
if (moveType ===
|
|
39128
|
-
if (pokemonSpecies === "Alcremie-Gmax") return "G-Max Finale";
|
|
39129
|
-
if (pokemonSpecies === "Hatterene-Gmax") return "G-Max Smite";
|
|
39130
|
-
}
|
|
39131
|
-
if (moveType === "Steel") {
|
|
39132
|
-
if (pokemonSpecies === "Copperajah-Gmax") return "G-Max Steelsurge";
|
|
39133
|
-
if (pokemonSpecies === "Melmetal-Gmax") return "G-Max Meltdown";
|
|
39134
|
-
}
|
|
39135
|
-
if (moveType === "Electric") {
|
|
39136
|
-
if (pokemonSpecies === "Pikachu-Gmax") return "G-Max Volt Crash";
|
|
39137
|
-
if ((pokemonSpecies === null || pokemonSpecies === void 0 ? void 0 : pokemonSpecies.startsWith("Toxtricity")) && (pokemonSpecies === null || pokemonSpecies === void 0 ? void 0 : pokemonSpecies.endsWith("Gmax"))) return "G-Max Stun Shock";
|
|
39138
|
-
}
|
|
39139
|
-
if (moveType === "Grass") {
|
|
39140
|
-
if (pokemonSpecies === "Appletun-Gmax") return "G-Max Sweetness";
|
|
39141
|
-
if (pokemonSpecies === "Flapple-Gmax") return "G-Max Tartness";
|
|
39142
|
-
if (pokemonSpecies === "Rillaboom-Gmax") return "G-Max Drum Solo";
|
|
39143
|
-
if (pokemonSpecies === "Venusaur-Gmax") return "G-Max Vine Lash";
|
|
39144
|
-
}
|
|
39145
|
-
if (moveType === "Water") {
|
|
39146
|
-
if (pokemonSpecies === "Blastoise-Gmax") return "G-Max Cannonade";
|
|
39147
|
-
if (pokemonSpecies === "Drednaw-Gmax") return "G-Max Stonesurge";
|
|
39148
|
-
if (pokemonSpecies === "Inteleon-Gmax") return "G-Max Hydrosnipe";
|
|
39149
|
-
if (pokemonSpecies === "Kingler-Gmax") return "G-Max Foam Burst";
|
|
39150
|
-
if (pokemonSpecies === "Urshifu-Rapid-Strike-Gmax") return "G-Max Rapid Flow";
|
|
39151
|
-
}
|
|
39152
|
-
if (moveType === "Dark") {
|
|
39153
|
-
if (pokemonSpecies === "Grimmsnarl-Gmax") return "G-Max Snooze";
|
|
39154
|
-
if (pokemonSpecies === "Urshifu-Gmax") return "G-Max One Blow";
|
|
39155
|
-
}
|
|
39156
|
-
if (moveType === "Poison" && pokemonSpecies === "Garbodor-Gmax") return "G-Max Malodor";
|
|
39157
|
-
if (moveType === "Fighting" && pokemonSpecies === "Machamp-Gmax") return "G-Max Chi Strike";
|
|
39158
|
-
if (moveType === "Ghost" && pokemonSpecies === "Gengar-Gmax") return "G-Max Terror";
|
|
39159
|
-
if (moveType === "Ice" && pokemonSpecies === "Lapras-Gmax") return "G-Max Resonance";
|
|
39160
|
-
if (moveType === "Flying" && pokemonSpecies === "Corviknight-Gmax") return "G-Max Wind Rage";
|
|
39161
|
-
if (moveType === "Dragon" && pokemonSpecies === "Duraludon-Gmax") return "G-Max Depletion";
|
|
39162
|
-
if (moveType === "Psychic" && pokemonSpecies === "Orbeetle-Gmax") return "G-Max Gravitas";
|
|
39163
|
-
if (moveType === "Rock" && pokemonSpecies === "Coalossal-Gmax") return "G-Max Volcalith";
|
|
39164
|
-
if (moveType === "Ground" && pokemonSpecies === "Sandaconda-Gmax") return "G-Max Sandblast";
|
|
39165
|
-
if (moveType === "Dark" && pokemonSpecies === "Grimmsnarl-Gmax") return "G-Max Snooze";
|
|
38633
|
+
if (isGmax && moveType === gen.moves.get((0, util_1.toID)(isGmax)).type) return isGmax;
|
|
39166
38634
|
return "Max " + MAXMOVES_TYPING[moveType];
|
|
39167
38635
|
}
|
|
39168
38636
|
exports.getMaxMoveName = getMaxMoveName;
|
|
@@ -39483,7 +38951,8 @@ var DamageCalculatorAdapter = class {
|
|
|
39483
38951
|
const attacker = new import_dist.Pokemon(gen, attackerName, buildPokemonOptions(input.attacker, attackerNature, attackerAbility, attackerItem, this.entryProvider?.getByName(attackerName)));
|
|
39484
38952
|
const defender = new import_dist.Pokemon(gen, defenderName, buildPokemonOptions(input.defender, defenderNature, defenderAbility, defenderItem, this.entryProvider?.getByName(defenderName)));
|
|
39485
38953
|
const move = new import_dist.Move(gen, moveName, { isCrit: input.conditions?.isCriticalHit });
|
|
39486
|
-
const
|
|
38954
|
+
const field = buildField(input.conditions);
|
|
38955
|
+
const result = (0, import_dist.calculate)(gen, attacker, defender, move, field);
|
|
39487
38956
|
const [min, max] = result.range();
|
|
39488
38957
|
const defenderMaxHP = defender.maxHP();
|
|
39489
38958
|
const minPercent = toPercent(min, defenderMaxHP);
|
|
@@ -39553,8 +39022,11 @@ var DamageCalculatorAdapter = class {
|
|
|
39553
39022
|
createPokemonObject(input) {
|
|
39554
39023
|
const gen = this.getGen();
|
|
39555
39024
|
const resolvedName = resolveNameWithFallback(this.resolvers.pokemon, input.name, "ポケモン");
|
|
39025
|
+
const nature = this.resolveNature(input.nature);
|
|
39026
|
+
const ability = resolveOptionalName$2(this.resolvers.ability, input.ability, "特性");
|
|
39027
|
+
const item = resolveOptionalName$2(this.resolvers.item, input.item, "持ち物");
|
|
39556
39028
|
return {
|
|
39557
|
-
pokemon: new import_dist.Pokemon(gen, resolvedName, buildPokemonOptions(input,
|
|
39029
|
+
pokemon: new import_dist.Pokemon(gen, resolvedName, buildPokemonOptions(input, nature, ability, item, this.entryProvider?.getByName(resolvedName))),
|
|
39558
39030
|
resolvedName
|
|
39559
39031
|
};
|
|
39560
39032
|
}
|
|
@@ -76017,10 +75489,12 @@ var ErrorTracker = class {
|
|
|
76017
75489
|
this.pmatches = [];
|
|
76018
75490
|
this.regexset.clear();
|
|
76019
75491
|
}
|
|
76020
|
-
if (this.mxpos.overallPos === pos.overallPos)
|
|
76021
|
-
if (
|
|
76022
|
-
|
|
76023
|
-
|
|
75492
|
+
if (this.mxpos.overallPos === pos.overallPos) {
|
|
75493
|
+
if (att.kind === "RegexMatch") {
|
|
75494
|
+
if (!this.regexset.has(att.literal)) this.pmatches.push(att);
|
|
75495
|
+
this.regexset.add(att.literal);
|
|
75496
|
+
} else this.pmatches.push(att);
|
|
75497
|
+
}
|
|
76024
75498
|
}
|
|
76025
75499
|
getErr() {
|
|
76026
75500
|
if (this.mxpos.overallPos !== -1) return new SyntaxErr(this.mxpos, this.pmatches);
|
|
@@ -76344,7 +75818,8 @@ function registerLearnsetTool(server) {
|
|
|
76344
75818
|
server.tool(TOOL_NAME$12, TOOL_DESCRIPTION$12, inputSchema$9, async (args) => {
|
|
76345
75819
|
try {
|
|
76346
75820
|
const englishName = resolvePokemonNameEn(args.name);
|
|
76347
|
-
const
|
|
75821
|
+
const pokemonId = toDataId(englishName);
|
|
75822
|
+
const moveIds = championsLearnsets[pokemonId];
|
|
76348
75823
|
if (moveIds === void 0) throw new Error(`ポケモン「${args.name}」のチャンピオンズ向け learnset データが見つかりません。`);
|
|
76349
75824
|
const output = {
|
|
76350
75825
|
pokemon: englishName,
|