diff --git a/packages/pokemon/src/ui/SwitchPanel.tsx b/packages/pokemon/src/ui/SwitchPanel.tsx index 400d91b55..2dd861e05 100644 --- a/packages/pokemon/src/ui/SwitchPanel.tsx +++ b/packages/pokemon/src/ui/SwitchPanel.tsx @@ -2,7 +2,6 @@ import React from 'react' import { Box, Text } from '@anthropic/ink' import type { Creature } from '../types' import { getCreatureName } from '../core/creature' -import { calculateStats } from '../core/creature' const CYAN = 'ansi:cyan' const GREEN = 'ansi:green' @@ -23,10 +22,6 @@ export function SwitchPanel({ party, activeId, onSelect, onCancel }: SwitchPanel 换人 {party.map((creature, i) => { - const stats = calculateStats(creature) - const isActive = creature.id === activeId - const hpPct = 100 // No current HP tracking in v2, assume full - const hpColor = hpPct > 50 ? GREEN : hpPct > 25 ? YELLOW : RED return (