Update phases.ts
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