Added Wiglett family to restrictions

This commit is contained in:
frutescens 2024-09-30 15:26:22 -07:00
parent 7cd1ebfecf
commit a07c94ab6c

View File

@ -8153,7 +8153,7 @@ export function initMoves() {
.attr(AddBattlerTagAttr, BattlerTagType.CENTER_OF_ATTENTION, true),
new StatusMove(Moves.TELEKINESIS, Type.PSYCHIC, -1, 15, -1, 0, 5)
.condition(failOnGravityCondition)
.condition((_user, target, _move) => ![Species.DIGLETT, Species.DUGTRIO, Species.ALOLA_DIGLETT, Species.ALOLA_DUGTRIO, Species.SANDYGAST, Species.PALOSSAND].includes(target.species.speciesId))
.condition((_user, target, _move) => ![Species.DIGLETT, Species.DUGTRIO, Species.ALOLA_DIGLETT, Species.ALOLA_DUGTRIO, Species.SANDYGAST, Species.PALOSSAND, Species.WIGLETT, Species.WUGTRIO].includes(target.species.speciesId))
.condition((_user, target, _move) => !(target.species.speciesId !== Species.GENGAR && target.getFormKey() !== "mega"))
.attr(AddBattlerTagAttr, BattlerTagType.FLYING, false, false, 3)
.attr(AddBattlerTagAttr, BattlerTagType.TELEKINESIS, false, false, 3),