module

Drop Effects on Items

Endorsements
0
Installs
0.48%
Comments
0
Latest version2.0.1
Minimum Core0.8.9
Compatible Core9
Last updated1 year ago
Created2 years ago
Authors
Languages
Systems Dnd5e
Project source Project URL
Report bugs Bug tracker URL
Read-me Readme URL
Changelog Changelog URL
License License URL

This module allows active effects to be dragged and dropped to and from Item Sheets.

With it enabled, creating duplicate effects between different items (e.g. "Poisoned" for various weapons or spells which inflict that condition) is as simple as dragging and dropping from one to the next.

It also allows the application of an Item's Effects onto actors from the item sheet directly.

Compatibility

Tested with dnd5e, might work on other systems as well though.

Technical Details

The module uses the renderItemSheet hook to bind a DragDrop instance with callbacks that expect/conform to the data model used by ActorSheet's ActiveEffect drag and drop handlers (ActorSheet._onDropActiveEffect). This consists roughly of a dataTransfer object that looks like this:

{
  type: "ActiveEffect",
  uuid: string }
Subscribe
Notify of
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x