mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-13 04:01:06 +01:00
164 - Add Hope/Fear formula
This commit is contained in:
parent
aacaf516b2
commit
8423ab6776
9 changed files with 125 additions and 57 deletions
|
|
@ -61,7 +61,7 @@ export default class D20RollDialog extends HandlebarsApplicationMixin(Applicatio
|
|||
if (this.config.costs?.length) {
|
||||
const updatedCosts = this.action.calcCosts(this.config.costs);
|
||||
context.costs = updatedCosts;
|
||||
context.canRoll = this.action.getRealCosts(updatedCosts)?.hasCost;
|
||||
context.canRoll = this.action.hasCost(updatedCosts);
|
||||
}
|
||||
if (this.config.uses?.max) {
|
||||
context.uses = this.action.calcUses(this.config.uses);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue