Roost fix

This commit is contained in:
Ishan Patel 2024-04-15 16:28:45 -04:00
parent 10c27336d4
commit 62fffd38b8
4 changed files with 4 additions and 3 deletions

View File

@ -1103,3 +1103,4 @@ export function getBattlerTag(tagType: BattlerTagType, turnCount: integer, sourc
return new BattlerTag(tagType, BattlerTagLapseType.CUSTOM, turnCount, sourceMove, sourceId);
}
}

View File

@ -47,6 +47,6 @@ export enum BattlerTagType {
IGNORE_ACCURACY = "IGNORE_ACCURACY",
BYPASS_SLEEP = "BYPASS_SLEEP",
IGNORE_FLYING = "IGNORE_FLYING",
GROUNDED = "GROUNDED",
GROUNDED = "GROUNDED",
SALT_CURED = "SALT_CURED"
}

View File

@ -5708,4 +5708,4 @@ export function initMoves() {
new AttackMove(Moves.MALIGNANT_CHAIN, "Malignant Chain", Type.POISON, MoveCategory.SPECIAL, 100, 100, 5, "The user pours toxins into the target by wrapping them in a toxic, corrosive chain. This may also leave the target badly poisoned.", 50, 0, 9)
.attr(StatusEffectAttr, StatusEffect.TOXIC)
);
}
}

View File

@ -734,7 +734,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
while (pokemonPrevolutions.hasOwnProperty(starterSpeciesId))
starterSpeciesId = pokemonPrevolutions[starterSpeciesId];
return allAbilities[starterPassiveAbilities[starterSpeciesId]];
}
}
hasPassive(): boolean {
return this.passive || this.isBoss();