Change Liquid Ooze HitResult to OTHER from HEAL
This commit is contained in:
parent
cce05a1244
commit
f6dac8bade
|
@ -68,7 +68,7 @@ export class PokemonHealPhase extends CommonAnimPhase {
|
||||||
}
|
}
|
||||||
const healAmount = new Utils.NumberHolder(Math.floor(this.hpHealed * hpRestoreMultiplier.value));
|
const healAmount = new Utils.NumberHolder(Math.floor(this.hpHealed * hpRestoreMultiplier.value));
|
||||||
if (healAmount.value < 0) {
|
if (healAmount.value < 0) {
|
||||||
pokemon.damageAndUpdate(healAmount.value * -1, HitResult.HEAL as DamageResult);
|
pokemon.damageAndUpdate(healAmount.value * -1, HitResult.OTHER as DamageResult);
|
||||||
healAmount.value = 0;
|
healAmount.value = 0;
|
||||||
}
|
}
|
||||||
// Prevent healing to full if specified (in case of healing tokens so Sturdy doesn't cause a softlock)
|
// Prevent healing to full if specified (in case of healing tokens so Sturdy doesn't cause a softlock)
|
||||||
|
|
Loading…
Reference in New Issue