Update test/moves/court-change.test.ts

Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
This commit is contained in:
thisPieonFire 2025-07-08 14:41:40 +02:00 committed by GitHub
parent 8bc44baa3a
commit d8ebd27a9b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -50,6 +50,8 @@ describe("Move - Court Change", () => {
game.move.use(MoveId.SPLASH, 1); game.move.use(MoveId.SPLASH, 1);
await game.toEndOfTurn(); await game.toEndOfTurn();
// own team should now be in the swamp and slowed // own team should now be in the swamp and slowed
expect(game.scene.arena.getTagOnSide(ArenaTagType.GRASS_WATER_PLEDGE, ArenaTagSide.ENEMY)).toBeUndefined();
expect(game.scene.arena.getTagOnSide(ArenaTagType.GRASS_WATER_PLEDGE, ArenaTagSide.PLAYER)).toBeDefined();
expect(regieleki.getEffectiveStat(Stat.SPD)).toBe(regieleki.getStat(Stat.SPD) / 4); expect(regieleki.getEffectiveStat(Stat.SPD)).toBe(regieleki.getStat(Stat.SPD) / 4);
}); });