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: >
|
||||
capable of becoming an elusive phantom or a master of critical strikes. Choose your path: embrace
|
||||
the shadows or perfect the killing blow.
|
||||
|
||||
# Base stats (total: 65)
|
||||
# Base stats (total: 65 + luck)
|
||||
base_stats:
|
||||
strength: 11 # Above average physical power
|
||||
dexterity: 15 # Exceptional agility
|
||||
@@ -16,6 +16,7 @@ base_stats:
|
||||
intelligence: 9 # Below average magic
|
||||
wisdom: 10 # Average perception
|
||||
charisma: 10 # Average social
|
||||
luck: 12 # High luck for crits and precision
|
||||
|
||||
starting_equipment:
|
||||
- rusty_dagger
|
||||
|
||||
Reference in New Issue
Block a user