mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-09-30 23:01:05 -05:00
Tooltips: fix crash in accuracy calculation
This commit is contained in:
@@ -853,6 +853,7 @@ var BattleTooltips = (function () {
|
||||
accuracyComment += ' (Boosted by Compound Eyes)';
|
||||
}
|
||||
for (var i = 0; i < pokemon.side.active.length; i++) {
|
||||
if (!pokemon.side.active[i]) continue;
|
||||
myPokemon = this.room.myPokemon[pokemon.side.active[i].slot];
|
||||
ability = Tools.getAbility(myPokemon.baseAbility).name;
|
||||
if (ability === 'Victory Star') {
|
||||
|
||||
Reference in New Issue
Block a user