Skip to content

Instantly share code, notes, and snippets.

@scooper4711
scooper4711 / computeChallengePoints.js
Created May 19, 2025 01:37
Pathfinder Society Challenge Point Calculator
// This FoundryVTT macro will calculate the challenge points for
// a pathfinder society game.
// It pops up a dialog asking how many players (2-6), and
// the lowest allowed level for the adventure.
// Based on those answers, it will ask for the level for each
// character.
// it will then output a chat card with the number of pre-generated
// NPCs needed, the level for the pre-gens and how many
// Challenge points.