mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-27 02:32:21 +02:00
Fixed move effectiveness test to assign mons to scene.field
This commit is contained in:
parent
10e0f9f0de
commit
2f4183c57c
@ -21,6 +21,8 @@ function testMoveEffectiveness(game: GameManager, move: Moves, targetSpecies: Sp
|
||||
|
||||
const user = game.scene.addPlayerPokemon(getPokemonSpecies(Species.SNORLAX), 5);
|
||||
const target = game.scene.addEnemyPokemon(getPokemonSpecies(targetSpecies), 5, TrainerSlot.NONE);
|
||||
game.scene.field.add(user);
|
||||
game.scene.field.add(target);
|
||||
|
||||
if (teraType !== undefined) {
|
||||
overrideHeldItems(game.scene, target, false);
|
||||
|
Loading…
Reference in New Issue
Block a user