mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-23 07:49:36 +02:00
removed onRemove
This commit is contained in:
parent
c1b10aac09
commit
6b2939ccdd
@ -993,11 +993,6 @@ export class IngrainTag extends TrappedTag {
|
||||
return ret;
|
||||
}
|
||||
|
||||
override onRemove(pokemon: Pokemon) {
|
||||
super.onRemove(pokemon);
|
||||
pokemon.removeTag(BattlerTagType.IGNORE_FLYING);
|
||||
}
|
||||
|
||||
getTrapMessage(pokemon: Pokemon): string {
|
||||
return i18next.t("battlerTags:ingrainOnTrap", { pokemonNameWithAffix: getPokemonNameWithAffix(pokemon) });
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user