Fix challenge rolls
This commit is contained in:
@ -4,15 +4,31 @@
|
||||
{{#if isChallenge}}
|
||||
<fieldSet>
|
||||
<legend>{{localize "LETHALFANTASY.Label.challenge"}}</legend>
|
||||
{{log this}}
|
||||
{{#if hasModifier}}
|
||||
<div class="dialog-save">{{upperCase rollTarget.rollKey}} : {{formula}} + {{baseValue}}</div>
|
||||
{{else}}
|
||||
<div class="dialog-save">{{upperCase rollTarget.rollKey}} : {{formula}}</div>
|
||||
{{/if}}
|
||||
</fieldSet>
|
||||
|
||||
{{#if hasModifier}}
|
||||
<fieldSet class="dialog-modifier">
|
||||
<legend>{{localize "LETHALFANTASY.Roll.modifier"}}</legend>
|
||||
<select name="modifier" data-tooltip-direction="UP">
|
||||
{{selectOptions choiceModifier selected=modifier}}
|
||||
</select>
|
||||
</fieldSet>
|
||||
{{/if}}
|
||||
|
||||
{{#if hasChangeDice}}
|
||||
<fieldSet class="dialog-modifier">
|
||||
<legend>{{localize "LETHALFANTASY.Roll.changeDice"}}</legend>
|
||||
<select name="changeDice" data-tooltip-direction="UP">
|
||||
{{selectOptions choiceDice selected=changeDice}}
|
||||
</select>
|
||||
</fieldSet>
|
||||
{{/if}}
|
||||
|
||||
{{/if}}
|
||||
<fieldSet>
|
||||
<legend>{{localize "LETHALFANTASY.Roll.visibility"}}</legend>
|
||||
|
Reference in New Issue
Block a user