@pkmn/mods 0.10.6 → 0.10.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/build/gen1jpn/index.d.mts +1 -1
- package/build/gen1jpn/index.d.ts +1 -1
- package/build/gen1jpn/index.js +1 -0
- package/build/gen1jpn/index.js.map +1 -1
- package/build/gen1jpn/index.mjs +1 -0
- package/build/gen1jpn/index.mjs.map +1 -1
- package/build/gen7letsgo/index.js +2 -2
- package/build/gen7letsgo/index.js.map +1 -1
- package/build/gen7letsgo/index.mjs +2 -2
- package/build/gen7letsgo/index.mjs.map +1 -1
- package/package.json +4 -4
|
@@ -6124,8 +6124,8 @@ var Moves = {
|
|
|
6124
6124
|
inherit: true,
|
|
6125
6125
|
desc: "A random move that was introduced in gen 1 is selected for use, other than Counter, Mimic, Mirror Move, Struggle, or Transform.",
|
|
6126
6126
|
shortDesc: "Picks a random move from gen 1.",
|
|
6127
|
-
onHit(target
|
|
6128
|
-
const moves = this.dex.moves.all().filter((move) => move.
|
|
6127
|
+
onHit(target) {
|
|
6128
|
+
const moves = this.dex.moves.all().filter((move) => (!move.isNonstandard || move.isNonstandard === "Unobtainable") && move.flags["metronome"] && move.gen === 1);
|
|
6129
6129
|
let randomMove = "";
|
|
6130
6130
|
if (moves.length) {
|
|
6131
6131
|
moves.sort((a, b) => a.num - b.num);
|