2021-11-07 20:23:02 +01:00
|
|
|
<div class="attributes flexrow">
|
|
|
|
{{#each data.attributes as |attribute id|}}
|
|
|
|
<div class="attribute stat flex1 flex-group-center {{key}}">
|
2021-12-24 04:51:14 +01:00
|
|
|
<label class="stat-label"><a class="rollable" data-roll-type="attribute" data-roll="2d6+@attributes.{{key}}.value" data-adv="0" data-key="{{key}}">{{localize label}}</a></label><br/>
|
2021-11-07 20:23:02 +01:00
|
|
|
<input class="stat-value rounded" type="text" name="data.attributes.{{key}}.value" value="{{numberFormat value decimals=0 sign=true}}" data-dtype="Number"/><br/>
|
2021-12-22 05:12:40 +01:00
|
|
|
<span class="stat-roll malus rollable" title="2d6M" data-roll-type="attribute" data-roll="3d6kh2+@attributes.{{key}}.value" data-adv="-1" data-key="{{key}}"><i class="fas fa-dice"></i></span>
|
|
|
|
<span class="stat-roll rollable" title="2d6" data-roll-type="attribute" data-roll="2d6+@attributes.{{key}}.value" data-adv="0" data-key="{{key}}"><i class="fas fa-dice"></i></span>
|
|
|
|
<span class="stat-roll bonus rollable" title="2d6B" data-roll-type="attribute" data-roll="3d6kl2+@attributes.{{key}}.value" data-adv="1" data-key="{{key}}"><i class="fas fa-dice"></i></span>
|
2021-11-07 20:23:02 +01:00
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
<hr/>
|
|
|
|
<div class="aptitudes flexrow">
|
|
|
|
{{#each data.aptitudes as |aptitude id|}}
|
|
|
|
<div class="aptitude stat flex1 flex-group-center">
|
2021-12-24 04:51:14 +01:00
|
|
|
<label class="stat-label"><a class="rollable" data-roll-type="aptitude" data-roll="2d6+@aptitudes.{{key}}.value" data-adv="0" data-key="{{key}}">{{localize label}}</a></label><br/>
|
2021-11-07 20:23:02 +01:00
|
|
|
<input class="stat-value rounded-border" type="text" name="data.aptitudes.{{key}}.value" value="{{numberFormat value decimals=0 sign=true}}" data-dtype="Number"/><br/>
|
2021-12-22 05:12:40 +01:00
|
|
|
<span class="stat-roll malus rollable" title="2d6M" data-roll-type="aptitude" data-roll="3d6kh2+@aptitudes.{{key}}.value" data-adv="-1" data-key="{{key}}"><i class="fas fa-dice"></i></span>
|
|
|
|
<span class="stat-roll rollable" title="2d6" data-roll-type="aptitude" data-roll="2d6+@aptitudes.{{key}}.value" data-adv="0" data-key="{{key}}"><i class="fas fa-dice"></i></span>
|
|
|
|
<span class="stat-roll bonus rollable" title="2d6B" data-roll-type="aptitude" data-roll="3d6kl2+@aptitudes.{{key}}.value" data-adv="1" data-key="{{key}}"><i class="fas fa-dice"></i></span>
|
2021-11-07 20:23:02 +01:00
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|
|
|
|
<hr/>
|
|
|
|
<div class="resources flexrow">
|
|
|
|
{{#each data.resources as |resource id|}}
|
|
|
|
<div class="resource stat flex1 flex-group-center">
|
|
|
|
<label class="stat-label">{{localize label}}</label><br/>
|
|
|
|
<input class="stat-value" type="text" name="data.resources.{{key}}.value" value="{{numberFormat value decimals=0 sign=false}}" data-dtype="Number"/>
|
2022-01-08 22:48:04 +01:00
|
|
|
{{#if (exists bonus)}}
|
|
|
|
<span class="flexrow"><label class="stat-max">Bonus:</label><input class="stat-max" type="text" name="data.resources.{{key}}.bonus" value="{{numberFormat bonus decimals=0 sign=false}}" data-dtype="Number"/></span>
|
|
|
|
{{/if}}
|
2021-11-07 20:23:02 +01:00
|
|
|
<input class="stat-max" type="text" name="data.resources.{{key}}.max" value="{{numberFormat max decimals=0 sign=false}}" data-dtype="Number"/>
|
|
|
|
</div>
|
|
|
|
{{/each}}
|
|
|
|
</div>
|