Skip to content

Keeps track of persistent damage on actors for PF2E for Foundry VTT

Notifications You must be signed in to change notification settings

DoggieBert/pf2e-persistent-damage

 
 

Repository files navigation

PF2E Persistent Damage

Foundry Core Compatible Version

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.

How to Install

Manual Install

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

Persistent Damage

The module comes with a compendium with two macros, Add Persistent Damage and Process Persistent Damage.

Add 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.

image

Once added, persistent damage value can be edited via the effect:

image

Process Persistent Damage

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.

image

Fast Healing

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.

Incompatibilities

Modules known to cause issues running alongside this one.

  • Status Icon Counters - removed effects will leave icons behind if you're running this

How to Build

It is recommended to use VSCode for the project, but anything else that can handle typescript will work. Node 14 or higher is required.

  1. Open a terminal in the root folder
  2. npm install
  3. npm run watch for development or npm run build for a one time build
  4. Build will be in the dist folder. Create a symlink to the foundry modules folder for development.

About

Keeps track of persistent damage on actors for PF2E for Foundry VTT

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • TypeScript 84.4%
  • SCSS 6.9%
  • HTML 5.2%
  • JavaScript 3.5%