Fix New NPC Rollable Heath

Update new actor npc to have rollable health when clicked.
This commit is contained in:
supervj 2021-01-19 06:42:45 -05:00
parent 4237c8fa6a
commit 96fdd0bec9

View file

@ -41,20 +41,19 @@
</section>
{{!-- HIT POINTS --}}
<section>
<h1>Hit Points</h1>
<div class="attribute-value multiple">
<h4 class="attribute-name box-title rollable">{{ localize "SW5E.Health" }}</h4>
<input name="data.attributes.hp.value" type="text" value="{{data.attributes.hp.value}}"
data-dtype="Number" placeholder="10" class="value-number" />
<span class="value-separator">/</span>
<input name="data.attributes.hp.max" type="text" value="{{data.attributes.hp.max}}"
data-dtype="Number" placeholder="10" class="value-number" />
</div>
<footer class="attribute-footer hit-points">
<input name="data.attributes.hp.formula" class="hpformula" type="text"
<section class="attribute health">
<h1 class="attribute-name rollable">{{ localize "SW5E.Health" }}</h1>
<div class="attribute-value multiple">
<input name="data.attributes.hp.value" type="text" value="{{data.attributes.hp.value}}"
data-dtype="Number" placeholder="10" class="value-number" />
<span class="value-separator">/</span>
<input name="data.attributes.hp.max" type="text" value="{{data.attributes.hp.max}}"
data-dtype="Number" placeholder="10" class="value-number" />
</div>
<footer class="attribute-footer hit-points">
<input name="data.attributes.hp.formula" class="hpformula" type="text"
placeholder="{{ localize 'SW5E.HealthFormula' }}" value="{{data.attributes.hp.formula}}" />
</footer>
</footer>
</section>
<section>
<h1>{{ localize "SW5E.Movement" }}