Add hidden dev debug console (v0.5.0)
This commit is contained in:
1 parent
b8b5c360f2
commit
3f76998fab
22 files changed
+1161
-57
No files matched your search
+2
-2
@@ -14,8 +14,8 @@ const BOSS_DEFS = [
|
||||
|
||||
function bossIndexForFloor(floor) { return (floor - 1) % BOSS_DEFS.length; }
|
||||
|
||||
function spawnBoss(floor) {
|
||||
const def = BOSS_DEFS[bossIndexForFloor(floor)];
|
||||
function spawnBoss(floor, forcedIndex) {
|
||||
const def = BOSS_DEFS[forcedIndex === undefined ? bossIndexForFloor(floor) : forcedIndex];
|
||||
const cycle = Math.floor((floor - 1) / 3);
|
||||
const tier = Math.max(0, cycle - def.debutCycle);
|
||||
const up = powerScore();
|
||||
|
||||
Reference in new issue
Block a user