41 lines
1.8 KiB
HTML
41 lines
1.8 KiB
HTML
|
<ul>
|
||
|
{{#each effectsList as |effect idx|}}
|
||
|
|
||
|
{{#if (eq @root.statKey effect.effect.data.stataffected)}}
|
||
|
<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>
|
||
|
{{#if effect.effect}}
|
||
|
<label class="generic-label">{{effect.label}} ({{upperFirst effect.effect.data.type}}, {{upperFirst effect.effect.data.genre}}, {{effect.value}})</label>
|
||
|
{{else}}
|
||
|
<label class="generic-label">{{effect.label}} ({{effect.value}})</label>
|
||
|
{{/if}}
|
||
|
</li>
|
||
|
{{/if}}
|
||
|
|
||
|
{{#if effect.effect.data.hindrance}}
|
||
|
<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">Target Hindrance : {{effect.label}} ({{upperFirst effect.effect.data.type}}, {{upperFirst effect.effect.data.genre}}, {{effect.value}})</label>
|
||
|
</li>
|
||
|
{{/if}}
|
||
|
|
||
|
{{#if (eq type "hindrance")}}
|
||
|
<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">Target Hindrance : {{effect.label}} ({{effect.value}})</label>
|
||
|
</li>
|
||
|
{{/if}}
|
||
|
|
||
|
{{/each}}
|
||
|
</ul>
|
||
|
|
||
|
<ul>
|
||
|
|
||
|
{{#each armorsList as |armor idx|}}
|
||
|
<li class="flex-group-left">
|
||
|
<label class="attribute-value checkbox"><input type="checkbox" class="armor-clicked" id="armor-{{idx}}" data-armor-idx="{{idx}}" {{checked armor.applied}}/></label>
|
||
|
<label class="generic-label padd-right">{{armor.label}} ({{armor.value}})</label>
|
||
|
</li>
|
||
|
{{/each}}
|
||
|
|
||
|
</ul>
|