{
  "format": "encounterra.homebrew",
  "schemaVersion": "0.1",
  "requires": {
    "ruleset": "dnd-2024",
    "srdCatalog": "5.2.1-encounterra.1"
  },
  "package": {
    "id": "4c599268-e4ce-41cb-84b1-6884db9e0e4a",
    "name": "Lantern Medium — Keeper of Kindly Spirits",
    "version": "0.1.3"
  },
  "definitions": [
    {
      "kind": "hero",
      "id": "lantern-medium",
      "name": "Lantern Medium",
      "stats": {
        "level": 8,
        "hitPoints": 58,
        "armorClass": 15,
        "speedFeet": 30,
        "darkvisionFeet": 60,
        "size": "medium",
        "creatureType": "humanoid",
        "abilityScores": {
          "strength": 8,
          "dexterity": 14,
          "constitution": 14,
          "intelligence": 12,
          "wisdom": 18,
          "charisma": 14
        },
        "savingThrows": {
          "strength": -1,
          "dexterity": 2,
          "constitution": 2,
          "intelligence": 1,
          "wisdom": 7,
          "charisma": 5
        },
        "difficultyClass": 15,
        "spellAttackBonus": 7
      },
      "resources": [
        {
          "id": "lantern-oil",
          "maximum": 4,
          "refresh": "shortRest"
        },
        {
          "id": "spirit-call",
          "maximum": 1,
          "refresh": "longRest"
        }
      ],
      "actions": [
        "#beacon-bolt",
        "#kindly-mending",
        "#sheltering-light",
        "#clear-mind",
        "#lantern-step"
      ],
      "choices": [{
        "id": "guidance", "name": "Spirit Guidance", "default": "calling",
        "options": [
          { "id": "calling", "name": "Call a Lantern Spirit", "grants": ["#call-lantern-spirit"] },
          { "id": "chorus", "name": "Guiding Chorus", "grants": ["#guiding-chorus"] }
        ]
      }]
    },
    {
      "kind": "spell", "id": "guiding-chorus", "name": "Guiding Chorus",
      "level": 1, "school": "enchantment", "components": ["verbal"], "concentration": true,
      "target": { "side": "ally", "rangeFeet": 30, "includeSelf": true, "maxTargets": 3 },
      "resource": { "ref": "lantern-oil", "cost": 1 },
      "resolution": { "op": "applyEffect", "ref": "#chorus-effect" }
    },
    {
      "kind": "effect", "id": "chorus-effect", "name": "Kindly Guidance",
      "modifiers": [
        { "kind": "attackBonusDie", "dice": { "count": 1, "sides": 4 } },
        { "kind": "savingThrowBonusDie", "dice": { "count": 1, "sides": 4 } }
      ],
      "attachments": [{ "kind": "combatant", "duration": "concentration", "maxTargetTurns": 10 }]
    },
    {
      "kind": "spell",
      "id": "beacon-bolt",
      "school": "evocation",
      "name": "Beacon Bolt",
      "level": 0,
      "activation": "action",
      "target": {
        "side": "enemy",
        "rangeFeet": 90
      },
      "resolution": {
        "kind": "attack",
        "attackType": "ranged",
        "attackBonus": 7,
        "onHit": {
          "op": "damage",
          "amount": {
            "dice": {
              "count": 2,
              "sides": 8
            }
          },
          "damageType": "radiant"
        }
      }
    },
    {
      "kind": "spell",
      "id": "kindly-mending",
      "school": "abjuration",
      "name": "Kindly Mending",
      "level": 1,
      "activation": "action",
      "target": {
        "side": "ally",
        "rangeFeet": 60,
        "includeDowned": true,
        "includeSelf": true
      },
      "resolution": {
        "op": "heal",
        "amount": {
          "dice": {
            "count": 2,
            "sides": 8
          },
          "bonus": 4
        }
      },
      "resource": {
        "ref": "lantern-oil",
        "cost": 1
      }
    },
    {
      "kind": "spell",
      "id": "sheltering-light",
      "school": "abjuration",
      "name": "Sheltering Light",
      "level": 1,
      "activation": "bonusAction",
      "target": {
        "side": "ally",
        "rangeFeet": 30
      },
      "resolution": {
        "op": "temporaryHitPoints",
        "amount": {
          "dice": {
            "count": 2,
            "sides": 6
          },
          "bonus": 4
        }
      },
      "resource": {
        "ref": "lantern-oil",
        "cost": 1
      }
    },
    {
      "kind": "spell",
      "id": "clear-mind",
      "school": "abjuration",
      "name": "Clear Mind",
      "level": 2,
      "activation": "action",
      "target": {
        "side": "ally",
        "rangeFeet": 30,
        "requiresCondition": "frightened"
      },
      "resolution": {
        "op": "removeCondition",
        "condition": "frightened"
      },
      "resource": {
        "ref": "lantern-oil",
        "cost": 1
      }
    },
    {
      "kind": "spell",
      "id": "lantern-step",
      "school": "conjuration",
      "name": "Lantern Step",
      "level": 2,
      "activation": "bonusAction",
      "target": {
        "side": "self"
      },
      "resolution": {
        "op": "teleport",
        "distanceFeet": 30,
        "requiresSight": true
      },
      "resource": {
        "ref": "lantern-oil",
        "cost": 1
      }
    },
    {
      "kind": "spell",
      "id": "call-lantern-spirit",
      "school": "conjuration",
      "name": "Call Lantern Spirit",
      "level": 3,
      "activation": "action",
      "target": {
        "side": "self"
      },
      "resolution": {
        "op": "summon",
        "ref": "#lantern-spirit",
        "count": 1,
        "rangeFeet": 10,
        "maxActive": 1
      },
      "concentration": true,
      "resource": {
        "ref": "spirit-call",
        "cost": 1
      }
    },
    {
      "kind": "monster",
      "id": "lantern-spirit",
      "name": "Lantern Spirit",
      "stats": {
        "challengeRating": "1",
        "hitPoints": 26,
        "armorClass": 14,
        "speedFeet": 20,
        "flySpeedFeet": 30,
        "size": "small",
        "creatureType": "celestial",
        "darkvisionFeet": 60,
        "abilityScores": {
          "strength": 8,
          "dexterity": 16,
          "constitution": 12,
          "intelligence": 8,
          "wisdom": 14,
          "charisma": 12
        },
        "resistances": [
          "radiant"
        ]
      },
      "actions": [
        "#spirit-spark"
      ]
    },
    {
      "kind": "action",
      "id": "spirit-spark",
      "name": "Spirit Spark",
      "activation": "action",
      "magical": true,
      "target": {
        "side": "enemy",
        "rangeFeet": 30
      },
      "resolution": {
        "kind": "attack",
        "attackType": "ranged",
        "attackBonus": 5,
        "onHit": {
          "op": "damage",
          "amount": {
            "dice": {
              "count": 2,
              "sides": 6
            },
            "bonus": 3
          },
          "damageType": "radiant"
        }
      }
    }
  ]
}
