Skip to content

feat: Add Random Battles type and weakness tracker#243

Open
frxyoz wants to merge 1 commit intodoshidak:masterfrom
frxyoz:feature/random-battles-tracker
Open

feat: Add Random Battles type and weakness tracker#243
frxyoz wants to merge 1 commit intodoshidak:masterfrom
frxyoz:feature/random-battles-tracker

Conversation

@frxyoz
Copy link
Copy Markdown

@frxyoz frxyoz commented Feb 10, 2026

  • Add RandomBattleValidationPanel component to display type/weakness tracking specifically for random battles
  • Implement calcRandomBattlesValidation utility to count types and weaknesses
  • Track type counts (max 2 per type) and weakness counts (max 3 per type) in non-monotype Random Battles formats (Pokemon Generation is limited to these constraints)
  • Display all 18 types with color-coded status (green=ok, red=limit reached)
  • Add special handling for Fluffy/Dry Skin abilities (count as Fire weakness)
  • Integrate panel into Calcdex UI

- Add RandomBattleValidationPanel component to display type/weakness tracking
- Implement calcRandomBattlesValidation utility to count types and weaknesses
- Track type counts (max 2 per type) and weakness counts (max 3 per type)
- Display all 18 types with color-coded status (green=ok, red=limit reached)
- Add special handling for Fluffy/Dry Skin abilities (count as Fire weakness)
- Disable weakness tracking in Monotype formats
- Add Redux slice for validation state persistence
- Integrate panel into Calcdex UI
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant