From ccacd3e26e0a74182ba9cde532628e9546533143 Mon Sep 17 00:00:00 2001 From: kyamsil Date: Thu, 7 Apr 2022 23:03:48 +0100 Subject: [PATCH] Changed initiative rolling so it adds to combat without dialog --- src/systems/pf2e.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/systems/pf2e.js b/src/systems/pf2e.js index 0142095..4953fe6 100644 --- a/src/systems/pf2e.js +++ b/src/systems/pf2e.js @@ -215,7 +215,7 @@ export class pf2e{ this.checkRoll(`Perception Check`, token.actor.perception, 'perception-check', token.actor); } if (roll == 'initiative') { - this.checkRoll(token.actor.attributes?.initiative?.label, token.actor.attributes?.initiative, 'initiative', token.actor); + token.actor.rollInitiative({createCombatants:true, initiativeOptions: {skipDialog: true}}); } if (roll == 'ability') return; //Ability Checks are not supported in pf2e