Fix test imports + nits

This commit is contained in:
innerthunder 2024-08-05 22:12:27 -07:00
parent 390485db90
commit f86218dc0e
2 changed files with 2 additions and 1 deletions

View File

@ -1975,7 +1975,7 @@ export class PostSummonStatChangeAbAttr extends PostSummonAbAttr {
applyAbAttrs(IntimidateImmunityAbAttr, opponent, cancelled);
applyAbAttrs(PostIntimidateStatChangeAbAttr, opponent, cancelled);
if (!!opponent.getTag(BattlerTagType.SUBSTITUTE)) {
if (opponent.getTag(BattlerTagType.SUBSTITUTE)) {
cancelled.value = true;
}
}

View File

@ -12,6 +12,7 @@ import { allMoves, StealHeldItemChanceAttr } from "#app/data/move";
import { SubstituteTag, TrappedTag } from "#app/data/battler-tags";
import { StatusEffect } from "#app/data/status-effect";
import { BerryType } from "#app/enums/berry-type";
import { SPLASH_ONLY } from "../utils/testUtils";
const TIMEOUT = 20 * 1000; // 20 sec timeout