Update phases.ts
parent
cf53bae1f4
commit
f4c1f5d30c
|
|
@ -2945,7 +2945,7 @@ export class ObtainStatusEffectPhase extends PokemonPhase {
|
||||||
start() {
|
start() {
|
||||||
const pokemon = this.getPokemon();
|
const pokemon = this.getPokemon();
|
||||||
if (!pokemon.status) {
|
if (!pokemon.status) {
|
||||||
if (pokemon.trySetStatus(this.statusEffect, false, this.sourcePokemon, 0, null)) {
|
if (pokemon.trySetStatus(this.statusEffect, false, this.sourcePokemon)) {
|
||||||
if (this.cureTurn)
|
if (this.cureTurn)
|
||||||
pokemon.status.cureTurn = this.cureTurn;
|
pokemon.status.cureTurn = this.cureTurn;
|
||||||
pokemon.updateInfo(true);
|
pokemon.updateInfo(true);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue