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