Manage weapons

This commit is contained in:
2023-01-22 20:27:22 +01:00
parent 17e8fb4aa6
commit 8f9ecff285
5 changed files with 81 additions and 43 deletions

View File

@@ -212,7 +212,7 @@
<label class="short-label">Brutal</label>
</span>
</li>
{{#each weapons as |weapon key|}}
{{#each equippedWeapons as |weapon key|}}
<li class="item flexrow list-item list-item-shadow" data-item-id="{{weapon._id}}">
<a class="item-edit item-name-img" title="Edit Item"><img class="sheet-competence-img"
src="{{weapon.img}}" /></a>

View File

@@ -15,6 +15,13 @@
</div>
{{/if}}
{{#if weapon}}
<div class="flexrow">
<span class="roll-dialog-label">Weapon Attack Bonus : </span>
<span class="roll-dialog-label">{{weapon.attackBonus}}</span>
</div>
{{/if}}
{{#if spell}}
<div class="flexrow">
<span class="roll-dialog-label">Spell : </span>