mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-02-21 11:46:47 +00:00
Added checks for certain tags
This commit is contained in:
parent
ea90f21152
commit
69f2433e8e
@ -8155,6 +8155,7 @@ export function initMoves() {
|
||||
.condition(failOnGravityCondition)
|
||||
.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"))
|
||||
.condition((_user, target, _move) => !(target.getTag(BattlerTagType.INGRAIN) || target.getTag(BattlerTagType.IGNORE_FLYING)))
|
||||
.attr(AddBattlerTagAttr, BattlerTagType.FLYING, false, false, 3)
|
||||
.attr(AddBattlerTagAttr, BattlerTagType.TELEKINESIS, false, false, 3),
|
||||
new StatusMove(Moves.MAGIC_ROOM, Type.PSYCHIC, -1, 10, -1, 0, 5)
|
||||
|
Loading…
x
Reference in New Issue
Block a user