@pkmn/sim 0.5.1 → 0.5.5
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/config/formats.js +373 -289
- package/build/config/formats.js.map +1 -1
- package/build/data/abilities.js +5 -1
- package/build/data/abilities.js.map +1 -1
- package/build/data/aliases.js +2 -2
- package/build/data/aliases.js.map +1 -1
- package/build/data/formats-data.js +91 -92
- package/build/data/formats-data.js.map +1 -1
- package/build/data/items.js +5 -5
- package/build/data/items.js.map +1 -1
- package/build/data/learnsets.js +1 -1
- package/build/data/learnsets.js.map +1 -1
- package/build/data/mods/gen1/formats-data.js +190 -190
- package/build/data/mods/gen1/formats-data.js.map +1 -1
- package/build/data/mods/gen1/moves.js +1 -2
- package/build/data/mods/gen1/moves.js.map +1 -1
- package/build/data/mods/gen1/scripts.js +12 -0
- package/build/data/mods/gen1/scripts.js.map +1 -1
- package/build/data/mods/gen2/formats-data.js +2 -2
- package/build/data/mods/gen2/formats-data.js.map +1 -1
- package/build/data/mods/gen3/formats-data.js +12 -12
- package/build/data/mods/gen3/formats-data.js.map +1 -1
- package/build/data/mods/gen4/moves.js +22 -0
- package/build/data/mods/gen4/moves.js.map +1 -1
- package/build/data/mods/gen5/formats-data.js +172 -155
- package/build/data/mods/gen5/formats-data.js.map +1 -1
- package/build/data/mods/gen6/formats-data.js +1 -1
- package/build/data/mods/gen7/formats-data.js +1 -1
- package/build/data/mods/gen7/formats-data.js.map +1 -1
- package/build/data/mods/gen7/moves.js +154 -0
- package/build/data/mods/gen7/moves.js.map +1 -1
- package/build/data/moves.js +47 -20
- package/build/data/moves.js.map +1 -1
- package/build/data/pokedex.js +3 -3
- package/build/data/pokedex.js.map +1 -1
- package/build/data/rulesets.js +48 -5
- package/build/data/rulesets.js.map +1 -1
- package/build/data/tags.d.ts +1 -0
- package/build/data/tags.js +4 -3
- package/build/data/tags.js.map +1 -1
- package/build/data/text/abilities.js +4 -4
- package/build/data/text/abilities.js.map +1 -1
- package/build/data/text/moves.js +19 -19
- package/build/data/text/moves.js.map +1 -1
- package/build/sim/battle-actions.js +12 -4
- package/build/sim/battle-actions.js.map +1 -1
- package/build/sim/dex-formats.d.ts +1 -0
- package/build/sim/dex-formats.js +3 -2
- package/build/sim/dex-formats.js.map +1 -1
- package/build/sim/exported-global-types.d.ts +1 -0
- package/build/sim/global-types.d.ts +1 -0
- package/build/sim/index.d.ts +1 -0
- package/build/sim/index.js +3 -1
- package/build/sim/index.js.map +1 -1
- package/build/sim/pokemon.js +1 -1
- package/build/sim/pokemon.js.map +1 -1
- package/build/sim/team-validator.js +16 -0
- package/build/sim/team-validator.js.map +1 -1
- package/config/formats.ts +379 -292
- package/data/abilities.ts +3 -1
- package/data/aliases.ts +2 -2
- package/data/formats-data.ts +91 -92
- package/data/items.ts +5 -5
- package/data/learnsets.ts +1 -1
- package/data/mods/gen1/formats-data.ts +190 -190
- package/data/mods/gen1/moves.ts +1 -2
- package/data/mods/gen1/scripts.ts +11 -0
- package/data/mods/gen2/formats-data.ts +2 -2
- package/data/mods/gen3/formats-data.ts +12 -12
- package/data/mods/gen4/moves.ts +21 -0
- package/data/mods/gen5/formats-data.ts +172 -155
- package/data/mods/gen6/formats-data.ts +1 -1
- package/data/mods/gen7/formats-data.ts +1 -1
- package/data/mods/gen7/moves.ts +150 -0
- package/data/moves.ts +46 -20
- package/data/pokedex.ts +3 -3
- package/data/rulesets.ts +44 -6
- package/data/tags.ts +6 -3
- package/data/text/abilities.ts +4 -4
- package/data/text/moves.ts +19 -19
- package/package.json +2 -2
- package/sim/battle-actions.ts +12 -4
- package/sim/dex-formats.ts +4 -1
- package/sim/exported-global-types.ts +1 -0
- package/sim/global-types.ts +1 -0
- package/sim/index.ts +1 -0
- package/sim/pokemon.ts +1 -1
- package/sim/team-validator.ts +15 -0
package/data/items.ts
CHANGED
|
@@ -1274,7 +1274,7 @@ export const Items: {[itemid: string]: ItemData} = {
|
|
|
1274
1274
|
fling: {
|
|
1275
1275
|
basePower: 30,
|
|
1276
1276
|
},
|
|
1277
|
-
num:
|
|
1277
|
+
num: 235,
|
|
1278
1278
|
gen: 2,
|
|
1279
1279
|
},
|
|
1280
1280
|
dragoniumz: {
|
|
@@ -3179,7 +3179,7 @@ export const Items: {[itemid: string]: ItemData} = {
|
|
|
3179
3179
|
if (!this.activeMove) return false;
|
|
3180
3180
|
if (this.activeMove.id !== 'knockoff' && this.activeMove.id !== 'thief' && this.activeMove.id !== 'covet') return false;
|
|
3181
3181
|
},
|
|
3182
|
-
num:
|
|
3182
|
+
num: 137,
|
|
3183
3183
|
gen: 2,
|
|
3184
3184
|
isNonstandard: "Past",
|
|
3185
3185
|
},
|
|
@@ -7115,19 +7115,19 @@ export const Items: {[itemid: string]: ItemData} = {
|
|
|
7115
7115
|
},
|
|
7116
7116
|
onBasePowerPriority: 15,
|
|
7117
7117
|
onBasePower(basePower, user, target, move) {
|
|
7118
|
-
if (user.baseSpecies.num === -
|
|
7118
|
+
if (user.baseSpecies.num === -66 && ['Poison', 'Flying'].includes(move.type)) {
|
|
7119
7119
|
return this.chainModify([4915, 4096]);
|
|
7120
7120
|
}
|
|
7121
7121
|
},
|
|
7122
7122
|
onTakeItem(item, pokemon, source) {
|
|
7123
|
-
if (source?.baseSpecies.num === -
|
|
7123
|
+
if (source?.baseSpecies.num === -66 || pokemon.baseSpecies.num === -66) {
|
|
7124
7124
|
return false;
|
|
7125
7125
|
}
|
|
7126
7126
|
return true;
|
|
7127
7127
|
},
|
|
7128
7128
|
forcedForme: "Venomicon-Epilogue",
|
|
7129
7129
|
itemUser: ["Venomicon-Epilogue"],
|
|
7130
|
-
num:
|
|
7130
|
+
num: -2,
|
|
7131
7131
|
gen: 8,
|
|
7132
7132
|
isNonstandard: "CAP",
|
|
7133
7133
|
},
|
package/data/learnsets.ts
CHANGED
|
@@ -27149,7 +27149,7 @@ export const Learnsets: {[speciesid: string]: LearnsetData} = {
|
|
|
27149
27149
|
headbutt: ["7V", "4T"],
|
|
27150
27150
|
hiddenpower: ["7M", "7V", "6M", "5M", "4M", "3M"],
|
|
27151
27151
|
highhorsepower: ["8M"],
|
|
27152
|
-
hornattack: ["
|
|
27152
|
+
hornattack: ["3L1"],
|
|
27153
27153
|
hyperbeam: ["8M", "7M", "7V", "6M", "5M", "4M", "3M"],
|
|
27154
27154
|
icebeam: ["8M", "7M", "6M", "5M", "4M", "3M"],
|
|
27155
27155
|
icefang: ["8M", "8L0", "7L24", "6L24", "5L28", "4L28"],
|