revert code

This commit is contained in:
KimJeongSun 2024-08-24 00:12:15 +09:00
parent 0d26c5d052
commit 957299b72a
2 changed files with 2 additions and 2 deletions

View File

@ -4946,7 +4946,7 @@ export class RevivalBlessingAttr extends MoveEffectAttr {
const slotIndex = user.scene.getEnemyParty().findIndex(p => pokemon.id === p.id);
pokemon.resetStatus();
pokemon.heal(Math.min(Utils.toDmgValue(0.5 * pokemon.getMaxHp()), pokemon.getMaxHp()));
user.scene.queueMessage(`${getPokemonNameWithAffix(pokemon)} was revived!`,0,true);
user.scene.queueMessage(`${getPokemonNameWithAffix(pokemon)} was revived!`, 0, true);
if (user.scene.currentBattle.double && user.scene.getEnemyParty().length > 1) {
const allyPokemon = user.getAlly();

View File

@ -3456,7 +3456,7 @@ export class PlayerPokemon extends Pokemon {
pokemon.resetTurnData();
pokemon.resetStatus();
pokemon.heal(Math.min(Utils.toDmgValue(0.5 * pokemon.getMaxHp()), pokemon.getMaxHp()));
this.scene.queueMessage(`${pokemon.name} was revived!`,0,true);
this.scene.queueMessage(`${pokemon.name} was revived!`, 0, true);
if (this.scene.currentBattle.double && this.scene.getParty().length > 1) {
const allyPokemon = this.getAlly();