Get dice rolls working in the new sheet for stats + skills
This commit is contained in:
parent
24d31aad30
commit
81a3e822a8
1 changed files with 5 additions and 0 deletions
|
|
@ -12,6 +12,9 @@
|
||||||
<button
|
<button
|
||||||
type="button"
|
type="button"
|
||||||
class="e-2dp roll-stat"
|
class="e-2dp roll-stat"
|
||||||
|
{{disabled (not stat.value)}}
|
||||||
|
data-roll-formula="1{{stat.value}}"
|
||||||
|
data-roll-label="Stat Roll : {{stat.name}}"
|
||||||
>
|
>
|
||||||
Roll
|
Roll
|
||||||
</button>
|
</button>
|
||||||
|
|
@ -41,6 +44,8 @@
|
||||||
type="button"
|
type="button"
|
||||||
class="e-2dp skill__roll"
|
class="e-2dp skill__roll"
|
||||||
{{disabled skill.rollDisabled}}
|
{{disabled skill.rollDisabled}}
|
||||||
|
data-roll-formula="{{skill.formula}}"
|
||||||
|
data-roll-label="Skill Roll : {{skill.name}}"
|
||||||
>
|
>
|
||||||
{{#if skill.rollDisabled}}
|
{{#if skill.rollDisabled}}
|
||||||
{{dd-i18n "dotdungeon.sheet.actor.v2.skill-roll-locked"}}
|
{{dd-i18n "dotdungeon.sheet.actor.v2.skill-roll-locked"}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue