# Luminary - Holy Healer/DPS
# Flexible hybrid class: Choose Divine Protection (healing/shields) or Radiant Judgment (holy damage)

class_id: luminary
name: Luminary
description: >
  A blessed warrior who channels divine power. Luminaries excel in healing and protection,
  capable of becoming a guardian angel for their allies or a righteous crusader smiting evil.
  Choose your calling: protect the innocent or judge the wicked.

# Base stats (total: 68 + luck)
base_stats:
  strength: 9       # Below average physical power
  dexterity: 9      # Below average agility
  constitution: 11  # Above average endurance
  intelligence: 12  # Above average magical power
  wisdom: 14        # High perception/divine power
  charisma: 13      # Above average social
  luck: 11          # Divine favor grants fortune

starting_equipment:
  - rusty_mace
  - cloth_armor
  - health_potion_small

starting_abilities:
  - basic_attack

skill_trees:
  # ==================== DIVINE PROTECTION (Healing/Shields) ====================
  - tree_id: divine_protection
    name: Divine Protection
    description: >
      The path of the guardian. Channel divine energy to heal wounds, shield allies,
      and protect the vulnerable from harm.

    nodes:
      # --- TIER 1 ---
      - skill_id: heal
        name: Heal
        description: Channel divine energy to restore an ally's health.
        tier: 1
        prerequisites: []
        effects:
          abilities:
            - heal

      - skill_id: divine_grace
        name: Divine Grace
        description: Your connection to the divine enhances your wisdom and healing power.
        tier: 1
        prerequisites: []
        effects:
          stat_bonuses:
            wisdom: 5

      # --- TIER 2 ---
      - skill_id: holy_shield
        name: Holy Shield
        description: Grant an ally a protective barrier that absorbs damage.
        tier: 2
        prerequisites:
          - heal
        effects:
          abilities:
            - holy_shield

      - skill_id: blessed_aura
        name: Blessed Aura
        description: Emit an aura that passively regenerates nearby allies' health each turn.
        tier: 2
        prerequisites:
          - divine_grace
        effects:
          passive_effects:
            - aura_healing  # 5% max HP per turn to allies

      # --- TIER 3 ---
      - skill_id: mass_heal
        name: Mass Heal
        description: Channel divine power to heal all allies at once.
        tier: 3
        prerequisites:
          - holy_shield
        effects:
          abilities:
            - mass_heal

      - skill_id: guardian_angel
        name: Guardian Angel
        description: Place a protective blessing on an ally that prevents their next death.
        tier: 3
        prerequisites:
          - blessed_aura
        effects:
          abilities:
            - guardian_angel

      # --- TIER 4 ---
      - skill_id: divine_intervention
        name: Divine Intervention
        description: Call upon divine power to fully heal an ally and remove all debuffs.
        tier: 4
        prerequisites:
          - mass_heal
        effects:
          abilities:
            - divine_intervention

      - skill_id: sanctified
        name: Sanctified
        description: Your divine power reaches new heights, improving all healing.
        tier: 4
        prerequisites:
          - guardian_angel
        effects:
          stat_bonuses:
            wisdom: 10
          combat_bonuses:
            healing_power: 0.25  # +25% healing

      # --- TIER 5 (Ultimate) ---
      - skill_id: resurrection
        name: Resurrection
        description: Bring a fallen ally back to life with 50% health and mana.
        tier: 5
        prerequisites:
          - divine_intervention
        effects:
          abilities:
            - resurrection

      - skill_id: beacon_of_hope
        name: Beacon of Hope
        description: You radiate divine energy. Massive wisdom and healing bonuses.
        tier: 5
        prerequisites:
          - sanctified
        effects:
          stat_bonuses:
            wisdom: 20
            charisma: 10
          combat_bonuses:
            healing_power: 0.50  # Additional +50% healing

  # ==================== RADIANT JUDGMENT (Holy Damage) ====================
  - tree_id: radiant_judgment
    name: Radiant Judgment
    description: >
      The path of the crusader. Wield holy power as a weapon, smiting the wicked
      with radiant damage and divine wrath.

    nodes:
      # --- TIER 1 ---
      - skill_id: smite
        name: Smite
        description: Strike an enemy with holy power, dealing radiant damage.
        tier: 1
        prerequisites: []
        effects:
          abilities:
            - smite

      - skill_id: righteous_fury
        name: Righteous Fury
        description: Your righteous anger fuels your holy power.
        tier: 1
        prerequisites: []
        effects:
          stat_bonuses:
            wisdom: 5

      # --- TIER 2 ---
      - skill_id: holy_fire
        name: Holy Fire
        description: Burn an enemy with holy flames, dealing damage and reducing their healing received.
        tier: 2
        prerequisites:
          - smite
        effects:
          abilities:
            - holy_fire

      - skill_id: zealot
        name: Zealot
        description: Your devotion to righteousness increases your damage against evil.
        tier: 2
        prerequisites:
          - righteous_fury
        effects:
          stat_bonuses:
            wisdom: 5
            strength: 3
          combat_bonuses:
            holy_damage_bonus: 0.15  # +15% holy damage

      # --- TIER 3 ---
      - skill_id: consecration
        name: Consecration
        description: Consecrate the ground, dealing holy damage to enemies standing in it each turn.
        tier: 3
        prerequisites:
          - holy_fire
        effects:
          abilities:
            - consecration

      - skill_id: divine_wrath
        name: Divine Wrath
        description: Channel pure divine fury into your attacks.
        tier: 3
        prerequisites:
          - zealot
        effects:
          stat_bonuses:
            wisdom: 10
          combat_bonuses:
            holy_damage_bonus: 0.20  # Additional +20% holy damage

      # --- TIER 4 ---
      - skill_id: hammer_of_justice
        name: Hammer of Justice
        description: Summon a massive holy hammer to crush your foes, stunning and damaging them.
        tier: 4
        prerequisites:
          - consecration
        effects:
          abilities:
            - hammer_of_justice

      - skill_id: crusader
        name: Crusader
        description: You become a true crusader, dealing devastating holy damage.
        tier: 4
        prerequisites:
          - divine_wrath
        effects:
          stat_bonuses:
            wisdom: 10
            strength: 5
          combat_bonuses:
            holy_damage_bonus: 0.25  # Additional +25% holy damage

      # --- TIER 5 (Ultimate) ---
      - skill_id: divine_storm
        name: Divine Storm
        description: Unleash a catastrophic storm of holy energy, damaging and stunning all enemies.
        tier: 5
        prerequisites:
          - hammer_of_justice
        effects:
          abilities:
            - divine_storm

      - skill_id: avatar_of_light
        name: Avatar of Light
        description: Become an avatar of divine light itself. Incredible holy damage bonuses.
        tier: 5
        prerequisites:
          - crusader
        effects:
          stat_bonuses:
            wisdom: 20
            strength: 10
            charisma: 10
          combat_bonuses:
            holy_damage_bonus: 0.50  # Additional +50% holy damage
