Small module to keep track of persistent damage for pathfinder 2E using the effects system. Accessed via macros in the compendium, and if certain settings are enabled, they will be automatically calculated and/or removed when the actor's turn has finished.
Derived from the condition setter macro from mothringer. If you're feeling generous, you can send something through Paypal if you want.
In Foundry setup, click on the Install Module button and put the following path in the Manifest URL. You could also use a path from a specific release.
https://github.com/CarlosFdez/pf2e-persistent-damage/releases/latest/download/module.json
The module comes with a compendium with two macros, Add Persistent Damage and Process Persistent Damage.
Use to add persistent damage effects to selected tokens. These effects can be removed either in the sheet or by right clicking in the "effects panel". Make sure the effects panel is enabled in the left toolbar to see it.
Once added, persistent damage value can be edited via the effect:
Use to inspect selected tokens for all persistent damage effects and create chat messages for them. On each chat message, clicking on the crosshair button will select the token, making it easier to use the chat damage buttons to apply damage.
There is some rudimentary fast healing and regeneration support, but its not complete. There is a new rule element added by the module, PF2E.RuleElement.Healing
, with two examples in the compendium: Life Boost and Troll Regeneration. If you have an ideas on things I can do to improve tracking fast healing and troll regen, or if you want to add more items to the compendium, please let me know and we can work it out.
Beginning of turn healing is handled either by progressing the combat tracking (if auto processing is enabled) or by using the Process Healing
macro from the compendium. Fast healing can be removed by right clicking in the Effect Panel just like persistent damage can.
Modules known to cause issues running alongside this one.
- Status Icon Counters - removed effects will leave icons behind if you're running this
It is recommended to use VSCode for the project, but anything else that can handle typescript will work. Node 14 or higher is required.
- Open a terminal in the root folder
npm install
npm run watch
for development ornpm run build
for a one time build- Build will be in the
dist
folder. Create a symlink to the foundry modules folder for development.