Don't count nonexistent moves as physical (#2550)

This commit is contained in:
André Bastos Dias 2026-03-15 22:11:55 +00:00 committed by GitHub
parent 028fb74cf0
commit 7ff2b4726d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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)) {