mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-04 07:22:19 +02:00
Update field-helper.ts
Co-authored-by: NightKev <34855794+DayKev@users.noreply.github.com>
This commit is contained in:
parent
263319cd50
commit
31d33d2f13
@ -84,7 +84,6 @@ export class FieldHelper extends GameManagerHelper {
|
||||
*/
|
||||
public forceTera(pokemon: Pokemon, teraType: PokemonType = pokemon.getSpeciesForm(true).type1): void {
|
||||
vi.spyOn(pokemon, "isTerastallized", "get").mockReturnValue(true);
|
||||
teraType ??= pokemon.getSpeciesForm(true).type1;
|
||||
vi.spyOn(pokemon, "teraType", "get").mockReturnValue(teraType);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user