ran biome

This commit is contained in:
Bertie690 2025-08-03 12:58:49 -04:00
parent 99e1163752
commit c34134159d

View File

@ -902,7 +902,7 @@ class ToxicSpikesTag extends ArenaTrapTag {
// Neutralize the tag and remove it from the field. // Neutralize the tag and remove it from the field.
// Message cannot be moved to `onRemove` as that requires a reference to the neutralizing pokemon // Message cannot be moved to `onRemove` as that requires a reference to the neutralizing pokemon
this.#neutralized = true; this.#neutralized = true;
globalScene.arena.removeTagOnSide(this.tagType, this.side) globalScene.arena.removeTagOnSide(this.tagType, this.side);
globalScene.phaseManager.queueMessage( globalScene.phaseManager.queueMessage(
i18next.t("arenaTag:toxicSpikesActivateTrapPoison", { i18next.t("arenaTag:toxicSpikesActivateTrapPoison", {
pokemonNameWithAffix: getPokemonNameWithAffix(pokemon), pokemonNameWithAffix: getPokemonNameWithAffix(pokemon),
@ -914,7 +914,7 @@ class ToxicSpikesTag extends ArenaTrapTag {
// Attempt to poison the target, suppressing any immunity messages that arise. // Attempt to poison the target, suppressing any immunity messages that arise.
const effect = this.layers === 1 ? StatusEffect.POISON : StatusEffect.TOXIC; const effect = this.layers === 1 ? StatusEffect.POISON : StatusEffect.TOXIC;
return pokemon.trySetStatus(effect, null, undefined, this.getMoveName(), false, true) return pokemon.trySetStatus(effect, null, undefined, this.getMoveName(), false, true);
} }
getMatchupScoreMultiplier(pokemon: Pokemon): number { getMatchupScoreMultiplier(pokemon: Pokemon): number {