forked from public/bol
Update for future module
This commit is contained in:
@ -1,17 +1,20 @@
|
||||
<div class="attributes flexrow">
|
||||
{{#each attributes as |attribute id|}}
|
||||
{{#if (ne id "appeal")}}
|
||||
<div class="attribute stat flex1 flex-group-center {{key}}">
|
||||
<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/>
|
||||
<input class="stat-value rounded" type="text" name="system.attributes.{{key}}.value" value="{{numberFormat value decimals=0 sign=true}}" data-dtype="Number"/><br/>
|
||||
<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="darkgreen fas fa-dice"></i>
|
||||
</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
{{#each attributes as |attribute id|}}
|
||||
{{#if (ne id "appeal")}}
|
||||
<div class="attribute stat flex1 flex-group-center {{key}}">
|
||||
<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 />
|
||||
<input class="stat-value rounded" type="text" name="system.attributes.{{key}}.value"
|
||||
value="{{numberFormat value decimals=0 sign=true}}" data-dtype="Number" /><br />
|
||||
<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="darkgreen fas fa-dice"></i>
|
||||
</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
{{/each}}
|
||||
</div>
|
||||
<hr/>
|
||||
<hr />
|
||||
<div class="aptitudes flexrow">
|
||||
<div class="aptitude stat flex1 flex-group-center">
|
||||
<div class="">
|
||||
@ -20,17 +23,28 @@
|
||||
{{localize "BOL.aptitudes.def"}}
|
||||
</a>
|
||||
</label>
|
||||
<br/>
|
||||
<input class="stat-value rounded-border" type="text" name="system.aptitudes.def.value" value="{{numberFormat aptitudes.3.value decimals=0 sign=true}}" data-dtype="Number"/><br/>
|
||||
<span class="stat-roll rollable" title="2d6" data-roll-type="aptitude" data-roll="2d6+@aptitudes.def.value" data-adv="0" data-key="def">
|
||||
<br />
|
||||
<input class="stat-value rounded-border" type="text" name="system.aptitudes.def.value"
|
||||
value="{{numberFormat aptitudes.3.value decimals=0 sign=true}}" data-dtype="Number" /><br />
|
||||
<span class="stat-roll rollable" title="2d6" data-roll-type="aptitude" data-roll="2d6+@aptitudes.def.value"
|
||||
data-adv="0" data-key="def">
|
||||
<i class="darkgreen fas fa-dice"></i>
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="resource stat flex1 flex-group-center">
|
||||
<label class="stat-label">{{localize "BOL.resources.hp"}}</label><br/>
|
||||
<input class="stat-value" type="text" name="system.resources.hp.value" value="{{numberFormat resources.hp.value decimals=0 sign=false}}" data-dtype="Number"/>
|
||||
<input class="stat-max" type="text" name="system.resources.hp.max" value="{{numberFormat resources.hp.max decimals=0 sign=false}}" data-dtype="Number"/>
|
||||
</div>
|
||||
<div class="resource stat flex1 flex-group-center">
|
||||
<label class="stat-label">{{localize "BOL.resources.hp"}}</label><br />
|
||||
<input class="stat-value" type="text" name="system.resources.hp.value"
|
||||
value="{{numberFormat resources.hp.value decimals=0 sign=false}}" data-dtype="Number" />
|
||||
<input class="stat-max" type="text" name="system.resources.hp.max"
|
||||
value="{{numberFormat resources.hp.max decimals=0 sign=false}}" data-dtype="Number" />
|
||||
</div>
|
||||
<div class="resource stat flex1 flex-group-center">
|
||||
<label class="stat-label">{{localize "BOL.resources.villainy"}}</label><br />
|
||||
<input class="stat-value" type="text" name="system.resources.hero.value"
|
||||
value="{{numberFormat resources.hero.value decimals=0 sign=false}}" data-dtype="Number" />
|
||||
<input class="stat-max" type="text" name="system.resources.hero.max"
|
||||
value="{{numberFormat resources.hero.max decimals=0 sign=false}}" data-dtype="Number" />
|
||||
</div>
|
||||
</div>
|
||||
<hr/>
|
||||
<hr />
|
Reference in New Issue
Block a user