module

Transformation Cleanup

Endorsements
0
Installs
0.02%
Comments
0
Latest version20260114
Minimum Core
Compatible Core
File size15.28 KB
Last updated9 months ago
Created9 months ago
Authors
Languages English
Systems Dnd5e
Project source Project URL
Report bugs Bug tracker URL
Read-me Readme URL
Changelog Changelog URL
License License URL

latest release Foundry D&D 5e [matrix]

License: GPLv3 Zero AI Please don’t upload to GitHub Support me on Ko-fi!

A module for D&D 5e on Foundry VTT that automatically cleans up leftover actors after a player reverts a transformation.

Settings

  • Clean Leftover Actor: Automatically delete the transformed actor after a player reverts a transformation. (default: true)

Technical Details

The module hooks into the D&D 5e system’s updateActor hook (this is not documented in the system wiki, but essentially identical to Foundry’s updateDocument hook, except that the first argument is an Actor5e). If the actor had the dnd5e.isPolymorphed flag removed in the update, it assumes that we are looking at a reverted transformation. In that case the updated actor is deleted.

Subscribe
Notify of
0 Comments
0
Would love your thoughts, please comment.x
()
x