mirror of
https://github.com/smogon/pokemon-showdown-client.git
synced 2026-03-21 17:50:29 -05:00
Don't count nonexistent moves as physical (#2550)
This commit is contained in:
parent
028fb74cf0
commit
7ff2b4726d
|
|
@ -2645,6 +2645,7 @@ export class BattleStatGuesser {
|
|||
|
||||
for (let i = 0, len = set.moves.length; i < len; i++) {
|
||||
let move = this.dex.moves.get(set.moves[i]);
|
||||
if (!move.exists) continue;
|
||||
hasMove[move.id] = 1;
|
||||
if (move.category === 'Status') {
|
||||
if (['batonpass', 'healingwish', 'lunardance'].includes(move.id)) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user