Files
nuzlocke-tracker/.beans/nuzlocke-tracker-fv7w--add-team-size-limit-rule.md
2026-02-20 22:03:52 +01:00

1.5 KiB

title, status, type, priority, created_at, updated_at, parent
title status type priority created_at updated_at parent
Add boss team match rule completed feature normal 2026-02-20T19:56:22Z 2026-02-20T21:03:20Z nuzlocke-tracker-49xj

When enabled, hint to the player that they should limit their active party to the same number of Pokemon as the next boss fight. This is a self-imposed difficulty rule — the tracker cannot enforce it since it doesn't track the active party, but it can surface the information.

Design

Rule: Add bossTeamMatch: boolean to NuzlockeRules (default: false, category: playstyle).

Display: When enabled and the sticky boss banner is shown, add a hint next to the boss name showing their team size, e.g. "Next: Brock (2 Pokemon — match their team)". This reuses the existing nextBoss and its pokemon array.

Variant bosses: Some bosses have conditional teams (e.g. rival starter choice). Use the same logic as BossTeamPreview: count pokemon without a conditionLabel plus those matching the auto-detected variant (via matchVariant). Falls back to first variant if no match is detected.

Scope: Frontend-only. No backend or data model changes needed.

Checklist

  • Add bossTeamMatch: boolean to NuzlockeRules interface and DEFAULT_RULES (default: false)
  • Add RuleDefinition entry (category: playstyle)
  • Show boss team size hint in the sticky level cap banner when the rule is enabled
  • Handle variant boss teams (use auto-matched variant count when available)