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> </section>
{{!-- HIT POINTS --}} {{!-- HIT POINTS --}}
<section> <section class="attribute health">
<h1>Hit Points</h1> <h1 class="attribute-name rollable">{{ localize "SW5E.Health" }}</h1>
<div class="attribute-value multiple"> <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}}"
<input name="data.attributes.hp.value" type="text" value="{{data.attributes.hp.value}}" data-dtype="Number" placeholder="10" class="value-number" />
data-dtype="Number" placeholder="10" class="value-number" /> <span class="value-separator">/</span>
<span class="value-separator">/</span> <input name="data.attributes.hp.max" type="text" value="{{data.attributes.hp.max}}"
<input name="data.attributes.hp.max" type="text" value="{{data.attributes.hp.max}}" data-dtype="Number" placeholder="10" class="value-number" />
data-dtype="Number" placeholder="10" class="value-number" /> </div>
</div> <footer class="attribute-footer hit-points">
<footer class="attribute-footer hit-points"> <input name="data.attributes.hp.formula" class="hpformula" type="text"
<input name="data.attributes.hp.formula" class="hpformula" type="text"
placeholder="{{ localize 'SW5E.HealthFormula' }}" value="{{data.attributes.hp.formula}}" /> placeholder="{{ localize 'SW5E.HealthFormula' }}" value="{{data.attributes.hp.formula}}" />
</footer> </footer>
</section> </section>
<section> <section>
<h1>{{ localize "SW5E.Movement" }} <h1>{{ localize "SW5E.Movement" }}