Skip to content

Automatic emission

jdeon edited this page Jul 20, 2026 · 5 revisions

Since v2.2.0

With settings, you can activate automatic emission upon the use of an item.

It only works for the system DnD 5e and PF2e.

How It Works

For DnD 5e & PF2e

Players need to select their token and a target token:

  • For melee attacks in range, it generates a slash animation.
  • For melee attacks out of range or ranged attacks, it generates a missile animation.
  • For buff spells, it generates an aura animation.
  • For spells with saves, it generates a vortex animation.

The Color

For DnD 5e

The color depends on the damage type or the spell school.

For PF2e

The color depends on the damage type or a mix of all the spell traditions.

Contribute for New Systems

To add new systems, you can contribute to this module. You can add a new file in the script\autoGeneration\system folder. The class needs to export these methods:

  • automationInitialisation to handle the system hooks
  • getColorsFromDamageRolls to find a color for system damage
  • getItemIdFromTemplate to get the item ID from a placed template

This class needs to be imported in script\autoGeneration\automaticGeneration.service.js under the SUPPORTED_SYSTEM object with the ID of the system.

Clone this wiki locally