Update pokemon.ts comment fix
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
e0600a9476
commit
4526a5b1b3
|
@ -1108,9 +1108,7 @@ export default abstract class Pokemon extends Phaser.GameObjects.Container {
|
||||||
return this.getStat(Stat.HP);
|
return this.getStat(Stat.HP);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/** Returns the amount of hp currently missing from this {@linkcode Pokemon} (max - current) */
|
||||||
Returns the amount of hp currently missing from this {@linkcode Pokemon} (max - current)
|
|
||||||
*/
|
|
||||||
getInverseHp(): integer {
|
getInverseHp(): integer {
|
||||||
return this.getMaxHp() - this.hp;
|
return this.getMaxHp() - this.hp;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue