Skip to main content

Module encounter

Module encounter 

Source
Expand description

Planned encounters and how hard they are.

A plan names monsters and how many of each, and the characters it’s balanced for. Its difficulty follows the campaign’s edition:

  • 2014 (DMG, “Creating a Combat Encounter”): the monsters’ XP, multiplied for how many there are, against each character’s Easy/Medium/Hard/Deadly threshold, summed over the party.
  • 2024 (DMG, “Combat Encounters”): the monsters’ XP, as is, against each character’s Low/Moderate/High budget, summed over the party.

Structs§

Difficulty
How hard an encounter is for a party, under one edition’s rules.
Encounter
A stored plan: server-assigned metadata plus the plan itself.
EncounterPlan
A fight planned ahead: its monsters, who of the party it’s for, and notes.
PlannedMonster
Some number of one monster.

Functions§

difficulty
How hard plan is for characters of levels, under edition.
xp_for_challenge
Experience points for a challenge rating (“1/4”, “5”), for stat blocks that don’t say; 0 for one that isn’t a rating.