add OverridesHelper.startingLevel()
This commit is contained in:
parent
5a173df24d
commit
b16a28d5b8
|
@ -41,6 +41,17 @@ export class OverridesHelper {
|
|||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Override the player (pokemon) starting level
|
||||
* @param level the (pokemon) level to set
|
||||
* @returns this
|
||||
*/
|
||||
startingLevel(level: Species | number): this {
|
||||
vi.spyOn(Overrides, "STARTING_LEVEL_OVERRIDE", "get").mockReturnValue(level);
|
||||
this.log(`Player Pokemon starting level set to ${level}!`);
|
||||
return this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Override the player (pokemon) {@linkcode Species | species}
|
||||
* @param species the (pokemon) {@linkcode Species | species} to set
|
||||
|
|
Loading…
Reference in New Issue