mirror of
https://github.com/jparkerweb/plan2code.git
synced 2026-11-17 04:45:33 -08:00
Add Ghoul Rush's new stages (bog, hearse, pew, wagon and more) with their intros and suites
AI Assisted
This commit is contained in:
1 parent
c1e32b8aca
commit
d016ba862a
78 files changed
+30982
-145
No files matched your search
@@ -0,0 +1,9 @@
|
||||
// Shared helpers for the Ghoul Rush tests (not a test itself).
|
||||
|
||||
// Leaves a boss room's intro card (phase "bossintro", ghoul-bossintro-draw.js) the way a player does: after the lockout, a fresh press.
|
||||
// A round in any other phase is left alone. Returns true when it left a card.
|
||||
export function skipBossIntro(ghoul, round) {
|
||||
if (round.phase !== "bossintro") return false;
|
||||
round.introMs = Math.max(round.introMs || 0, ghoul.INTRO_MIN_MS);
|
||||
return ghoul.takeIntro(round);
|
||||
}
|
||||
Reference in new issue
Block a user