mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-10-02 07:42:12 -05:00
Fix bug in HP IV updater
This commit is contained in:
@@ -2117,8 +2117,8 @@
|
||||
for (var i = 0; i < set.moves.length; i++) {
|
||||
if (toId(set.moves[i]).slice(0, 11) === 'hiddenpower') {
|
||||
hasHiddenPower = true;
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
if (!hasHiddenPower) return;
|
||||
var hpTypes = ['Fighting', 'Flying', 'Poison', 'Ground', 'Rock', 'Bug', 'Ghost', 'Steel', 'Fire', 'Water', 'Grass', 'Electric', 'Psychic', 'Ice', 'Dragon', 'Dark'];
|
||||
|
||||
Reference in New Issue
Block a user