mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-14 04:12:18 +02:00
Update phases.ts
This commit is contained in:
parent
cf53bae1f4
commit
f4c1f5d30c
@ -2945,7 +2945,7 @@ export class ObtainStatusEffectPhase extends PokemonPhase {
|
||||
start() {
|
||||
const pokemon = this.getPokemon();
|
||||
if (!pokemon.status) {
|
||||
if (pokemon.trySetStatus(this.statusEffect, false, this.sourcePokemon, 0, null)) {
|
||||
if (pokemon.trySetStatus(this.statusEffect, false, this.sourcePokemon)) {
|
||||
if (this.cureTurn)
|
||||
pokemon.status.cureTurn = this.cureTurn;
|
||||
pokemon.updateInfo(true);
|
||||
|
Loading…
Reference in New Issue
Block a user