Allow localized labels in the roll listener and add labels for stat rolls

This commit is contained in:
Oliver-Akins 2023-12-31 13:32:58 -07:00
parent c957903a4f
commit df13498927
3 changed files with 20 additions and 5 deletions

View file

@ -3,6 +3,7 @@
class="roll"
data-stat="{{name}}"
data-roll-formula="1{{value}}"
data-roll-label="dotdungeon.rolls.stats.{{name}}"
{{disabled (dd-negate (dd-objectValue system (concat "stats." name)))}}
>
{{localize (concat "dotdungeon.actor.pc.stat." name)}}