Fix Task6: Remove duplicate SpireTab.tsx and verify swarm mode
- Deleted old src/components/game/SpireTab.tsx (duplicate of tabs/SpireTab.tsx) - Verified SWARM_CONFIG: 15% chance, 3-6 enemies at 40% HP - Verified UI in tabs/SpireTab.tsx correctly renders each swarm enemy individually - Verified generateSwarmEnemies() and generateRoomType() logic is correct
This commit is contained in:
@@ -353,11 +353,11 @@ export function SpireTab({ store, simpleMode = false }: SpireTabProps) {
|
||||
</span>
|
||||
</div>
|
||||
<div className="text-xs text-gray-400 game-mono mb-1">
|
||||
⚔️ {fmt(totalDPS)} DPS •
|
||||
⚔️ {fmt(calcDamage(store, spellId))} dmg/cast •
|
||||
<span style={{ color: getSpellCostColor(spellDef.cost) }}>
|
||||
{' '}{formatSpellCost(spellDef.cost)}
|
||||
</span>
|
||||
{' '}• ⚡ {(spellDef.castSpeed || 1).toFixed(1)}/hr
|
||||
{' '}• ⚡ {fmt(Math.floor(calcDamage(store, spellId) * (spellDef.castSpeed || 1)))} dmg/hr
|
||||
</div>
|
||||
|
||||
{/* Cast progress bar when climbing */}
|
||||
|
||||
Reference in New Issue
Block a user