mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-10 04:49:14 -05:00
Don't display 100% HP lost if HP still exists (#1811)
This commit is contained in:
committed by
GitHub
parent
7a759c2ced
commit
31a0957e5b
@@ -1408,6 +1408,7 @@ class BattleScene {
|
||||
callback = () => { $hp.addClass('hp-yellow hp-red'); };
|
||||
}
|
||||
|
||||
if (damage === '100%' && pokemon.hp > 0) damage = '99%';
|
||||
this.resultAnim(pokemon, this.battle.hardcoreMode ? 'Damage' : '−' + damage, 'bad');
|
||||
|
||||
$hp.animate({
|
||||
|
||||
Reference in New Issue
Block a user