Dr chatcommand and buttons now grant resources via automation by default. Optionally turned off via parameter noResources=true

This commit is contained in:
WBHarry 2026-01-22 18:55:17 +01:00
parent 1f7d4d6f1e
commit c65294a7d3
3 changed files with 18 additions and 6 deletions

View file

@ -261,7 +261,7 @@ export default class DualityRoll extends D20Roll {
}
static async handleTriggers(roll, config) {
if (!config.source?.actor) return;
if (!config.source?.actor || config.skips?.triggers) return;
const updates = [];
const dualityUpdates = await game.system.registeredTriggers.runTrigger(