feat(api): add luck (LUK) stat to character system
Add new Luck stat to the character stats system with class-specific values: - Assassin: 12 (highest - critical specialists) - Luminary: 11 (divine favor) - Wildstrider/Lorekeeper: 10 (average) - Arcanist/Oathkeeper: 9 (modest) - Vanguard: 8 (default - relies on strength) - Necromancer: 7 (lowest - dark arts cost) Changes: - Add luck field to Stats dataclass with default of 8 - Add LUCK to StatType enum - Update all 8 class YAML files with luck values - Display LUK in character panel (play page) and detail page - Update DATA_MODELS.md documentation Backward compatible: existing characters without luck default to 8.
This commit is contained in:
@@ -8,7 +8,7 @@ description: >
|
||||
excel in supporting allies and controlling enemies through clever magic and mental manipulation.
|
||||
Choose your art: weave arcane power or bend reality itself.
|
||||
|
||||
# Base stats (total: 67)
|
||||
# Base stats (total: 67 + luck)
|
||||
base_stats:
|
||||
strength: 8 # Low physical power
|
||||
dexterity: 11 # Above average agility
|
||||
@@ -16,6 +16,7 @@ base_stats:
|
||||
intelligence: 13 # Above average magical power
|
||||
wisdom: 11 # Above average perception
|
||||
charisma: 14 # High social/performance
|
||||
luck: 10 # Knowledge is its own luck
|
||||
|
||||
starting_equipment:
|
||||
- tome
|
||||
|
||||
Reference in New Issue
Block a user