character_advance
Advance a character by one level: add hit points, attribute increases, and Gift; upgrade Doom die at level 10. Requires enough Stories and no active combat.
Instructions
Advance one player character by exactly one level.
Call this when the table levels a character up. The tool refuses unless the character has collected Stories equal to their current level, so check eligibility with character_sheet or session_close first. Advancing two levels needs two calls, each with that level's own choices.
The tool adds the level's hit point, applies the player's chosen attribute increases and Gift, and upgrades the Doom die to d8 at level 10. It rejects a choice that does not match the level's benefits and writes nothing. It also refuses while combat is active: advance between encounters, not mid-fight.
attribute_increases: the attributes the player raises this level, from STR, DEX, CON, INT, WIS, CHA. Levels 2 and 6 raise one; levels 4 and 8 raise two distinct attributes. Each raised attribute must sit below 18. Other levels raise none. gift_id: at levels 3, 5, 7, and 9, one Gift id from rules/gifts.json the character does not already hold. Leave it empty at other levels.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| gift_id | No | ||
| character_id | Yes | ||
| attribute_increases | No |