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.
267 lines
7.8 KiB
YAML
267 lines
7.8 KiB
YAML
# Assassin - Critical/Stealth
|
|
# Flexible hybrid class: Choose Shadow Dancer (stealth/evasion) or Blade Specialist (critical damage)
|
|
|
|
class_id: assassin
|
|
name: Assassin
|
|
description: >
|
|
A deadly operative who strikes from the shadows. Assassins excel in precise, devastating attacks,
|
|
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 + luck)
|
|
base_stats:
|
|
strength: 11 # Above average physical power
|
|
dexterity: 15 # Exceptional agility
|
|
constitution: 10 # Average endurance
|
|
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
|
|
- cloth_armor
|
|
- rusty_knife
|
|
|
|
starting_abilities:
|
|
- basic_attack
|
|
|
|
skill_trees:
|
|
# ==================== SHADOW DANCER (Stealth/Evasion) ====================
|
|
- tree_id: shadow_dancer
|
|
name: Shadow Dancer
|
|
description: >
|
|
The path of the phantom. Master stealth and evasion to become untouchable,
|
|
striking from darkness and vanishing before retaliation.
|
|
|
|
nodes:
|
|
# --- TIER 1 ---
|
|
- skill_id: shadowstep
|
|
name: Shadowstep
|
|
description: Teleport behind an enemy and strike, dealing bonus damage from behind.
|
|
tier: 1
|
|
prerequisites: []
|
|
effects:
|
|
abilities:
|
|
- shadowstep
|
|
|
|
- skill_id: nimble
|
|
name: Nimble
|
|
description: Your natural agility is enhanced through training.
|
|
tier: 1
|
|
prerequisites: []
|
|
effects:
|
|
stat_bonuses:
|
|
dexterity: 5
|
|
|
|
# --- TIER 2 ---
|
|
- skill_id: smoke_bomb
|
|
name: Smoke Bomb
|
|
description: Throw a smoke bomb, becoming untargetable for 1 turn and gaining evasion bonus.
|
|
tier: 2
|
|
prerequisites:
|
|
- shadowstep
|
|
effects:
|
|
abilities:
|
|
- smoke_bomb
|
|
|
|
- skill_id: evasion_training
|
|
name: Evasion Training
|
|
description: Learn to anticipate and dodge incoming attacks.
|
|
tier: 2
|
|
prerequisites:
|
|
- nimble
|
|
effects:
|
|
combat_bonuses:
|
|
evasion_chance: 0.15 # +15% chance to evade attacks
|
|
|
|
# --- TIER 3 ---
|
|
- skill_id: vanish
|
|
name: Vanish
|
|
description: Disappear from the battlefield for 2 turns, removing all threat and repositioning.
|
|
tier: 3
|
|
prerequisites:
|
|
- smoke_bomb
|
|
effects:
|
|
abilities:
|
|
- vanish
|
|
|
|
- skill_id: shadow_form
|
|
name: Shadow Form
|
|
description: Your body becomes harder to hit, permanently increasing evasion.
|
|
tier: 3
|
|
prerequisites:
|
|
- evasion_training
|
|
effects:
|
|
combat_bonuses:
|
|
evasion_chance: 0.10 # Additional +10% evasion
|
|
stat_bonuses:
|
|
dexterity: 5
|
|
|
|
# --- TIER 4 ---
|
|
- skill_id: death_mark
|
|
name: Death Mark
|
|
description: Mark an enemy from stealth. Your next attack on them deals 200% damage.
|
|
tier: 4
|
|
prerequisites:
|
|
- vanish
|
|
effects:
|
|
abilities:
|
|
- death_mark
|
|
|
|
- skill_id: untouchable
|
|
name: Untouchable
|
|
description: Your mastery of evasion makes you extremely difficult to hit.
|
|
tier: 4
|
|
prerequisites:
|
|
- shadow_form
|
|
effects:
|
|
combat_bonuses:
|
|
evasion_chance: 0.15 # Additional +15% evasion
|
|
stat_bonuses:
|
|
dexterity: 10
|
|
|
|
# --- TIER 5 (Ultimate) ---
|
|
- skill_id: shadow_assault
|
|
name: Shadow Assault
|
|
description: Strike all enemies in rapid succession from the shadows, guaranteed critical hits.
|
|
tier: 5
|
|
prerequisites:
|
|
- death_mark
|
|
effects:
|
|
abilities:
|
|
- shadow_assault
|
|
|
|
- skill_id: ghost
|
|
name: Ghost
|
|
description: Become one with the shadows. Massive evasion and dexterity bonuses.
|
|
tier: 5
|
|
prerequisites:
|
|
- untouchable
|
|
effects:
|
|
combat_bonuses:
|
|
evasion_chance: 0.20 # Additional +20% evasion (total can reach ~60%)
|
|
stat_bonuses:
|
|
dexterity: 15
|
|
|
|
# ==================== BLADE SPECIALIST (Critical Damage) ====================
|
|
- tree_id: blade_specialist
|
|
name: Blade Specialist
|
|
description: >
|
|
The path of precision. Master the art of the killing blow to deliver devastating
|
|
critical strikes that end fights in seconds.
|
|
|
|
nodes:
|
|
# --- TIER 1 ---
|
|
- skill_id: precise_strike
|
|
name: Precise Strike
|
|
description: A carefully aimed attack with increased critical hit chance.
|
|
tier: 1
|
|
prerequisites: []
|
|
effects:
|
|
abilities:
|
|
- precise_strike
|
|
|
|
- skill_id: keen_edge
|
|
name: Keen Edge
|
|
description: Sharpen your weapons to a razor edge, increasing critical chance.
|
|
tier: 1
|
|
prerequisites: []
|
|
effects:
|
|
combat_bonuses:
|
|
crit_chance: 0.10 # +10% base crit
|
|
|
|
# --- TIER 2 ---
|
|
- skill_id: vital_strike
|
|
name: Vital Strike
|
|
description: Target vital points to deal massive critical damage.
|
|
tier: 2
|
|
prerequisites:
|
|
- precise_strike
|
|
effects:
|
|
abilities:
|
|
- vital_strike
|
|
|
|
- skill_id: deadly_precision
|
|
name: Deadly Precision
|
|
description: Your strikes become even more lethal.
|
|
tier: 2
|
|
prerequisites:
|
|
- keen_edge
|
|
effects:
|
|
combat_bonuses:
|
|
crit_chance: 0.10 # Additional +10% crit
|
|
crit_multiplier: 0.3 # +0.3 to crit multiplier
|
|
|
|
# --- TIER 3 ---
|
|
- skill_id: hemorrhage
|
|
name: Hemorrhage
|
|
description: Critical hits cause bleeding for 3 turns, dealing heavy damage over time.
|
|
tier: 3
|
|
prerequisites:
|
|
- vital_strike
|
|
effects:
|
|
passive_effects:
|
|
- crit_applies_bleed
|
|
|
|
- skill_id: surgical_strikes
|
|
name: Surgical Strikes
|
|
description: Every attack is a calculated execution.
|
|
tier: 3
|
|
prerequisites:
|
|
- deadly_precision
|
|
effects:
|
|
combat_bonuses:
|
|
crit_chance: 0.15 # Additional +15% crit
|
|
stat_bonuses:
|
|
dexterity: 5
|
|
|
|
# --- TIER 4 ---
|
|
- skill_id: coup_de_grace
|
|
name: Coup de Grace
|
|
description: Execute targets below 25% HP instantly with a guaranteed critical.
|
|
tier: 4
|
|
prerequisites:
|
|
- hemorrhage
|
|
effects:
|
|
abilities:
|
|
- coup_de_grace
|
|
|
|
- skill_id: master_assassin
|
|
name: Master Assassin
|
|
description: Your expertise with blades reaches perfection.
|
|
tier: 4
|
|
prerequisites:
|
|
- surgical_strikes
|
|
effects:
|
|
combat_bonuses:
|
|
crit_chance: 0.10 # Additional +10% crit
|
|
crit_multiplier: 0.5 # +0.5 to crit multiplier
|
|
stat_bonuses:
|
|
strength: 5
|
|
|
|
# --- TIER 5 (Ultimate) ---
|
|
- skill_id: thousand_cuts
|
|
name: Thousand Cuts
|
|
description: Unleash a flurry of blade strikes on a single target, each hit has 50% crit chance.
|
|
tier: 5
|
|
prerequisites:
|
|
- coup_de_grace
|
|
effects:
|
|
abilities:
|
|
- thousand_cuts
|
|
|
|
- skill_id: perfect_assassination
|
|
name: Perfect Assassination
|
|
description: Your mastery of the blade is unmatched. Incredible critical bonuses.
|
|
tier: 5
|
|
prerequisites:
|
|
- master_assassin
|
|
effects:
|
|
combat_bonuses:
|
|
crit_chance: 0.20 # Additional +20% crit (total can reach ~75%)
|
|
crit_multiplier: 1.0 # +1.0 to crit multiplier
|
|
stat_bonuses:
|
|
dexterity: 10
|
|
strength: 10
|