mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-10 09:29:25 +02:00
ddddd
This commit is contained in:
parent
a1c718322f
commit
c36394b781
@ -926,6 +926,10 @@ class ToxicSpikesTag extends ArenaTrapTag {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (simulated) {
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
// poison types will neutralize toxic spikes
|
// poison types will neutralize toxic spikes
|
||||||
if (pokemon.isOfType(PokemonType.POISON)) {
|
if (pokemon.isOfType(PokemonType.POISON)) {
|
||||||
this.#neutralized = true;
|
this.#neutralized = true;
|
||||||
@ -944,6 +948,7 @@ class ToxicSpikesTag extends ArenaTrapTag {
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: pass quiet to the function
|
||||||
return pokemon.trySetStatus(
|
return pokemon.trySetStatus(
|
||||||
this.layers === 1 ? StatusEffect.POISON : StatusEffect.TOXIC,
|
this.layers === 1 ? StatusEffect.POISON : StatusEffect.TOXIC,
|
||||||
null,
|
null,
|
||||||
|
Loading…
Reference in New Issue
Block a user