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 devastating spell damage, capable of incinerating groups of foes or freezing
|
||||
enemies in place. Choose your element: embrace the flames or command the frost.
|
||||
|
||||
# Base stats (total: 65)
|
||||
# Base stats (total: 65 + luck)
|
||||
base_stats:
|
||||
strength: 8 # Low physical power
|
||||
dexterity: 10 # Average agility
|
||||
@@ -16,6 +16,7 @@ base_stats:
|
||||
intelligence: 15 # Exceptional magical power
|
||||
wisdom: 12 # Above average perception
|
||||
charisma: 11 # Above average social
|
||||
luck: 9 # Slight chaos magic boost
|
||||
|
||||
starting_equipment:
|
||||
- worn_staff
|
||||
|
||||
Reference in New Issue
Block a user