mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 15:32:18 +02:00
Roost fix
This commit is contained in:
parent
10c27336d4
commit
62fffd38b8
@ -1103,3 +1103,4 @@ export function getBattlerTag(tagType: BattlerTagType, turnCount: integer, sourc
|
||||
return new BattlerTag(tagType, BattlerTagLapseType.CUSTOM, turnCount, sourceMove, sourceId);
|
||||
}
|
||||
}
|
||||
|
@ -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"
|
||||
}
|
||||
|
@ -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)
|
||||
);
|
||||
}
|
||||
}
|
||||
|
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user