Changed initiative rolling so it adds to combat without dialog
This commit is contained in:
@@ -215,7 +215,7 @@ export class pf2e{
|
|||||||
this.checkRoll(`Perception Check`, token.actor.perception, 'perception-check', token.actor);
|
this.checkRoll(`Perception Check`, token.actor.perception, 'perception-check', token.actor);
|
||||||
}
|
}
|
||||||
if (roll == 'initiative') {
|
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
|
if (roll == 'ability') return; //Ability Checks are not supported in pf2e
|
||||||
|
|||||||
Reference in New Issue
Block a user