mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-09 08:59:29 +02:00
Fixed locales + tests
This commit is contained in:
parent
e3fb95ffc1
commit
944fc14fb6
@ -1 +1 @@
|
||||
Subproject commit 73baa3b8d9c486fd6263f601182ed97938fb6597
|
||||
Subproject commit b96c39ed499c1d94b9edc362656667c8329ff5c4
|
@ -39,7 +39,7 @@ export class PositionalTagManager {
|
||||
const leftoverTags: PositionalTag[] = [];
|
||||
for (const tag of this.tags) {
|
||||
// Check for silent removal, immediately removing tags that.
|
||||
if (!tag.shouldDisappear()) {
|
||||
if (tag.shouldDisappear()) {
|
||||
continue;
|
||||
}
|
||||
|
||||
|
@ -320,6 +320,7 @@ describe("Moves - Delayed Attacks", () => {
|
||||
|
||||
game.doSwitchPokemon(1);
|
||||
const typeMock = vi.spyOn(game.field.getPlayerPokemon(), "getMoveType");
|
||||
const powerMock = vi.spyOn(allMoves[MoveId.DOOM_DESIRE], "calculateBattlePower");
|
||||
|
||||
await game.toNextTurn();
|
||||
|
||||
@ -333,6 +334,7 @@ describe("Moves - Delayed Attacks", () => {
|
||||
}),
|
||||
);
|
||||
expect(typeMock).toHaveLastReturnedWith(PokemonType.STEEL);
|
||||
expect(powerMock).toHaveLastReturnedWith(150);
|
||||
});
|
||||
|
||||
it.todo("should not apply the user's held items when dealing damage if the user is inactive", async () => {
|
||||
|
Loading…
Reference in New Issue
Block a user