mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
Fix test imports + nits
This commit is contained in:
parent
390485db90
commit
f86218dc0e
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user