Add dmg roll for powers

This commit is contained in:
2022-02-25 14:53:19 +01:00
parent 7ff89c34b8
commit 1ea1b3b1a8
11 changed files with 59 additions and 61 deletions

View File

@@ -7,6 +7,11 @@
<img class="profile-img" src="{{img}}" data-edit="img" title="{{name}}" />
<div class="flexcol">
<h1 class="charname"><input name="name" type="text" value="{{name}}" placeholder="Name" /></h1>
<div class="flexcol">
<div class="flexrow">
</div>
</div>
</div>
</div>
</div>
@@ -337,11 +342,19 @@
{{/if}}
</span>
<span class="stat-label outfit-label">{{power.data.type}}</span>
{{#if power.data.activated}}
<span class="stat-label outfit-label">Activated</span>
{{else}}
<span class="stat-label outfit-label">&nbsp;</span>
{{/if}}
{{#if power.data.dmgroll}}
<span class="stat-label outfit-label"><a class="power-dmg-roll">DMG Roll</a></span>
{{else}}
<span class="stat-label outfit-label">&nbsp;</span>
{{/if}}
<span class="stat-label outfit-label">{{power.data.cost}}</span>
<span class="stat-label outfit-label">Spent:
<input type="text" class="padd-right power-cost-spent" value="{{power.data.costspent}}" data-dtype="Number"/>