Add new init system

This commit is contained in:
2023-09-13 17:37:30 +02:00
parent d5f27ae9ea
commit c1eb33bc21
12 changed files with 300 additions and 69 deletions

View File

@@ -64,21 +64,6 @@
{{/if}}
{{/if}}
<!--
{{#if isDamage}}
<div class="flexrow">
<span class="roll-dialog-label">Weapon Damage :</span>
<select class="roll-dialog-label" id="damageDiceLevel" type="text" name="damageDiceLevel"
value="{{damageDiceLevel}}" data-dtype="Number">
{{#select damageDiceLevel}}
{{{optionsDiceList}}}
{{/select}}
</select>
<span class="small-label">&nbsp;</span>
</div>
{{/if}}
-->
<div class="dice-pool-div">
<span>
@@ -108,7 +93,7 @@
{{#if hindranceDices}}
<div class="dice-pool-div">
<span>
<h3 class="dice-pool-label">Hindrance Dices</h3>
<h3 class="dice-pool-label">Hindrance Dice</h3>
</span>
<div class="flexrow dice-pool-stack">
{{#for 1 hindranceDices 1}}
@@ -170,6 +155,19 @@
{{> systems/fvtt-pegasus-rpg/templates/partial-roll-select-effects.html}}
{{/if}}
{{#if isInit}}
<div class="flexrow">
<span class="roll-dialog-label">TIC 1:</span>
<input class="roll-input-tic" id="roll-input-tic1" type="text" name="tic1" value="{{tic1}}" data-dtype="String">
</div>
{{#if (eq actorType "character")}}
<div class="flexrow">
<span class="roll-dialog-label">TIC 2:</span>
<input class="roll-input-tic" id="roll-input-tic2" type="text" name="tic2" value="{{tic2}}" data-dtype="String">
</div>
{{/if}}
{{/if}}
</div>
</div>