@nonz250/ai-rotom 1.2.0 → 1.2.2

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/dist/index.mjs CHANGED
@@ -169,7 +169,7 @@ function toId$1(value) {
169
169
  * ぼうおん(Soundproof)は「おと系技」という技フラグ依存で、タイプ相性では
170
170
  * 表現できないためここには含めない(issue スコープ外)。
171
171
  */
172
- const TYPE_IMMUNITY_ABILITIES = new Map([
172
+ const TYPE_IMMUNITY_ABILITIES = /* @__PURE__ */ new Map([
173
173
  ["levitate", "Ground"],
174
174
  ["flashfire", "Fire"],
175
175
  ["waterabsorb", "Water"],
@@ -180,7 +180,7 @@ const TYPE_IMMUNITY_ABILITIES = new Map([
180
180
  ["sapsipper", "Grass"]
181
181
  ]);
182
182
  /** 効果抜群時に 0.75 倍にする特性 ID のセット */
183
- const FILTER_LIKE_ABILITIES = new Set([
183
+ const FILTER_LIKE_ABILITIES = /* @__PURE__ */ new Set([
184
184
  "filter",
185
185
  "solidrock",
186
186
  "prismarmor"
@@ -325,7 +325,7 @@ function toId(value) {
325
325
  *
326
326
  * `data/champions/abilities.json` の id と一致する。
327
327
  */
328
- const OFFENSIVE_TYPE_OVERRIDES = new Map([
328
+ const OFFENSIVE_TYPE_OVERRIDES = /* @__PURE__ */ new Map([
329
329
  ["pixilate", "Fairy"],
330
330
  ["galvanize", "Electric"],
331
331
  ["refrigerate", "Ice"],
@@ -953,8 +953,10 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
953
953
  "Dry Skin",
954
954
  "Early Bird",
955
955
  "Earth Eater",
956
+ "Eelevate",
956
957
  "Electromorphosis",
957
958
  "Fairy Aura",
959
+ "Fire Mane",
958
960
  "Filter",
959
961
  "Flame Body",
960
962
  "Flash Fire",
@@ -1142,7 +1144,6 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
1142
1144
  "Commander",
1143
1145
  "Costar",
1144
1146
  "Cud Chew",
1145
- "Dragonize",
1146
1147
  "Earth Eater",
1147
1148
  "Electromorphosis",
1148
1149
  "Embody Aspect (Cornerstone)",
@@ -1154,12 +1155,10 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
1154
1155
  "Hadron Engine",
1155
1156
  "Hospitality",
1156
1157
  "Lingering Aroma",
1157
- "Mega Sol",
1158
1158
  "Mind's Eye",
1159
1159
  "Mycelium Might",
1160
1160
  "Opportunist",
1161
1161
  "Orichalcum Pulse",
1162
- "Piercing Drill",
1163
1162
  "Poison Puppeteer",
1164
1163
  "Protosynthesis",
1165
1164
  "Purifying Salt",
@@ -1167,7 +1166,6 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
1167
1166
  "Rocky Payload",
1168
1167
  "Seed Sower",
1169
1168
  "Sharpness",
1170
- "Spicy Spray",
1171
1169
  "Supersweet Syrup",
1172
1170
  "Supreme Overlord",
1173
1171
  "Sword of Ruin",
@@ -1182,7 +1180,13 @@ var require_abilities = /* @__PURE__ */ __commonJSMin(((exports) => {
1182
1180
  "Well-Baked Body",
1183
1181
  "Wind Power",
1184
1182
  "Wind Rider",
1185
- "Zero to Hero"
1183
+ "Zero to Hero",
1184
+ "Dragonize",
1185
+ "Eelevate",
1186
+ "Fire Mane",
1187
+ "Mega Sol",
1188
+ "Piercing Drill",
1189
+ "Spicy Spray"
1186
1190
  ])
1187
1191
  ];
1188
1192
  exports.Abilities = function() {
@@ -1933,8 +1937,10 @@ var require_items$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
1933
1937
  "Ampharosite",
1934
1938
  "Audinite",
1935
1939
  "Banettite",
1940
+ "Barbaracite",
1936
1941
  "Beedrillite",
1937
1942
  "Blastoisinite",
1943
+ "Blazikenite",
1938
1944
  "Cameruptite",
1939
1945
  "Chandelurite",
1940
1946
  "Charizardite X",
@@ -1944,10 +1950,13 @@ var require_items$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
1944
1950
  "Clefablite",
1945
1951
  "Crabominite",
1946
1952
  "Delphoxite",
1953
+ "Dragalgite",
1947
1954
  "Dragoninite",
1948
1955
  "Drampanite",
1956
+ "Eelektrossite",
1949
1957
  "Emboarite",
1950
1958
  "Excadrite",
1959
+ "Falinksite",
1951
1960
  "Feraligite",
1952
1961
  "Floettite",
1953
1962
  "Froslassite",
@@ -1966,27 +1975,38 @@ var require_items$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
1966
1975
  "Kangaskhanite",
1967
1976
  "Lopunnite",
1968
1977
  "Lucarionite",
1978
+ "Malamarite",
1969
1979
  "Manectite",
1980
+ "Mawilite",
1970
1981
  "Medichamite",
1971
1982
  "Meganiumite",
1972
1983
  "Meowsticite",
1984
+ "Metagrossite",
1973
1985
  "Pidgeotite",
1974
1986
  "Pinsirite",
1987
+ "Pyroarite",
1988
+ "Raichunite X",
1989
+ "Raichunite Y",
1975
1990
  "Sablenite",
1991
+ "Sceptilite",
1976
1992
  "Scizorite",
1993
+ "Scolipite",
1977
1994
  "Scovillainite",
1995
+ "Scraftinite",
1978
1996
  "Sharpedonite",
1979
1997
  "Skarmorite",
1980
1998
  "Slowbronite",
1981
1999
  "Spell Tag",
2000
+ "Staraptite",
1982
2001
  "Starminite",
1983
2002
  "Steelixite",
2003
+ "Swampertite",
1984
2004
  "Tyranitarite",
1985
2005
  "Venusaurite",
1986
2006
  "Victreebelite",
1987
- "White Herb",
1988
2007
  "Aspear Berry",
1989
2008
  "Babiri Berry",
2009
+ "Big Root",
1990
2010
  "Black Belt",
1991
2011
  "Black Glasses",
1992
2012
  "Bright Powder",
@@ -1999,23 +2019,32 @@ var require_items$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
1999
2019
  "Chople Berry",
2000
2020
  "Coba Berry",
2001
2021
  "Colbur Berry",
2022
+ "Damp Rock",
2002
2023
  "Dragon Fang",
2024
+ "Expert Belt",
2003
2025
  "Fairy Feather",
2004
2026
  "Focus Band",
2005
2027
  "Focus Sash",
2006
2028
  "Haban Berry",
2007
2029
  "Hard Stone",
2030
+ "Heat Rock",
2031
+ "Icy Rock",
2032
+ "Iron Ball",
2008
2033
  "Kasib Berry",
2009
2034
  "Kebia Berry",
2010
2035
  "King's Rock",
2011
2036
  "Leftovers",
2012
2037
  "Leppa Berry",
2038
+ "Life Orb",
2013
2039
  "Light Ball",
2040
+ "Light Clay",
2014
2041
  "Lum Berry",
2015
2042
  "Magnet",
2016
2043
  "Mental Herb",
2017
2044
  "Metal Coat",
2045
+ "Metronome",
2018
2046
  "Miracle Seed",
2047
+ "Muscle Band",
2019
2048
  "Mystic Water",
2020
2049
  "Never-Melt Ice",
2021
2050
  "Occa Berry",
@@ -2031,16 +2060,22 @@ var require_items$1 = /* @__PURE__ */ __commonJSMin(((exports) => {
2031
2060
  "Roseli Berry",
2032
2061
  "Scope Lens",
2033
2062
  "Sharp Beak",
2063
+ "Shed Shell",
2034
2064
  "Shell Bell",
2035
2065
  "Shuca Berry",
2036
2066
  "Silk Scarf",
2037
2067
  "Silver Powder",
2038
2068
  "Sitrus Berry",
2069
+ "Smooth Rock",
2039
2070
  "Soft Sand",
2040
2071
  "Tanga Berry",
2041
2072
  "Twisted Spoon",
2042
2073
  "Wacan Berry",
2043
- "Yache Berry"
2074
+ "White Herb",
2075
+ "Wide Lens",
2076
+ "Wise Glasses",
2077
+ "Yache Berry",
2078
+ "Zoom Lens"
2044
2079
  ].sort();
2045
2080
  var BERRIES = {
2046
2081
  "Aguav Berry": {
@@ -9794,6 +9829,7 @@ var require_moves = /* @__PURE__ */ __commonJSMin(((exports) => {
9794
9829
  "Axe Kick",
9795
9830
  "Baby-Doll Eyes",
9796
9831
  "Baneful Bunker",
9832
+ "Barb Barrage",
9797
9833
  "Baton Pass",
9798
9834
  "Beak Blast",
9799
9835
  "Beat Up",
@@ -10023,6 +10059,7 @@ var require_moves = /* @__PURE__ */ __commonJSMin(((exports) => {
10023
10059
  "Magic Room",
10024
10060
  "Magnet Rise",
10025
10061
  "Magnetic Flux",
10062
+ "Make It Rain",
10026
10063
  "Matcha Gotcha",
10027
10064
  "Mean Look",
10028
10065
  "Mega Kick",
@@ -10050,6 +10087,7 @@ var require_moves = /* @__PURE__ */ __commonJSMin(((exports) => {
10050
10087
  "Night Daze",
10051
10088
  "Night Shade",
10052
10089
  "Night Slash",
10090
+ "No Retreat",
10053
10091
  "Noble Roar",
10054
10092
  "Nuzzle",
10055
10093
  "Outrage",
@@ -10072,7 +10110,6 @@ var require_moves = /* @__PURE__ */ __commonJSMin(((exports) => {
10072
10110
  "Poltergeist",
10073
10111
  "Population Bomb",
10074
10112
  "Pounce",
10075
- "Pound",
10076
10113
  "Power Gem",
10077
10114
  "Power Shift",
10078
10115
  "Power Split",
@@ -10093,6 +10130,7 @@ var require_moves = /* @__PURE__ */ __commonJSMin(((exports) => {
10093
10130
  "Quick Attack",
10094
10131
  "Quick Guard",
10095
10132
  "Quiver Dance",
10133
+ "Rage Fist",
10096
10134
  "Rage Powder",
10097
10135
  "Raging Bull",
10098
10136
  "Raging Fury",
@@ -10162,6 +10200,7 @@ var require_moves = /* @__PURE__ */ __commonJSMin(((exports) => {
10162
10200
  "Spicy Extract",
10163
10201
  "Spikes",
10164
10202
  "Spiky Shield",
10203
+ "Spirit Break",
10165
10204
  "Spirit Shackle",
10166
10205
  "Spit Up",
10167
10206
  "Spite",
@@ -10216,6 +10255,7 @@ var require_moves = /* @__PURE__ */ __commonJSMin(((exports) => {
10216
10255
  "Thunderbolt",
10217
10256
  "Tickle",
10218
10257
  "Tidy Up",
10258
+ "Topsy-Turvy",
10219
10259
  "Torch Song",
10220
10260
  "Torment",
10221
10261
  "Toxic",
@@ -10261,23 +10301,36 @@ var require_moves = /* @__PURE__ */ __commonJSMin(((exports) => {
10261
10301
  ].map(function(m) {
10262
10302
  return [m, SV[m]];
10263
10303
  })), {
10304
+ "Anchor Shot": { bp: 90 },
10264
10305
  "Apple Acid": { bp: 90 },
10306
+ "Astral Barrage": { bp: 110 },
10265
10307
  "Beak Blast": { bp: 120 },
10308
+ "Blood Moon": { bp: 130 },
10309
+ "Bolt Beak": { bp: 80 },
10266
10310
  "Bone Rush": { bp: 30 },
10267
10311
  "Crush Claw": { isSlicing: true },
10268
10312
  "Dire Claw": { isSlicing: true },
10269
10313
  "Dragon Claw": { isSlicing: true },
10270
10314
  "Dragon Cheer": { isSound: true },
10315
+ "Dragon Hammer": { bp: 100 },
10271
10316
  "Fire Lash": { bp: 90 },
10272
10317
  "First Impression": { bp: 100 },
10318
+ "Fishious Rend": { bp: 80 },
10319
+ "Gear Grind": { bp: 60 },
10273
10320
  "Grav Apple": { bp: 90 },
10321
+ "Hyper Drill": { bp: 120 },
10274
10322
  "Infernal Parade": { bp: 65 },
10323
+ "Make It Rain": { self: { boosts: { spa: -2 } } },
10324
+ "Metal Claw": { isSlicing: true },
10275
10325
  "Mountain Gale": { bp: 120 },
10276
10326
  "Night Daze": { bp: 90 },
10277
10327
  "Psyshield Bash": { bp: 90 },
10328
+ "Revelation Dance": { bp: 100 },
10278
10329
  "Shadow Claw": { isSlicing: true },
10279
10330
  "Snap Trap": { type: "Steel" },
10331
+ "Snipe Shot": { bp: 85 },
10280
10332
  "Spirit Shackle": { bp: 90 },
10333
+ "Triple Dive": { bp: 35 },
10281
10334
  "Trop Kick": { bp: 85 }
10282
10335
  });
10283
10336
  delete CHAMPIONS["Freeze-Dry"].secondaries;
@@ -10349,7 +10402,7 @@ var require_moves = /* @__PURE__ */ __commonJSMin(((exports) => {
10349
10402
  if (!this.category && gen >= 4) this.category = "Status";
10350
10403
  if (this.struggleRecoil) delete this.recoil;
10351
10404
  }
10352
- Move.FLAGS = new Set([
10405
+ Move.FLAGS = /* @__PURE__ */ new Set([
10353
10406
  "bp",
10354
10407
  "makesContact",
10355
10408
  "isPunch",
@@ -31415,7 +31468,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
31415
31468
  sp: 44
31416
31469
  },
31417
31470
  weightkg: 100.3,
31418
- abilities: { 0: "Poison Point" },
31471
+ abilities: { 0: "Regenerator" },
31419
31472
  baseSpecies: "Dragalge"
31420
31473
  },
31421
31474
  "Dragonite-Mega": {
@@ -31457,7 +31510,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
31457
31510
  sp: 80
31458
31511
  },
31459
31512
  weightkg: 180,
31460
- abilities: { 0: "Levitate" },
31513
+ abilities: { 0: "Eelevate" },
31461
31514
  baseSpecies: "Eelektross"
31462
31515
  },
31463
31516
  "Emboar-Mega": {
@@ -31500,7 +31553,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
31500
31553
  },
31501
31554
  weightkg: 99,
31502
31555
  gender: "N",
31503
- abilities: { 0: "Battle Armor" },
31556
+ abilities: { 0: "Defiant" },
31504
31557
  baseSpecies: "Falinks"
31505
31558
  },
31506
31559
  "Feraligatr-Mega": {
@@ -31759,7 +31812,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
31759
31812
  sp: 126
31760
31813
  },
31761
31814
  weightkg: 93.3,
31762
- abilities: { 0: "Rivalry" },
31815
+ abilities: { 0: "Fire Mane" },
31763
31816
  baseSpecies: "Pyroar"
31764
31817
  },
31765
31818
  "Raichu-Mega-X": {
@@ -31773,7 +31826,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
31773
31826
  sp: 110
31774
31827
  },
31775
31828
  weightkg: 38,
31776
- abilities: { 0: "Surge Surfer" },
31829
+ abilities: { 0: "Electric Surge" },
31777
31830
  baseSpecies: "Raichu"
31778
31831
  },
31779
31832
  "Raichu-Mega-Y": {
@@ -31787,7 +31840,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
31787
31840
  sp: 130
31788
31841
  },
31789
31842
  weightkg: 26,
31790
- abilities: { 0: "Surge Surfer" },
31843
+ abilities: { 0: "No Guard" },
31791
31844
  baseSpecies: "Raichu"
31792
31845
  },
31793
31846
  "Scolipede-Mega": {
@@ -31801,7 +31854,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
31801
31854
  sp: 62
31802
31855
  },
31803
31856
  weightkg: 230.5,
31804
- abilities: { 0: "Poison Point" },
31857
+ abilities: { 0: "Shell Armor" },
31805
31858
  baseSpecies: "Scolipede"
31806
31859
  },
31807
31860
  "Scovillain-Mega": {
@@ -31829,7 +31882,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
31829
31882
  sp: 68
31830
31883
  },
31831
31884
  weightkg: 31,
31832
- abilities: { 0: "Shed Skin" },
31885
+ abilities: { 0: "Intimidate" },
31833
31886
  baseSpecies: "Scrafty"
31834
31887
  },
31835
31888
  "Skarmory-Mega": {
@@ -31857,7 +31910,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
31857
31910
  sp: 110
31858
31911
  },
31859
31912
  weightkg: 50,
31860
- abilities: { 0: "Intimidate" },
31913
+ abilities: { 0: "Contrary" },
31861
31914
  baseSpecies: "Staraptor"
31862
31915
  },
31863
31916
  "Starmie-Mega": {
@@ -32004,6 +32057,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32004
32057
  "Altaria-Mega",
32005
32058
  "Ampharos",
32006
32059
  "Ampharos-Mega",
32060
+ "Annihilape",
32007
32061
  "Appletun",
32008
32062
  "Araquanid",
32009
32063
  "Arbok",
@@ -32021,6 +32075,8 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32021
32075
  "Azumarill",
32022
32076
  "Banette",
32023
32077
  "Banette-Mega",
32078
+ "Barbaracle",
32079
+ "Barbaracle-Mega",
32024
32080
  "Basculegion",
32025
32081
  "Basculegion-F",
32026
32082
  "Bastiodon",
@@ -32030,6 +32086,8 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32030
32086
  "Bellibolt",
32031
32087
  "Blastoise",
32032
32088
  "Blastoise-Mega",
32089
+ "Blaziken",
32090
+ "Blaziken-Mega",
32033
32091
  "Camerupt",
32034
32092
  "Camerupt-Mega",
32035
32093
  "Castform",
@@ -32061,11 +32119,15 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32061
32119
  "Delphox-Mega",
32062
32120
  "Diggersby",
32063
32121
  "Ditto",
32122
+ "Dragalge",
32123
+ "Dragalge-Mega",
32064
32124
  "Dragapult",
32065
32125
  "Dragonite",
32066
32126
  "Dragonite-Mega",
32067
32127
  "Drampa",
32068
32128
  "Drampa-Mega",
32129
+ "Eelektross",
32130
+ "Eelektross-Mega",
32069
32131
  "Emboar",
32070
32132
  "Emboar-Mega",
32071
32133
  "Emolga",
@@ -32074,6 +32136,8 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32074
32136
  "Espeon",
32075
32137
  "Excadrill",
32076
32138
  "Excadrill-Mega",
32139
+ "Falinks",
32140
+ "Falinks-Mega",
32077
32141
  "Farigiraf",
32078
32142
  "Feraligatr",
32079
32143
  "Feraligatr-Mega",
@@ -32096,6 +32160,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32096
32160
  "Garganacl",
32097
32161
  "Gengar",
32098
32162
  "Gengar-Mega",
32163
+ "Gholdengo",
32099
32164
  "Glaceon",
32100
32165
  "Glalie",
32101
32166
  "Glalie-Mega",
@@ -32112,6 +32177,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32112
32177
  "Gourgeist-Super",
32113
32178
  "Greninja",
32114
32179
  "Greninja-Mega",
32180
+ "Grimmsnarl",
32115
32181
  "Gyarados",
32116
32182
  "Gyarados-Mega",
32117
32183
  "Hatterene",
@@ -32123,6 +32189,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32123
32189
  "Hippowdon",
32124
32190
  "Houndoom",
32125
32191
  "Houndoom-Mega",
32192
+ "Houndstone",
32126
32193
  "Hydrapple",
32127
32194
  "Hydreigon",
32128
32195
  "Incineroar",
@@ -32146,11 +32213,15 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32146
32213
  "Lycanroc-Dusk",
32147
32214
  "Lycanroc-Midnight",
32148
32215
  "Machamp",
32216
+ "Malamar",
32217
+ "Malamar-Mega",
32149
32218
  "Mamoswine",
32150
32219
  "Manectric",
32151
32220
  "Manectric-Mega",
32152
32221
  "Maushold",
32153
32222
  "Maushold-Four",
32223
+ "Mawile",
32224
+ "Mawile-Mega",
32154
32225
  "Medicham",
32155
32226
  "Medicham-Mega",
32156
32227
  "Meganium",
@@ -32160,6 +32231,8 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32160
32231
  "Meowstic-F",
32161
32232
  "Meowstic-F-Mega",
32162
32233
  "Meowstic-M-Mega",
32234
+ "Metagross",
32235
+ "Metagross-Mega",
32163
32236
  "Milotic",
32164
32237
  "Mimikyu",
32165
32238
  "Mimikyu-Busted",
@@ -32167,11 +32240,13 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32167
32240
  "Morpeko-Hangry",
32168
32241
  "Mr. Rime",
32169
32242
  "Mudsdale",
32243
+ "Musharna",
32170
32244
  "Ninetales",
32171
32245
  "Ninetales-Alola",
32172
32246
  "Noivern",
32173
32247
  "Oranguru",
32174
32248
  "Orthworm",
32249
+ "Overqwil",
32175
32250
  "Palafin",
32176
32251
  "Palafin-Hero",
32177
32252
  "Pangoro",
@@ -32186,9 +32261,14 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32186
32261
  "Polteageist",
32187
32262
  "Polteageist-Antique",
32188
32263
  "Primarina",
32264
+ "Pyroar",
32265
+ "Pyroar-Mega",
32189
32266
  "Quaquaval",
32267
+ "Qwilfish",
32190
32268
  "Raichu",
32191
32269
  "Raichu-Alola",
32270
+ "Raichu-Mega-X",
32271
+ "Raichu-Mega-Y",
32192
32272
  "Rampardos",
32193
32273
  "Reuniclus",
32194
32274
  "Rhyperior",
@@ -32206,10 +32286,16 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32206
32286
  "Samurott",
32207
32287
  "Samurott-Hisui",
32208
32288
  "Sandaconda",
32289
+ "Sceptile",
32290
+ "Sceptile-Mega",
32209
32291
  "Scizor",
32210
32292
  "Scizor-Mega",
32293
+ "Scolipede",
32294
+ "Scolipede-Mega",
32211
32295
  "Scovillain",
32212
32296
  "Scovillain-Mega",
32297
+ "Scrafty",
32298
+ "Scrafty-Mega",
32213
32299
  "Serperior",
32214
32300
  "Sharpedo",
32215
32301
  "Sharpedo-Mega",
@@ -32230,12 +32316,16 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32230
32316
  "Sneasler",
32231
32317
  "Snorlax",
32232
32318
  "Spiritomb",
32319
+ "Staraptor",
32320
+ "Staraptor-Mega",
32233
32321
  "Starmie",
32234
32322
  "Starmie-Mega",
32235
32323
  "Steelix",
32236
32324
  "Steelix-Mega",
32237
32325
  "Stunfisk",
32238
32326
  "Stunfisk-Galar",
32327
+ "Swampert",
32328
+ "Swampert-Mega",
32239
32329
  "Sylveon",
32240
32330
  "Talonflame",
32241
32331
  "Tauros",
@@ -32262,6 +32352,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32262
32352
  "Venusaur-Mega",
32263
32353
  "Victreebel",
32264
32354
  "Victreebel-Mega",
32355
+ "Vileplume",
32265
32356
  "Vivillon",
32266
32357
  "Vivillon-Fancy",
32267
32358
  "Vivillon-Pokeball",
@@ -32362,7 +32453,7 @@ var require_species = /* @__PURE__ */ __commonJSMin(((exports) => {
32362
32453
  this.otherFormes = data.otherFormes;
32363
32454
  (0, util_1.assignWithout)(this, data, Specie.EXCLUDE);
32364
32455
  }
32365
- Specie.EXCLUDE = new Set(["bs", "otherFormes"]);
32456
+ Specie.EXCLUDE = /* @__PURE__ */ new Set(["bs", "otherFormes"]);
32366
32457
  return Specie;
32367
32458
  }();
32368
32459
  var SPECIES_BY_ID = [];
@@ -33461,7 +33552,7 @@ var require_items = /* @__PURE__ */ __commonJSMin(((exports) => {
33461
33552
  }
33462
33553
  }
33463
33554
  exports.getBerryResistType = getBerryResistType;
33464
- var FLING_120 = new Set([
33555
+ var FLING_120 = /* @__PURE__ */ new Set([
33465
33556
  "TR24",
33466
33557
  "TR28",
33467
33558
  "TR34",
@@ -33473,7 +33564,7 @@ var require_items = /* @__PURE__ */ __commonJSMin(((exports) => {
33473
33564
  "TR72",
33474
33565
  "TR73"
33475
33566
  ]);
33476
- var FLING_100 = new Set([
33567
+ var FLING_100 = /* @__PURE__ */ new Set([
33477
33568
  "Hard Stone",
33478
33569
  "Room Service",
33479
33570
  "Claw Fossil",
@@ -33497,7 +33588,7 @@ var require_items = /* @__PURE__ */ __commonJSMin(((exports) => {
33497
33588
  "TR31",
33498
33589
  "TR75"
33499
33590
  ]);
33500
- var FLING_90 = new Set([
33591
+ var FLING_90 = /* @__PURE__ */ new Set([
33501
33592
  "Deep Sea Tooth",
33502
33593
  "Thick Club",
33503
33594
  "TR02",
@@ -33517,7 +33608,7 @@ var require_items = /* @__PURE__ */ __commonJSMin(((exports) => {
33517
33608
  "TR90",
33518
33609
  "TR96"
33519
33610
  ]);
33520
- var FLING_85 = new Set([
33611
+ var FLING_85 = /* @__PURE__ */ new Set([
33521
33612
  "TR01",
33522
33613
  "TR41",
33523
33614
  "TR62",
@@ -33525,7 +33616,7 @@ var require_items = /* @__PURE__ */ __commonJSMin(((exports) => {
33525
33616
  "TR97",
33526
33617
  "TR98"
33527
33618
  ]);
33528
- var FLING_80 = new Set([
33619
+ var FLING_80 = /* @__PURE__ */ new Set([
33529
33620
  "Assault Vest",
33530
33621
  "Blunder Policy",
33531
33622
  "Chipped Pot",
@@ -33565,7 +33656,7 @@ var require_items = /* @__PURE__ */ __commonJSMin(((exports) => {
33565
33656
  "TR95",
33566
33657
  "TR99"
33567
33658
  ]);
33568
- var FLING_70 = new Set([
33659
+ var FLING_70 = /* @__PURE__ */ new Set([
33569
33660
  "Poison Barb",
33570
33661
  "Dragon Fang",
33571
33662
  "Power Anklet",
@@ -33575,7 +33666,7 @@ var require_items = /* @__PURE__ */ __commonJSMin(((exports) => {
33575
33666
  "Power Lens",
33576
33667
  "Power Weight"
33577
33668
  ]);
33578
- var FLING_60 = new Set([
33669
+ var FLING_60 = /* @__PURE__ */ new Set([
33579
33670
  "Adamant Orb",
33580
33671
  "Damp Rock",
33581
33672
  "Heat Rock",
@@ -33587,7 +33678,7 @@ var require_items = /* @__PURE__ */ __commonJSMin(((exports) => {
33587
33678
  "Utility Umbrella",
33588
33679
  "Terrain Extender"
33589
33680
  ]);
33590
- var FLING_30 = new Set([
33681
+ var FLING_30 = /* @__PURE__ */ new Set([
33591
33682
  "Absorb Bulb",
33592
33683
  "Black Belt",
33593
33684
  "Black Sludge",
@@ -33633,7 +33724,7 @@ var require_items = /* @__PURE__ */ __commonJSMin(((exports) => {
33633
33724
  "Snowball",
33634
33725
  "Bottle Cap"
33635
33726
  ]);
33636
- var FLING_10 = new Set([
33727
+ var FLING_10 = /* @__PURE__ */ new Set([
33637
33728
  "Air Balloon",
33638
33729
  "Berry Sweet",
33639
33730
  "Choice Band",
@@ -34156,7 +34247,7 @@ var require_util = /* @__PURE__ */ __commonJSMin(((exports) => {
34156
34247
  "Power Weight"
34157
34248
  ];
34158
34249
  function isGrounded(pokemon, field) {
34159
- return field.isGravity || pokemon.hasItem("Iron Ball") || !pokemon.hasType("Flying") && !pokemon.hasAbility("Levitate") && !pokemon.hasItem("Air Balloon");
34250
+ return field.isGravity || pokemon.hasItem("Iron Ball") || !pokemon.hasType("Flying") && !pokemon.hasAbility("Levitate", "Eelevate") && !pokemon.hasItem("Air Balloon");
34160
34251
  }
34161
34252
  exports.isGrounded = isGrounded;
34162
34253
  function getModifiedStat(stat, mod, gen) {
@@ -34994,7 +35085,7 @@ var require_desc = /* @__PURE__ */ __commonJSMin(((exports) => {
34994
35085
  damage += Math.floor(effectiveness * defender.maxHP() / 8);
34995
35086
  texts.push("Steelsurge");
34996
35087
  }
34997
- if (!defender.hasType("Flying") && !defender.hasAbility("Magic Guard", "Levitate") && !defender.hasItem("Air Balloon")) {
35088
+ if (!defender.hasType("Flying") && !defender.hasAbility("Magic Guard", "Levitate", "Eelevate") && !defender.hasItem("Air Balloon")) {
34998
35089
  if (defenderSide.spikes === 1) {
34999
35090
  damage += Math.floor(defender.maxHP() / 8);
35000
35091
  if (gen.num === 2) texts.push("Spikes");
@@ -35448,7 +35539,7 @@ var require_champions = /* @__PURE__ */ __commonJSMin(((exports) => {
35448
35539
  result.damage = Math.max(0, defender.curHP() - average);
35449
35540
  return result;
35450
35541
  }
35451
- var defenderAbilityIgnored = defender.hasAbility("Armor Tail", "Aroma Veil", "Battle Armor", "Big Pecks", "Bulletproof", "Clear Body", "Contrary", "Damp", "Disguise", "Dry Skin", "Earth Eater", "Filter", "Flash Fire", "Flower Veil", "Friend Guard", "Fur Coat", "Heatproof", "Heavy Metal", "Hyper Cutter", "Illuminate", "Immunity", "Inner Focus", "Insomnia", "Keen Eye", "Leaf Guard", "Levitate", "Light Metal", "Lightning Rod", "Limber", "Magic Bounce", "Magma Armor", "Marvel Scale", "Mirror Armor", "Motor Drive", "Multiscale", "Oblivious", "Overcoat", "Own Tempo", "Purifying Salt", "Queenly Majesty", "Sand Veil", "Sap Sipper", "Shell Armor", "Shield Dust", "Snow Cloak", "Solid Rock", "Soundproof", "Sticky Hold", "Storm Drain", "Sturdy", "Sweet Veil", "Tangled Feet", "Telepathy", "Thick Fat", "Unaware", "Vital Spirit", "Volt Absorb", "Water Absorb", "Water Bubble", "Water Veil", "White Smoke");
35542
+ var defenderAbilityIgnored = defender.hasAbility("Armor Tail", "Aroma Veil", "Battle Armor", "Big Pecks", "Bulletproof", "Clear Body", "Contrary", "Damp", "Disguise", "Dry Skin", "Earth Eater", "Eelevate", "Filter", "Flash Fire", "Flower Veil", "Friend Guard", "Fur Coat", "Heatproof", "Heavy Metal", "Hyper Cutter", "Illuminate", "Immunity", "Inner Focus", "Insomnia", "Keen Eye", "Leaf Guard", "Levitate", "Light Metal", "Lightning Rod", "Limber", "Magic Bounce", "Magma Armor", "Marvel Scale", "Mirror Armor", "Motor Drive", "Multiscale", "Oblivious", "Overcoat", "Own Tempo", "Purifying Salt", "Queenly Majesty", "Sand Veil", "Sap Sipper", "Shell Armor", "Shield Dust", "Snow Cloak", "Solid Rock", "Soundproof", "Sticky Hold", "Storm Drain", "Sturdy", "Sweet Veil", "Tangled Feet", "Telepathy", "Thick Fat", "Unaware", "Vital Spirit", "Volt Absorb", "Water Absorb", "Water Bubble", "Water Veil", "White Smoke");
35452
35543
  var attackerIgnoresAbility = attacker.hasAbility("Mold Breaker");
35453
35544
  if (defenderAbilityIgnored && attackerIgnoresAbility) {
35454
35545
  if (attackerIgnoresAbility) desc.attackerAbility = attacker.ability;
@@ -35501,9 +35592,10 @@ var require_champions = /* @__PURE__ */ __commonJSMin(((exports) => {
35501
35592
  move.type = type;
35502
35593
  var isGhostRevealed = attacker.hasAbility("Scrappy");
35503
35594
  var typeEffectiveness = (0, util_2.getMoveEffectiveness)(gen, move, defender.types[0], isGhostRevealed, field.isGravity, false) * (defender.types[1] ? (0, util_2.getMoveEffectiveness)(gen, move, defender.types[1], isGhostRevealed, field.isGravity, false) : 1);
35595
+ if (typeEffectiveness === 0 && move.hasType("Ground") && defender.hasItem("Iron Ball") && !defender.hasAbility("Klutz")) typeEffectiveness = 1;
35504
35596
  if (typeEffectiveness === 0) return result;
35505
35597
  if (move.named("Steel Roller") && !field.terrain || move.named("Poltergeist") && !defender.item) return result;
35506
- if (move.hasType("Grass") && defender.hasAbility("Sap Sipper") || move.hasType("Fire") && defender.hasAbility("Flash Fire") || move.hasType("Water") && defender.hasAbility("Dry Skin", "Water Absorb") || move.hasType("Electric") && defender.hasAbility("Lightning Rod", "Motor Drive", "Volt Absorb") || move.hasType("Ground") && !field.isGravity && defender.hasAbility("Levitate") || move.flags.bullet && defender.hasAbility("Bulletproof") || move.flags.sound && !move.named("Clangorous Soul") && defender.hasAbility("Soundproof") || move.priority > 0 && defender.hasAbility("Queenly Majesty", "Armor Tail") || move.hasType("Ground") && defender.hasAbility("Earth Eater")) {
35598
+ if (move.hasType("Grass") && defender.hasAbility("Sap Sipper") || move.hasType("Fire") && defender.hasAbility("Flash Fire") || move.hasType("Water") && defender.hasAbility("Dry Skin", "Water Absorb") || move.hasType("Electric") && defender.hasAbility("Lightning Rod", "Motor Drive", "Volt Absorb") || move.hasType("Ground") && !field.isGravity && defender.hasAbility("Levitate", "Eelevate") || move.flags.bullet && defender.hasAbility("Bulletproof") || move.flags.sound && !move.named("Clangorous Soul") && defender.hasAbility("Soundproof") || move.priority > 0 && defender.hasAbility("Queenly Majesty", "Armor Tail") || move.hasType("Ground") && defender.hasAbility("Earth Eater")) {
35507
35599
  desc.defenderAbility = defender.ability;
35508
35600
  return result;
35509
35601
  }
@@ -35783,6 +35875,9 @@ var require_champions = /* @__PURE__ */ __commonJSMin(((exports) => {
35783
35875
  if (attacker.item && move.hasType((0, items_1.getItemBoostType)(attacker.item))) {
35784
35876
  bpMods.push(4915);
35785
35877
  desc.attackerItem = attacker.item;
35878
+ } else if (attacker.hasItem("Muscle Band") && move.category === "Physical" || attacker.hasItem("Wise Glasses") && move.category === "Special") {
35879
+ bpMods.push(4505);
35880
+ desc.attackerItem = attacker.item;
35786
35881
  }
35787
35882
  return bpMods;
35788
35883
  }
@@ -35826,6 +35921,9 @@ var require_champions = /* @__PURE__ */ __commonJSMin(((exports) => {
35826
35921
  } else if (attacker.hasAbility("Flash Fire") && attacker.abilityOn && move.hasType("Fire")) {
35827
35922
  atMods.push(6144);
35828
35923
  desc.attackerAbility = "Flash Fire";
35924
+ } else if (attacker.hasAbility("Fire Mane") && move.hasType("Fire")) {
35925
+ atMods.push(6144);
35926
+ desc.attackerAbility = attacker.ability;
35829
35927
  } else if (attacker.hasAbility("Water Bubble") && move.hasType("Water") || attacker.hasAbility("Huge Power", "Pure Power") && move.category === "Physical") {
35830
35928
  atMods.push(8192);
35831
35929
  desc.attackerAbility = attacker.ability;
@@ -35939,6 +36037,18 @@ var require_champions = /* @__PURE__ */ __commonJSMin(((exports) => {
35939
36037
  finalMods.push(3072);
35940
36038
  desc.isFriendGuard = true;
35941
36039
  }
36040
+ if (attacker.hasItem("Expert Belt") && typeEffectiveness > 1) {
36041
+ finalMods.push(4915);
36042
+ desc.attackerItem = attacker.item;
36043
+ } else if (attacker.hasItem("Life Orb")) {
36044
+ finalMods.push(5324);
36045
+ desc.attackerItem = attacker.item;
36046
+ } else if (attacker.hasItem("Metronome") && move.timesUsedWithMetronome >= 1) {
36047
+ var timesUsedWithMetronome = Math.floor(move.timesUsedWithMetronome);
36048
+ if (timesUsedWithMetronome <= 4) finalMods.push(4096 + timesUsedWithMetronome * 819);
36049
+ else finalMods.push(8192);
36050
+ desc.attackerItem = attacker.item;
36051
+ }
35942
36052
  if (move.hasType((0, items_1.getBerryResistType)(defender.item)) && (typeEffectiveness > 1 || move.hasType("Normal")) && hitCount === 0 && !attacker.hasAbility("Unnerve")) {
35943
36053
  if (defender.hasAbility("Ripen")) finalMods.push(1024);
35944
36054
  else finalMods.push(2048);
@@ -37696,7 +37806,7 @@ var require_gen789 = /* @__PURE__ */ __commonJSMin(((exports) => {
37696
37806
  result.damage = Math.max(0, defender.curHP() - average);
37697
37807
  return result;
37698
37808
  }
37699
- var defenderAbilityIgnored = defender.hasAbility("Armor Tail", "Aroma Veil", "Aura Break", "Battle Armor", "Big Pecks", "Bulletproof", "Clear Body", "Contrary", "Damp", "Dazzling", "Disguise", "Dry Skin", "Earth Eater", "Filter", "Flash Fire", "Flower Gift", "Flower Veil", "Fluffy", "Friend Guard", "Fur Coat", "Good as Gold", "Grass Pelt", "Guard Dog", "Heatproof", "Heavy Metal", "Hyper Cutter", "Ice Face", "Ice Scales", "Illuminate", "Immunity", "Inner Focus", "Insomnia", "Keen Eye", "Leaf Guard", "Levitate", "Light Metal", "Lightning Rod", "Limber", "Magic Bounce", "Magma Armor", "Marvel Scale", "Mind's Eye", "Mirror Armor", "Motor Drive", "Multiscale", "Oblivious", "Overcoat", "Own Tempo", "Pastel Veil", "Punk Rock", "Purifying Salt", "Queenly Majesty", "Sand Veil", "Sap Sipper", "Shell Armor", "Shield Dust", "Simple", "Snow Cloak", "Solid Rock", "Soundproof", "Sticky Hold", "Storm Drain", "Sturdy", "Suction Cups", "Sweet Veil", "Tangled Feet", "Telepathy", "Tera Shell", "Thermal Exchange", "Thick Fat", "Unaware", "Vital Spirit", "Volt Absorb", "Water Absorb", "Water Bubble", "Water Veil", "Well-Baked Body", "White Smoke", "Wind Rider", "Wonder Guard", "Wonder Skin");
37809
+ var defenderAbilityIgnored = defender.hasAbility("Armor Tail", "Aroma Veil", "Aura Break", "Battle Armor", "Big Pecks", "Bulletproof", "Clear Body", "Contrary", "Damp", "Dazzling", "Disguise", "Dry Skin", "Earth Eater", "Eelevate", "Filter", "Flash Fire", "Flower Gift", "Flower Veil", "Fluffy", "Friend Guard", "Fur Coat", "Good as Gold", "Grass Pelt", "Guard Dog", "Heatproof", "Heavy Metal", "Hyper Cutter", "Ice Face", "Ice Scales", "Illuminate", "Immunity", "Inner Focus", "Insomnia", "Keen Eye", "Leaf Guard", "Levitate", "Light Metal", "Lightning Rod", "Limber", "Magic Bounce", "Magma Armor", "Marvel Scale", "Mind's Eye", "Mirror Armor", "Motor Drive", "Multiscale", "Oblivious", "Overcoat", "Own Tempo", "Pastel Veil", "Punk Rock", "Purifying Salt", "Queenly Majesty", "Sand Veil", "Sap Sipper", "Shell Armor", "Shield Dust", "Simple", "Snow Cloak", "Solid Rock", "Soundproof", "Sticky Hold", "Storm Drain", "Sturdy", "Suction Cups", "Sweet Veil", "Tangled Feet", "Telepathy", "Tera Shell", "Thermal Exchange", "Thick Fat", "Unaware", "Vital Spirit", "Volt Absorb", "Water Absorb", "Water Bubble", "Water Veil", "Well-Baked Body", "White Smoke", "Wind Rider", "Wonder Guard", "Wonder Skin");
37700
37810
  var attackerIgnoresAbility = attacker.hasAbility("Mold Breaker", "Teravolt", "Turboblaze");
37701
37811
  var moveIgnoresAbility = move.named("G-Max Drum Solo", "G-Max Fire Ball", "G-Max Hydrosnipe", "Light That Burns the Sky", "Menacing Moonraze Maelstrom", "Moongeist Beam", "Photon Geyser", "Searing Sunraze Smash", "Sunsteel Strike");
37702
37812
  if (defenderAbilityIgnored && (attackerIgnoresAbility || moveIgnoresAbility)) {
@@ -37832,7 +37942,7 @@ var require_gen789 = /* @__PURE__ */ __commonJSMin(((exports) => {
37832
37942
  typeEffectiveness = .5;
37833
37943
  desc.defenderAbility = defender.ability;
37834
37944
  }
37835
- if (defender.hasAbility("Wonder Guard") && typeEffectiveness <= 1 || move.hasType("Grass") && defender.hasAbility("Sap Sipper") || move.hasType("Fire") && defender.hasAbility("Flash Fire", "Well-Baked Body") || move.hasType("Water") && defender.hasAbility("Dry Skin", "Storm Drain", "Water Absorb") || move.hasType("Electric") && defender.hasAbility("Lightning Rod", "Motor Drive", "Volt Absorb") || move.hasType("Ground") && !field.isGravity && !move.named("Thousand Arrows") && !defender.hasItem("Iron Ball") && defender.hasAbility("Levitate") || move.flags.bullet && defender.hasAbility("Bulletproof") || move.flags.sound && !move.named("Clangorous Soul") && defender.hasAbility("Soundproof") || move.priority > 0 && defender.hasAbility("Queenly Majesty", "Dazzling", "Armor Tail") || move.hasType("Ground") && defender.hasAbility("Earth Eater") || move.flags.wind && defender.hasAbility("Wind Rider")) {
37945
+ if (defender.hasAbility("Wonder Guard") && typeEffectiveness <= 1 || move.hasType("Grass") && defender.hasAbility("Sap Sipper") || move.hasType("Fire") && defender.hasAbility("Flash Fire", "Well-Baked Body") || move.hasType("Water") && defender.hasAbility("Dry Skin", "Storm Drain", "Water Absorb") || move.hasType("Electric") && defender.hasAbility("Lightning Rod", "Motor Drive", "Volt Absorb") || move.hasType("Ground") && !field.isGravity && !move.named("Thousand Arrows") && !defender.hasItem("Iron Ball") && defender.hasAbility("Levitate", "Eelevate") || move.flags.bullet && defender.hasAbility("Bulletproof") || move.flags.sound && !move.named("Clangorous Soul") && defender.hasAbility("Soundproof") || move.priority > 0 && defender.hasAbility("Queenly Majesty", "Dazzling", "Armor Tail") || move.hasType("Ground") && defender.hasAbility("Earth Eater") || move.flags.wind && defender.hasAbility("Wind Rider")) {
37836
37946
  desc.defenderAbility = defender.ability;
37837
37947
  return result;
37838
37948
  }
@@ -38324,7 +38434,7 @@ var require_gen789 = /* @__PURE__ */ __commonJSMin(((exports) => {
38324
38434
  } else if (attacker.hasAbility("Flash Fire") && attacker.abilityOn && move.hasType("Fire")) {
38325
38435
  atMods.push(6144);
38326
38436
  desc.attackerAbility = "Flash Fire";
38327
- } else if (attacker.hasAbility("Steelworker") && move.hasType("Steel") || attacker.hasAbility("Dragon's Maw") && move.hasType("Dragon") || attacker.hasAbility("Rocky Payload") && move.hasType("Rock")) {
38437
+ } else if (attacker.hasAbility("Steelworker") && move.hasType("Steel") || attacker.hasAbility("Dragon's Maw") && move.hasType("Dragon") || attacker.hasAbility("Rocky Payload") && move.hasType("Rock") || attacker.hasAbility("Fire Mane") && move.hasType("Fire")) {
38328
38438
  atMods.push(6144);
38329
38439
  desc.attackerAbility = attacker.ability;
38330
38440
  } else if (attacker.hasAbility("Transistor") && move.hasType("Electric")) {
@@ -38618,7 +38728,7 @@ var require_pokemon = /* @__PURE__ */ __commonJSMin(((exports) => {
38618
38728
  "spd",
38619
38729
  "spe"
38620
38730
  ];
38621
- var SPC = new Set(["spc"]);
38731
+ var SPC = /* @__PURE__ */ new Set(["spc"]);
38622
38732
  exports.Pokemon = function() {
38623
38733
  function Pokemon(gen, name, options) {
38624
38734
  var e_1, _a;
@@ -76670,7 +76780,7 @@ const SEARCH_POKEMON_DESCRIPTION = "ポケモンチャンピオンズに登場
76670
76780
  * タイプ名の日本語→英語マッピング。
76671
76781
  * pokemon.json に登場するタイプのみ。
76672
76782
  */
76673
- const TYPE_NAME_JA_TO_EN = new Map([
76783
+ const TYPE_NAME_JA_TO_EN = /* @__PURE__ */ new Map([
76674
76784
  ["ノーマル", "Normal"],
76675
76785
  ["くさ", "Grass"],
76676
76786
  ["ほのお", "Fire"],