2022-10-20 23:59:31 +02:00
|
|
|
<div class="ame-block">
|
|
|
|
<span class="flexrow">
|
|
|
|
<h4 class="ame-margin ame-subtitle">{{typedata.label}}</h4>
|
|
|
|
<div class="item-filler"> </div>
|
2022-03-22 09:01:20 +01:00
|
|
|
|
2022-10-20 23:59:31 +02:00
|
|
|
<select class="input-numeric-short padd-right status-small-label color-class-common" type="text"
|
|
|
|
name="system.amestype.{{typeame}}.malus" value="{{typedata.malus}}" data-dtype="Number">
|
|
|
|
{{#select typedata.malus}}
|
|
|
|
<option value="0">0</option>
|
|
|
|
<option value="-1">-1</option>
|
|
|
|
<option value="-2">-2</option>
|
|
|
|
<option value="-3">-3</option>
|
|
|
|
{{/select}}
|
|
|
|
</select>
|
2022-10-19 17:30:47 +02:00
|
|
|
|
2022-03-22 09:01:20 +01:00
|
|
|
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common cohesion-input"
|
2022-10-20 23:59:31 +02:00
|
|
|
name="system.amestype.{{typeame}}.cohesion" value="{{typedata.cohesion}}" data-dtype="Number" {{#unless
|
2022-11-01 16:26:53 +01:00
|
|
|
@root.editScore}}disabled{{/unless}} /> <label class="ame-margin separator-slash"> / </label>
|
2022-10-20 23:59:31 +02:00
|
|
|
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common cohesion-input"
|
|
|
|
name="system.amestype.{{typeame}}.cohesionmax" value="{{typedata.cohesionmax}}" data-dtype="Number" {{#unless
|
|
|
|
@root.editScore}}disabled{{/unless}}>
|
|
|
|
</span>
|
2022-03-22 09:01:20 +01:00
|
|
|
|
2022-10-20 23:59:31 +02:00
|
|
|
<ul class="ame-margin">
|
|
|
|
<li class="ame-padding item stat flexrow item-ame-roll" data-ame-key="{{key}}">
|
|
|
|
{{#each system.ames as |ame key|}}
|
|
|
|
{{#if (eq ame.type ../typeame)}}
|
|
|
|
<span class="ame-label ame-margin " name="{{key}}">
|
|
|
|
<button class="common-button roll-ame-button" data-ame-key="{{key}}">{{ame.label}}</button>
|
|
|
|
<input type="text" class="input-numeric-short padd-right status-small-label color-class-common"
|
|
|
|
name="system.ames.{{key}}.value" value="{{ame.value}}" data-dtype="Number" {{#unless
|
|
|
|
@root.editScore}}disabled{{/unless}} />
|
|
|
|
</span>
|
|
|
|
{{/if}}
|
|
|
|
{{/each}}
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|