chore: remove unused imports, vars, and params — 84 imports, 7 vars, 16 params across 45+ files
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m25s
Build and Publish Mana Loop Docker Image / build-and-publish (push) Successful in 1m25s
This commit is contained in:
@@ -2,7 +2,15 @@
|
||||
// Moved from store-modules/room-utils.ts to eliminate legacy dependencies
|
||||
|
||||
import type { RoomType, FloorState, EnemyState } from '../types';
|
||||
import { FLOOR_ELEM_CYCLE, PUZZLE_ROOMS, PUZZLE_ROOM_INTERVAL, PUZZLE_ROOM_CHANCE, SWARM_ROOM_CHANCE, SPEED_ROOM_CHANCE, FLOOR_ARMOR_CONFIG, SWARM_CONFIG, SPEED_ROOM_CONFIG } from '../constants';
|
||||
import {
|
||||
PUZZLE_ROOMS,
|
||||
PUZZLE_ROOM_INTERVAL,
|
||||
PUZZLE_ROOM_CHANCE,
|
||||
SWARM_ROOM_CHANCE,
|
||||
SPEED_ROOM_CHANCE,
|
||||
FLOOR_ARMOR_CONFIG,
|
||||
SPEED_ROOM_CONFIG
|
||||
} from '../constants';
|
||||
import { getGuardianForFloor } from '../data/guardian-encounters';
|
||||
import { getFloorMaxHP } from './floor-utils';
|
||||
import { getFloorElement } from './floor-utils';
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
// Spire-specific utility functions for room generation, enemy stat scaling, etc.
|
||||
|
||||
import type { RoomType, FloorState, EnemyState } from '../types';
|
||||
import { FLOOR_ELEM_CYCLE, PUZZLE_ROOMS } from '../constants';
|
||||
import { PUZZLE_ROOMS } from '../constants';
|
||||
import { getFloorMaxHP, getFloorElement } from './floor-utils';
|
||||
import { getEnemyName } from './enemy-utils';
|
||||
import { getGuardianForFloor, isGuardianFloor } from '../data/guardian-encounters';
|
||||
@@ -62,7 +62,7 @@ export function generateSpireRoomType(floor: number, roomIndex: number, totalRoo
|
||||
return generateCombatRoomType(floor);
|
||||
}
|
||||
|
||||
function generateCombatRoomType(floor: number): RoomType {
|
||||
function generateCombatRoomType(_floor: number): RoomType {
|
||||
const roll = Math.random();
|
||||
if (roll < 0.12) return 'swarm';
|
||||
if (roll < 0.22) return 'speed';
|
||||
|
||||
Reference in New Issue
Block a user