mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-16 13:22: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() {
|
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
Block a user