Compendiums and small fixes

This commit is contained in:
2022-08-24 20:24:22 +02:00
parent 75614e3b8e
commit c5a742dd13
25 changed files with 557 additions and 140 deletions

View File

@@ -99,7 +99,7 @@
<li class="flexrow"><label class="generic-label">Affected Stat</label>
<select class="competence-base flexrow" type="text" name="data.stataffected" value="{{data.stataffected}}" data-dtype="String">
{{#select data.stataffected}}
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true mr=true all=true combat=true vehicle=true}}
{{> systems/fvtt-pegasus-rpg/templates/partial-options-statistics.html notapplicable=true mr=true all=true combat=true vehicle=true power=true}}
{{/select}}
</select>
</li>

View File

@@ -113,6 +113,9 @@
<li class="flexrow"><label class="generic-label">Equipped ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="data.equipped" {{checked data.equipped}}/></label>
</li>
<li class="flexrow"><label class="generic-label">Can be thrown ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="data.canbethrown" {{checked data.canbethrown}}/></label>
</li>
<li class="flexrow"><label class="generic-label">Enhanced ?</label>
<label class="attribute-value checkbox"><input type="checkbox" name="data.enhanced" {{checked data.enhanced}}/></label>

View File

@@ -3,8 +3,9 @@
{{/if}}
{{#if all}}
<option value="all">All</option>
<option value="special">Special</option>
{{/if}}
{{#if all}}
{{#if special}}
<option value="special">Special</option>
{{/if}}
<option value="agi">AGI</option>
@@ -35,3 +36,7 @@
<option value="ad">A/D</option>
<option value="ts">TS</option>
{{/if}}
{{#if power}}
<option value="powerroll">Power roll</option>
<option value="powerdmgroll">Power DMG roll</option>
{{/if}}

View File

@@ -14,7 +14,7 @@
{{else}}
<div class="flexrow">
<span class="roll-dialog-label">Stat Dice : </span>
<span class="roll-dialog-label">Stat Dice ({{stat.label}}) : </span>
<select class="roll-dialog-label" id="statDicesLevel" type="text" name="statDicesLevel"
value="{{statDicesLevel}}" data-dtype="Number" {{#if statKey}}disabled{{/if}}>
{{#select statDicesLevel}}