Update powers
This commit is contained in:
@@ -33,20 +33,24 @@
|
||||
{{#if usemWeaponMalus}}
|
||||
<li>Multiple weapons malus : {{mWeaponMalus}}</li>
|
||||
{{/if}}
|
||||
|
||||
<li>Formula : {{diceFormula}}</li>
|
||||
{{#if isCriticalSuccess}}
|
||||
<li><span class="crit-success">Dice result : {{diceResult}}</span></li>
|
||||
{{else}}
|
||||
{{#if isCriticalFailure}}
|
||||
<li><span class="crit-failure">Dice result : {{diceResult}}</span></li>
|
||||
|
||||
{{#if diceFormula}}
|
||||
<li>Formula : {{diceFormula}}</li>
|
||||
{{#if isCriticalSuccess}}
|
||||
<li><span class="crit-success">Dice result : {{diceResult}}</span></li>
|
||||
{{else}}
|
||||
<li>Dice result : <span>{{diceResult}}</span></li>
|
||||
{{#if isCriticalFailure}}
|
||||
<li><span class="crit-failure">Dice result : {{diceResult}}</span></li>
|
||||
{{else}}
|
||||
<li>Dice result : <span>{{diceResult}}</span></li>
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
{{/if}}
|
||||
|
||||
{{#if power}}
|
||||
<li>{{localize "WH.ui.power"}} : {{power.name}}</li>
|
||||
<li>{{localize "WH.ui.magicschool"}} : {{power.system.magicschool}}</li>
|
||||
<li>{{localize "WH.ui.level"}} : {{power.system.level}}</li>
|
||||
<li>{{{powerText}}}</li>
|
||||
{{else}}
|
||||
<li><strong>Result : {{roll.total}} </strong></li>
|
||||
|
||||
@@ -10,13 +10,8 @@
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="description">
|
||||
{{> systems/fvtt-warhero/templates/partial-item-description.html}}
|
||||
|
||||
<label class="generic-label">Description</label>
|
||||
<div class="medium-editor item-text-long-line">
|
||||
{{editor description target="system.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
<ul>
|
||||
|
||||
@@ -12,41 +12,18 @@
|
||||
{{!-- Sheet Body --}}
|
||||
<section class="sheet-body">
|
||||
|
||||
<div class="tab description" data-group="primary" data-tab="description">
|
||||
<div>
|
||||
<label class="generic-label">{{localize WH.ui.level}} 1</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor level1 target="system.level1" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<label class="generic-label">{{localize WH.ui.level}} 2</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor level2 target="system.level2" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<label class="generic-label">{{localize WH.ui.level}} 3</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor level3 target="system.level3" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<label class="generic-label">{{localize WH.ui.level}} 4</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor level4 target="system.level4" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
<div>
|
||||
<label class="generic-label">{{localize WH.ui.notes}}</label>
|
||||
<div class="small-editor item-text-long-line">
|
||||
{{editor description target="system.description" button=true owner=owner editable=editable}}
|
||||
</div>
|
||||
</div>
|
||||
{{> systems/fvtt-warhero/templates/partial-item-description.html}}
|
||||
|
||||
</div>
|
||||
|
||||
<div class="tab details" data-group="primary" data-tab="details">
|
||||
<ul>
|
||||
<li class="flexrow"><label class="item-field-label-long ">{{localize "WH.ui.magicschool"}}</label>
|
||||
<input type="text" class="item-field-label-long" name="system.magicschool" value="{{system.magicschool}}" data-dtype="String"/>
|
||||
</li>
|
||||
<li class="flexrow"><label class="item-field-label-long ">{{localize "WH.ui.level"}}</label>
|
||||
<input type="text" class="item-field-label-long" name="system.level" value="{{system.level}}" data-dtype="Number"/>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -59,15 +59,7 @@
|
||||
</div>
|
||||
<div class="flexrow">
|
||||
<span class="item-field-label-long">Power Level : </span>
|
||||
<select class="item-field-label-medium" type="text" id="powerLevel" value="{{powerLevel}}">
|
||||
{{#select powerLevel}}
|
||||
<option value="1">1</option>
|
||||
<option value="2">2</option>
|
||||
<option value="3">3</option>
|
||||
<option value="4_1">4 - 1</option>
|
||||
<option value="4_2">4 - 2</option>
|
||||
{{/select}}
|
||||
</select>
|
||||
<span class="item-field-label-medium">{{power.system.level}}</span>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user