mirror of
https://github.com/smogon/pokemon-showdown.git
synced 2026-05-20 22:18:18 -05:00
Show real HP in debug mode
This commit is contained in:
parent
8bbf7962c0
commit
00a449473a
|
|
@ -924,7 +924,7 @@ var BattlePokemon = (function() {
|
|||
BattlePokemon.prototype.getHealth = function(realHp) {
|
||||
if (!this.hp) return '0 fnt';
|
||||
var hpstring;
|
||||
if (realHp) {
|
||||
if (realHp || this.getFormat().debug) {
|
||||
hpstring = ''+this.hp+'/'+this.maxhp;
|
||||
} else {
|
||||
var ratio = this.hp / this.maxhp;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user