Switch to v11
This commit is contained in:
@ -59,12 +59,6 @@
|
||||
<div class="stat-item status-block">
|
||||
{{> systems/fvtt-pegasus-rpg/templates/partial-actor-status.html}}
|
||||
</div>
|
||||
|
||||
<!--
|
||||
<label class="status-small-label">Active NRG</label>
|
||||
<input type="text" class="padd-right status-small-label no-grow" name="system.nrg.activated" value="{{data.nrg.activated}}" data-dtype="Number"/>
|
||||
-->
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -26,6 +26,7 @@
|
||||
{{/if}}
|
||||
{{#if isResistance}}
|
||||
<li>Armor Resistance Dice : {{armor.system.resistanceDice}}</li>
|
||||
<li>ADRL : {{armor.system.adrl}}</li>
|
||||
{{/if}}
|
||||
{{#if stat}}
|
||||
<li>Statistic : {{stat.label}}</li>
|
||||
@ -38,6 +39,12 @@
|
||||
<li>Weapon : {{weaponName}}</li>
|
||||
{{/if}}
|
||||
{{#if weapon}}
|
||||
{{#if (eq weapon.weapon.system.damagestatistic "str")}}
|
||||
<li>MDL : {{weapon.weapon.system.mdl}}</li>
|
||||
{{/if}}
|
||||
{{#if (eq weapon.weapon.system.statistic "agi")}}
|
||||
<li>RDL : {{weapon.weapon.system.rdl}}</li>
|
||||
{{/if}}
|
||||
{{#if vehicle}}
|
||||
<li>Damage type : {{weapon.weapon.system.damagetype}}</li>
|
||||
{{else}}
|
||||
|
@ -33,6 +33,14 @@
|
||||
{{/select}}
|
||||
</select>
|
||||
</li>
|
||||
|
||||
{{#if owner}}
|
||||
<li class="flexrow">
|
||||
<label class="generic-label">ADRL</label>
|
||||
<label class="generic-label">{{data.adrl}}</label>
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
<li class="flexrow"><label class="generic-label">Location Protected</label>
|
||||
<input type="text" class="" name="system.locationprotected" value="{{data.locationprotected}}" data-dtype="String"/>
|
||||
</li>
|
||||
|
@ -93,13 +93,12 @@
|
||||
<label class="attribute-value checkbox"><input type="checkbox" name="system.affectstatus" {{checked data.affectstatus}}/></label>
|
||||
</li>
|
||||
{{#if data.affectstatus}}
|
||||
<li class="flexrow"><label class="generic-label">Affected status</label>
|
||||
<li class="flexrow"><label class="generic-label">Affected status/Auto damage</label>
|
||||
<select class="competence-base flexrow" type="text" name="system.affectedstatus" value="{{data.affectedstatus}}" data-dtype="String">
|
||||
{{#select data.affectedstatus}}
|
||||
<option value="health">Health</option>
|
||||
<option value="delirium">Delirium</option>
|
||||
<option value="socialhealth">Social Health</option>
|
||||
<option value="stealthhealth">Stealth Health</option>
|
||||
<option value="mdl">MDL</option>
|
||||
<option value="rdl">RDL</option>
|
||||
<option value="adrl">ADRL</option>
|
||||
<option value="nrg">NRG</option>
|
||||
<option value="mt">MT</option>
|
||||
<option value="kbv">KBV</option>
|
||||
|
@ -38,6 +38,19 @@
|
||||
</select>
|
||||
</li>
|
||||
|
||||
{{#if (and owner (eq data.damagestatistic "str"))}}
|
||||
<li class="flexrow">
|
||||
<label class="generic-label">MDL</label>
|
||||
<label class="competence-base">{{data.mdl}}</label>
|
||||
</li>
|
||||
{{/if}}
|
||||
{{#if (and owner (eq data.statistic "agi"))}}
|
||||
<li class="flexrow">
|
||||
<label class="generic-label">RDL</label>
|
||||
<label class="competence-base">{{data.rdl}}</label>
|
||||
</li>
|
||||
{{/if}}
|
||||
|
||||
<li class="flexrow"><label class="generic-label">Item size</label>
|
||||
<input type="text" class="" name="system.itemsize" value="{{data.itemsize}}" data-dtype="String"/>
|
||||
</li>
|
||||
|
@ -1,25 +1,17 @@
|
||||
<ul class="status-block">
|
||||
<li class="item flexrow">
|
||||
<span class="stat-label status-small-label status-col-name"><label class="status-small-label"><strong>Status</strong></label></span>
|
||||
<span class="status-header-label status-small-label no-grow"><label class="status-small-label">Cur</label></span>
|
||||
<span class="status-header-label status-small-label no-grow"><label class="status-small-label">Mod</label></span>
|
||||
<span class="status-header-label status-small-label no-grow"><label class="status-small-label">Max</label></span>
|
||||
<span class="status-header-label status-small-label no-grow"><label class="status-medium-label">State</label></span>
|
||||
</li>
|
||||
{{#each data.secondary as |stat2 key|}}
|
||||
<li class="item flexrow " data-attr-key="{{key}}">
|
||||
<span class="stat-label flexrow status-col-name" name="{{key}}">
|
||||
<label class="status-small-label"><strong>{{stat2.label}}</strong><br>
|
||||
{{#if (eq key "health")}}
|
||||
(KOV -{{stat2.max}})
|
||||
{{/if}}
|
||||
{{#if (eq key "delirium")}}
|
||||
(MV -{{stat2.max}})
|
||||
{{/if}}
|
||||
</label>
|
||||
</span>
|
||||
<input type="text" class="padd-right status-small-label no-grow" name="system.secondary.{{key}}.value" value="{{stat2.value}}" data-dtype="Number"/>
|
||||
<input type="text" class="padd-right status-small-label no-grow" name="system.secondary.{{key}}.bonus" value="{{stat2.bonus}}" data-dtype="Number" {{@root.disabledBonus}}/>
|
||||
<input type="text" class="padd-right status-small-label no-grow" name="system.secondary.{{key}}.max" value="{{stat2.max}}" data-dtype="Number"/>
|
||||
<select class="padd-right status-small-label" type="text" name="system.secondary.{{key}}.status" value="{{stat2.status}}" data-dtype="String">
|
||||
{{selectOptions (getStatusConfig key) selected=stat2.status nameAttr="key" labelAttr="name" }}
|
||||
</select>
|
||||
</li>
|
||||
{{/each}}
|
||||
<li class="item flexrow " data-key="nrg">
|
||||
|
Reference in New Issue
Block a user