mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-07 14:36:13 +01:00
[Feature] DR Command Resources (#1572)
* Dr chatcommand and buttons now grant resources via automation by default. Optionally turned off via parameter noResources=true * .
This commit is contained in:
parent
21ef288283
commit
cbd268ea1f
3 changed files with 16 additions and 6 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue