-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
bugSomething isn't workingSomething isn't workingcreationhigh-priorityImportant - address soonImportant - address soon
Milestone
Description
Summary
Implement the TODO for priority conflict detection in character creation. Currently hardcoded to always return false, meaning priority conflicts are never detected.
Parent Issue
- Creation Sheet Verification & Polish #95 Creation Sheet Verification & Polish
Location
components/creation/PrioritySelectionCard.tsx:285
// TODO: Implement conflict detection for metatype/magic priority requirements
return false;Problem
When players assign priorities (A-E) during character creation, certain combinations create conflicts:
- Metatype requirements: Some metatypes require minimum priority levels (e.g., Troll might need Priority C or higher for metatype)
- Magic/Resonance requirements: Magic users need sufficient priority to access their tradition
- Cross-priority dependencies: Choosing a magic-heavy priority affects what metatypes are viable
Currently, players can assign any priority to any category without validation, potentially creating invalid characters.
Expected Behavior
- When assigning priorities, detect conflicts with already-selected metatype/magic path
- Show warning/error when conflict detected
- Prevent or warn about finalizing characters with priority conflicts
Implementation Notes
The function needs to check:
- Current metatype selection and its minimum priority requirement
- Current magic/resonance path and its minimum priority requirement
- Whether the proposed priority assignment would violate these requirements
Acceptance Criteria
- Priority conflicts are detected when assigning priorities
- User sees clear feedback when a conflict exists
- Cannot finalize character with unresolved priority conflicts
- Existing valid characters are not affected
- Unit tests cover conflict detection logic
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcreationhigh-priorityImportant - address soonImportant - address soon