@pkmn/sim 0.7.40 → 0.7.42
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/build/cjs/config/formats.js +254 -152
- package/build/cjs/config/formats.js.map +1 -1
- package/build/cjs/data/abilities.js +2 -3
- package/build/cjs/data/abilities.js.map +1 -1
- package/build/cjs/data/aliases.js +3 -3
- package/build/cjs/data/aliases.js.map +1 -1
- package/build/cjs/data/formats-data.js +276 -346
- package/build/cjs/data/formats-data.js.map +1 -1
- package/build/cjs/data/items.js +0 -25
- package/build/cjs/data/items.js.map +1 -1
- package/build/cjs/data/learnsets.js +39 -0
- package/build/cjs/data/learnsets.js.map +1 -1
- package/build/cjs/data/mods/gen1/formats-data.js +2 -2
- package/build/cjs/data/mods/gen1/formats-data.js.map +1 -1
- package/build/cjs/data/mods/gen3/formats-data.js +3 -3
- package/build/cjs/data/mods/gen3/formats-data.js.map +1 -1
- package/build/cjs/data/mods/gen8/abilities.js +12 -0
- package/build/cjs/data/mods/gen8/abilities.js.map +1 -1
- package/build/cjs/data/mods/gen8/items.js +63 -20
- package/build/cjs/data/mods/gen8/items.js.map +1 -1
- package/build/cjs/data/mods/gen8/pokedex.js +4 -0
- package/build/cjs/data/mods/gen8/pokedex.js.map +1 -1
- package/build/cjs/data/moves.js +15 -22
- package/build/cjs/data/moves.js.map +1 -1
- package/build/cjs/data/pokedex.js +13 -1
- package/build/cjs/data/pokedex.js.map +1 -1
- package/build/cjs/data/text/abilities.js +4 -1
- package/build/cjs/data/text/abilities.js.map +1 -1
- package/build/cjs/sim/team-validator.js +21 -0
- package/build/cjs/sim/team-validator.js.map +1 -1
- package/build/esm/config/formats.mjs +254 -152
- package/build/esm/config/formats.mjs.map +1 -1
- package/build/esm/data/abilities.mjs +2 -3
- package/build/esm/data/abilities.mjs.map +1 -1
- package/build/esm/data/aliases.mjs +3 -3
- package/build/esm/data/aliases.mjs.map +1 -1
- package/build/esm/data/formats-data.mjs +276 -346
- package/build/esm/data/formats-data.mjs.map +1 -1
- package/build/esm/data/items.mjs +0 -25
- package/build/esm/data/items.mjs.map +1 -1
- package/build/esm/data/learnsets.mjs +39 -0
- package/build/esm/data/learnsets.mjs.map +1 -1
- package/build/esm/data/mods/gen1/formats-data.mjs +2 -2
- package/build/esm/data/mods/gen1/formats-data.mjs.map +1 -1
- package/build/esm/data/mods/gen3/formats-data.mjs +3 -3
- package/build/esm/data/mods/gen3/formats-data.mjs.map +1 -1
- package/build/esm/data/mods/gen8/abilities.mjs +12 -0
- package/build/esm/data/mods/gen8/abilities.mjs.map +1 -1
- package/build/esm/data/mods/gen8/items.mjs +63 -20
- package/build/esm/data/mods/gen8/items.mjs.map +1 -1
- package/build/esm/data/mods/gen8/pokedex.mjs +4 -0
- package/build/esm/data/mods/gen8/pokedex.mjs.map +1 -1
- package/build/esm/data/moves.mjs +15 -22
- package/build/esm/data/moves.mjs.map +1 -1
- package/build/esm/data/pokedex.mjs +13 -1
- package/build/esm/data/pokedex.mjs.map +1 -1
- package/build/esm/data/text/abilities.mjs +4 -1
- package/build/esm/data/text/abilities.mjs.map +1 -1
- package/build/esm/sim/team-validator.mjs +21 -0
- package/build/esm/sim/team-validator.mjs.map +1 -1
- package/package.json +1 -1
package/build/esm/data/moves.mjs
CHANGED
|
@@ -1038,7 +1038,6 @@ export const Moves = {
|
|
|
1038
1038
|
accuracy: 100,
|
|
1039
1039
|
basePower: 60,
|
|
1040
1040
|
category: "Physical",
|
|
1041
|
-
isNonstandard: "Unobtainable",
|
|
1042
1041
|
name: "Barb Barrage",
|
|
1043
1042
|
pp: 10,
|
|
1044
1043
|
priority: 0,
|
|
@@ -1485,11 +1484,15 @@ export const Moves = {
|
|
|
1485
1484
|
accuracy: 80,
|
|
1486
1485
|
basePower: 100,
|
|
1487
1486
|
category: "Special",
|
|
1488
|
-
isNonstandard: "Unobtainable",
|
|
1489
1487
|
name: "Bleakwind Storm",
|
|
1490
1488
|
pp: 10,
|
|
1491
1489
|
priority: 0,
|
|
1492
1490
|
flags: { protect: 1, mirror: 1, wind: 1 },
|
|
1491
|
+
onModifyMove(move, pokemon, target) {
|
|
1492
|
+
if (target && ['raindance', 'primordialsea'].includes(target.effectiveWeather())) {
|
|
1493
|
+
move.accuracy = true;
|
|
1494
|
+
}
|
|
1495
|
+
},
|
|
1493
1496
|
secondary: {
|
|
1494
1497
|
chance: 30,
|
|
1495
1498
|
boosts: {
|
|
@@ -2200,7 +2203,6 @@ export const Moves = {
|
|
|
2200
2203
|
accuracy: 90,
|
|
2201
2204
|
basePower: 65,
|
|
2202
2205
|
category: "Physical",
|
|
2203
|
-
isNonstandard: "Unobtainable",
|
|
2204
2206
|
name: "Ceaseless Edge",
|
|
2205
2207
|
pp: 15,
|
|
2206
2208
|
priority: 0,
|
|
@@ -2410,7 +2412,6 @@ export const Moves = {
|
|
|
2410
2412
|
accuracy: 95,
|
|
2411
2413
|
basePower: 150,
|
|
2412
2414
|
category: "Special",
|
|
2413
|
-
isNonstandard: "Unobtainable",
|
|
2414
2415
|
name: "Chloroblast",
|
|
2415
2416
|
pp: 5,
|
|
2416
2417
|
priority: 0,
|
|
@@ -2949,7 +2950,6 @@ export const Moves = {
|
|
|
2949
2950
|
accuracy: true,
|
|
2950
2951
|
basePower: 0,
|
|
2951
2952
|
category: "Status",
|
|
2952
|
-
isNonstandard: "Unobtainable",
|
|
2953
2953
|
name: "Cosmic Power",
|
|
2954
2954
|
pp: 20,
|
|
2955
2955
|
priority: 0,
|
|
@@ -3791,7 +3791,6 @@ export const Moves = {
|
|
|
3791
3791
|
accuracy: 100,
|
|
3792
3792
|
basePower: 80,
|
|
3793
3793
|
category: "Physical",
|
|
3794
|
-
isNonstandard: "Unobtainable",
|
|
3795
3794
|
name: "Dire Claw",
|
|
3796
3795
|
pp: 15,
|
|
3797
3796
|
priority: 0,
|
|
@@ -4976,7 +4975,6 @@ export const Moves = {
|
|
|
4976
4975
|
accuracy: 100,
|
|
4977
4976
|
basePower: 80,
|
|
4978
4977
|
category: "Special",
|
|
4979
|
-
isNonstandard: "Unobtainable",
|
|
4980
4978
|
name: "Esper Wing",
|
|
4981
4979
|
pp: 10,
|
|
4982
4980
|
priority: 0,
|
|
@@ -8457,7 +8455,6 @@ export const Moves = {
|
|
|
8457
8455
|
accuracy: true,
|
|
8458
8456
|
basePower: 0,
|
|
8459
8457
|
category: "Status",
|
|
8460
|
-
isNonstandard: "Unobtainable",
|
|
8461
8458
|
name: "Heal Bell",
|
|
8462
8459
|
pp: 5,
|
|
8463
8460
|
priority: 0,
|
|
@@ -9806,7 +9803,6 @@ export const Moves = {
|
|
|
9806
9803
|
return move.basePower;
|
|
9807
9804
|
},
|
|
9808
9805
|
category: "Special",
|
|
9809
|
-
isNonstandard: "Unobtainable",
|
|
9810
9806
|
name: "Infernal Parade",
|
|
9811
9807
|
pp: 15,
|
|
9812
9808
|
priority: 0,
|
|
@@ -10835,7 +10831,6 @@ export const Moves = {
|
|
|
10835
10831
|
accuracy: true,
|
|
10836
10832
|
basePower: 0,
|
|
10837
10833
|
category: "Status",
|
|
10838
|
-
isNonstandard: "Unobtainable",
|
|
10839
10834
|
name: "Lunar Blessing",
|
|
10840
10835
|
pp: 5,
|
|
10841
10836
|
priority: 0,
|
|
@@ -12702,7 +12697,6 @@ export const Moves = {
|
|
|
12702
12697
|
accuracy: 85,
|
|
12703
12698
|
basePower: 100,
|
|
12704
12699
|
category: "Physical",
|
|
12705
|
-
isNonstandard: "Unobtainable",
|
|
12706
12700
|
name: "Mountain Gale",
|
|
12707
12701
|
pp: 10,
|
|
12708
12702
|
priority: 0,
|
|
@@ -12872,7 +12866,6 @@ export const Moves = {
|
|
|
12872
12866
|
accuracy: 90,
|
|
12873
12867
|
basePower: 70,
|
|
12874
12868
|
category: "Special",
|
|
12875
|
-
isNonstandard: "Unobtainable",
|
|
12876
12869
|
name: "Mystical Power",
|
|
12877
12870
|
pp: 10,
|
|
12878
12871
|
priority: 0,
|
|
@@ -14675,7 +14668,6 @@ export const Moves = {
|
|
|
14675
14668
|
accuracy: 90,
|
|
14676
14669
|
basePower: 70,
|
|
14677
14670
|
category: "Physical",
|
|
14678
|
-
isNonstandard: "Unobtainable",
|
|
14679
14671
|
name: "Psyshield Bash",
|
|
14680
14672
|
pp: 10,
|
|
14681
14673
|
priority: 0,
|
|
@@ -15121,7 +15113,6 @@ export const Moves = {
|
|
|
15121
15113
|
accuracy: 100,
|
|
15122
15114
|
basePower: 120,
|
|
15123
15115
|
category: "Physical",
|
|
15124
|
-
isNonstandard: "Unobtainable",
|
|
15125
15116
|
name: "Raging Fury",
|
|
15126
15117
|
pp: 10,
|
|
15127
15118
|
priority: 0,
|
|
@@ -16205,11 +16196,15 @@ export const Moves = {
|
|
|
16205
16196
|
accuracy: 80,
|
|
16206
16197
|
basePower: 100,
|
|
16207
16198
|
category: "Special",
|
|
16208
|
-
isNonstandard: "Unobtainable",
|
|
16209
16199
|
name: "Sandsear Storm",
|
|
16210
16200
|
pp: 10,
|
|
16211
16201
|
priority: 0,
|
|
16212
16202
|
flags: { protect: 1, mirror: 1, wind: 1 },
|
|
16203
|
+
onModifyMove(move, pokemon, target) {
|
|
16204
|
+
if (target && ['raindance', 'primordialsea'].includes(target.effectiveWeather())) {
|
|
16205
|
+
move.accuracy = true;
|
|
16206
|
+
}
|
|
16207
|
+
},
|
|
16213
16208
|
secondary: {
|
|
16214
16209
|
chance: 20,
|
|
16215
16210
|
status: 'brn',
|
|
@@ -16891,7 +16886,6 @@ export const Moves = {
|
|
|
16891
16886
|
accuracy: true,
|
|
16892
16887
|
basePower: 0,
|
|
16893
16888
|
category: "Status",
|
|
16894
|
-
isNonstandard: "Unobtainable",
|
|
16895
16889
|
name: "Shelter",
|
|
16896
16890
|
pp: 10,
|
|
16897
16891
|
priority: 0,
|
|
@@ -17068,7 +17062,6 @@ export const Moves = {
|
|
|
17068
17062
|
accuracy: 100,
|
|
17069
17063
|
basePower: 0,
|
|
17070
17064
|
category: "Status",
|
|
17071
|
-
isNonstandard: "Unobtainable",
|
|
17072
17065
|
name: "Simple Beam",
|
|
17073
17066
|
pp: 15,
|
|
17074
17067
|
priority: 0,
|
|
@@ -18485,7 +18478,6 @@ export const Moves = {
|
|
|
18485
18478
|
accuracy: 80,
|
|
18486
18479
|
basePower: 100,
|
|
18487
18480
|
category: "Special",
|
|
18488
|
-
isNonstandard: "Unobtainable",
|
|
18489
18481
|
name: "Springtide Storm",
|
|
18490
18482
|
pp: 5,
|
|
18491
18483
|
priority: 0,
|
|
@@ -18780,7 +18772,6 @@ export const Moves = {
|
|
|
18780
18772
|
accuracy: 90,
|
|
18781
18773
|
basePower: 65,
|
|
18782
18774
|
category: "Physical",
|
|
18783
|
-
isNonstandard: "Unobtainable",
|
|
18784
18775
|
name: "Stone Axe",
|
|
18785
18776
|
pp: 15,
|
|
18786
18777
|
priority: 0,
|
|
@@ -20671,7 +20662,6 @@ export const Moves = {
|
|
|
20671
20662
|
accuracy: 100,
|
|
20672
20663
|
basePower: 90,
|
|
20673
20664
|
category: "Physical",
|
|
20674
|
-
isNonstandard: "Unobtainable",
|
|
20675
20665
|
name: "Triple Arrows",
|
|
20676
20666
|
pp: 10,
|
|
20677
20667
|
priority: 0,
|
|
@@ -21060,7 +21050,6 @@ export const Moves = {
|
|
|
21060
21050
|
accuracy: true,
|
|
21061
21051
|
basePower: 0,
|
|
21062
21052
|
category: "Status",
|
|
21063
|
-
isNonstandard: "Unobtainable",
|
|
21064
21053
|
name: "Victory Dance",
|
|
21065
21054
|
pp: 10,
|
|
21066
21055
|
priority: 0,
|
|
@@ -21562,11 +21551,15 @@ export const Moves = {
|
|
|
21562
21551
|
accuracy: 80,
|
|
21563
21552
|
basePower: 100,
|
|
21564
21553
|
category: "Special",
|
|
21565
|
-
isNonstandard: "Unobtainable",
|
|
21566
21554
|
name: "Wildbolt Storm",
|
|
21567
21555
|
pp: 10,
|
|
21568
21556
|
priority: 0,
|
|
21569
21557
|
flags: { protect: 1, mirror: 1, wind: 1 },
|
|
21558
|
+
onModifyMove(move, pokemon, target) {
|
|
21559
|
+
if (target && ['raindance', 'primordialsea'].includes(target.effectiveWeather())) {
|
|
21560
|
+
move.accuracy = true;
|
|
21561
|
+
}
|
|
21562
|
+
},
|
|
21570
21563
|
secondary: {
|
|
21571
21564
|
chance: 20,
|
|
21572
21565
|
status: 'par',
|