mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-12-12 21:05:20 +01:00
Add comment justifying usage of runToSummon
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
This commit is contained in:
parent
fa22a7f3eb
commit
41b05f0ce3
@ -34,6 +34,7 @@ describe("Abilities - Rattled", () => {
|
|||||||
});
|
});
|
||||||
|
|
||||||
it("should trigger and boost speed immediately after Intimidate attack drop on initial send out", async () => {
|
it("should trigger and boost speed immediately after Intimidate attack drop on initial send out", async () => {
|
||||||
|
// `runToSummon` used instead of `startBattle` to avoid skipping past initial "post send out" effects
|
||||||
await game.classicMode.runToSummon([SpeciesId.GIMMIGHOUL]);
|
await game.classicMode.runToSummon([SpeciesId.GIMMIGHOUL]);
|
||||||
|
|
||||||
const playerPokemon = game.scene.getPlayerPokemon();
|
const playerPokemon = game.scene.getPlayerPokemon();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user