export function ArenaBar({ className = '', current, max, shield = 0, }: { className?: string current: number max: number shield?: number }) { const percent = max > 0 ? Math.max(0, Math.min(100, (current / max) * 100)) : 0 const shieldPercent = max > 0 ? Math.max(0, Math.min(100, (shield / max) * 100)) : 0 return (
{shieldPercent > 0 && }
) }