Add condition badges for boss Pokemon mechanics
Show colored pill badges (Mega, G-Max, D-Max, Tera) on boss Pokemon in BossDefeatModal and BossTeamPreview. Starter-dependent condition labels are ignored. Follows EncounterMethodBadge pattern. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { type FormEvent, useState, useMemo } from 'react'
|
||||
import type { BossBattle, CreateBossResultInput } from '../types/game'
|
||||
import { ConditionBadge } from './ConditionBadge'
|
||||
|
||||
interface BossDefeatModalProps {
|
||||
boss: BossBattle
|
||||
@@ -108,6 +109,7 @@ export function BossDefeatModal({
|
||||
<span className="text-xs font-medium text-gray-700 dark:text-gray-300">
|
||||
Lv.{bp.level}
|
||||
</span>
|
||||
<ConditionBadge condition={bp.conditionLabel} size="xs" />
|
||||
</div>
|
||||
))}
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user