Fix #72 : effect OK for dmr roll
This commit is contained in:
@ -5,12 +5,15 @@
|
||||
<span class="stat-label stat-margin" name="{{key}}">
|
||||
<h4 class="stat-text-white stat-margin"><a class="roll-stat stat-margin" data-stat-key="{{key}}">{{stat.abbrev}}</a></h4>
|
||||
</span>
|
||||
<select class="status-small-label color-class-common" type="text" name="system.statistics.{{key}}.value" value="{{stat.value}}"
|
||||
<select class="status-small-label color-class-common select-stat" type="text" name="system.statistics.{{key}}.value" value="{{stat.value}}"
|
||||
data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}}>
|
||||
{{#select (add stat.value stat.bonuseffect)}}
|
||||
{{#select stat.value}}
|
||||
{{{@root.optionsDiceList}}}
|
||||
{{/select}}
|
||||
</select>
|
||||
<span class="stat-label stat-margin" name="{{key}}">
|
||||
<h4 class="stat-text-white stat-margin">{{getDice (add stat.value stat.bonuseffect)}}</h4>
|
||||
</span>
|
||||
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common" name="system.statistics.{{key}}.mod" value="{{stat.mod}}"
|
||||
data-dtype="Number" {{#unless @root.editScore}}disabled{{/unless}} />
|
||||
</li>
|
@ -17,13 +17,13 @@
|
||||
</li>
|
||||
{{else}}
|
||||
|
||||
{{#if (eq effect.effect.data.stataffected "powerroll")}}
|
||||
{{#if (eq effect.effect.system.stataffected "powerroll")}}
|
||||
<li class="flex-group-left">
|
||||
<label class="attribute-value checkbox"><input type="checkbox" class="effect-clicked" id="effect-{{idx}}" data-effect-idx="{{idx}}" {{checked effect.applied}}/></label>
|
||||
<label class="generic-label">{{effect.label}} ({{effect.value}})</label>
|
||||
</li>
|
||||
{{/if}}
|
||||
{{#if (eq effect.effect.data.stataffected "powerdmgroll")}}
|
||||
{{#if (eq effect.effect.system.stataffected "powerdmgroll")}}
|
||||
<li class="flex-group-left">
|
||||
<label class="attribute-value checkbox"><input type="checkbox" class="effect-clicked" id="effect-{{idx}}" data-effect-idx="{{idx}}" {{checked effect.applied}}/></label>
|
||||
<label class="generic-label">{{effect.label}} ({{effect.value}})</label>
|
||||
|
Reference in New Issue
Block a user