mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
duality tpl
This commit is contained in:
parent
21b528e56c
commit
36bbfc52fb
10 changed files with 990 additions and 511 deletions
|
|
@ -59,7 +59,8 @@ export default class DHDualityRoll extends foundry.abstract.TypeDataModel {
|
|||
}),
|
||||
{ nullable: true, initial: null }
|
||||
)
|
||||
})
|
||||
}),
|
||||
forceDisplay: new fields.BooleanField({initial: false})
|
||||
};
|
||||
}
|
||||
|
||||
|
|
@ -96,7 +97,7 @@ export default class DHDualityRoll extends foundry.abstract.TypeDataModel {
|
|||
|
||||
get colorful() {
|
||||
return (
|
||||
game.settings.get(SYSTEM.id, SYSTEM.SETTINGS.gameSettings.appearance).dualityColorScheme ===
|
||||
!this.forceDisplay && game.settings.get(SYSTEM.id, SYSTEM.SETTINGS.gameSettings.appearance).dualityColorScheme ===
|
||||
DualityRollColor.colorful.value
|
||||
);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue