Refactor the handlebars helpers to namespace using dd instead of dotdungeon because it's so long
This commit is contained in:
parent
d4531f089a
commit
38952c61b4
11 changed files with 52 additions and 39 deletions
|
|
@ -1,5 +1,10 @@
|
|||
<label class="stat stat--{{name}}">
|
||||
<button class="roll-stat" data-stat="{{name}}">
|
||||
<button
|
||||
class="roll"
|
||||
data-stat="{{name}}"
|
||||
data-roll-formula="1{{value}}"
|
||||
{{disabled (dd-negate (dd-objectValue system (concat "stats." name)))}}
|
||||
>
|
||||
{{localize (concat "dotdungeon.actor.pc.stat." name)}}
|
||||
</button>
|
||||
{{> dotdungeon.dice_choice fieldToUpdate=(concat "system.stats." name) selected=value }}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue