mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
Action Save difficulty (#427)
* Action Save difficulty * Unequipped item icon opacity * Fix sheet header
This commit is contained in:
parent
33ac7d5ab7
commit
8cb4b7663e
13 changed files with 20 additions and 12 deletions
|
|
@ -385,6 +385,10 @@ export default class DhpActor extends Actor {
|
|||
return CONFIG.Dice.daggerheart[['character', 'companion'].includes(this.type) ? 'DualityRoll' : 'D20Roll'];
|
||||
}
|
||||
|
||||
get baseSaveDifficulty() {
|
||||
return this.system.difficulty ?? 10;
|
||||
}
|
||||
|
||||
getRollData() {
|
||||
const rollData = super.getRollData();
|
||||
rollData.system = this.system.getRollData();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue