PC & NPC Sheet : Added +/- button to add or subtract Fatigue and Strife

This commit is contained in:
Vlyan
2022-01-20 09:28:20 +01:00
parent 7abb46ea77
commit c9be3013e8
6 changed files with 70 additions and 2 deletions

View File

@@ -8,6 +8,10 @@
<strong>{{localize 'l5r5e.attributes.fatigue'}}</strong>
<input class="centered-input select-on-focus" type="number" name="data.fatigue.value" value="{{data.data.fatigue.value}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
</label>
<span class="attributes-buttons">
<i class="addsub-control pointer-choice fa fa-plus-square" data-type="fatigue" data-value="1"></i>
<i class="addsub-control pointer-choice fa fa-minus-square" data-type="fatigue" data-value="-1"></i>
</span>
<p class="item-description"> {{localize 'l5r5e.attributes.endurancetip'}}</p>
</li>
<li class="composure-content">
@@ -19,6 +23,10 @@
<strong>{{localize 'l5r5e.attributes.strife'}}</strong>
<input class="centered-input select-on-focus" type="number" name="data.strife.value" value="{{data.data.strife.value}}" data-dtype="Number" min="0" placeholder="0" {{^if data.editable_not_soft_locked}}disabled{{/if}}/>
</label>
<span class="attributes-buttons">
<i class="addsub-control pointer-choice fa fa-plus-square" data-type="strife" data-value="1"></i>
<i class="addsub-control pointer-choice fa fa-minus-square" data-type="strife" data-value="-1"></i>
</span>
<p class="item-description"> {{localize 'l5r5e.attributes.composuretip'}}</p>
</li>
<li class="focus-content">