Expand description
Monsters: full stat blocks, kept in a shared library (the SRD) and per campaign (homebrew), and turned into combatants when they join a fight.
A stat block is plain JSON, like a character sheet, so monsters can be
written by hand or converted from elsewhere (see tools/).
Structs§
- Feature
- A trait, action, reaction or legendary action.
- HitDice
- Hit dice:
countdsidesplusbonus. - Monster
- A stored monster: server-assigned metadata plus the stat block.
- Monster
Sheet - A full stat block. Everything but the name has a default, so a file needs only what the monster actually has.
- Monster
Summary - For listing and completing names.
Enums§
- Monster
Error - Why a stat block isn’t valid.
Functions§
- challenge_
value - “1/4” is 0.25, “5” is 5; anything else sorts first.