mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 07:59:03 +01:00
n
This commit is contained in:
parent
6b7912f3f4
commit
d35b9e8eb3
2 changed files with 4 additions and 3 deletions
|
|
@ -113,7 +113,7 @@ export default class DHActorRoll extends foundry.abstract.TypeDataModel {
|
|||
this.currentTargets = this.getTargetList();
|
||||
// this.registerTargetHook();
|
||||
|
||||
if (this.targetMode === true && this.hasRoll) {
|
||||
if (this.hasRoll) {
|
||||
this.targetShort = this.targets.reduce(
|
||||
(a, c) => {
|
||||
if (c.hit) a.hit += 1;
|
||||
|
|
@ -128,6 +128,7 @@ export default class DHActorRoll extends foundry.abstract.TypeDataModel {
|
|||
|
||||
this.canViewSecret = this.parent.speakerActor?.testUserPermission(game.user, 'OBSERVER');
|
||||
this.canButtonApply = game.user.isGM;
|
||||
this.isGM = game.user.isGM;
|
||||
}
|
||||
|
||||
getTargetList() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue