daggerheart/templates/sheets/items/weapon/header.hbs
IrkTheImp c4448226e0
219-fix weapon action damage and display of calculation. (#250)
* fix weapon action damage and display of calculation.

* modify weapon data to split formula.

* remove unused field
2025-07-03 18:02:44 -05:00

25 lines
No EOL
1.2 KiB
Handlebars

<header class='item-sheet-header'>
<img class='profile' src='{{source.img}}' data-action='editImage' data-edit='img' />
<div class='item-info'>
<line-div></line-div>
<h1 class='item-name'><input type='text' name='name' value='{{source.name}}' /></h1>
<div class='item-description'>
{{#if source.system.secondary}}
<h3>{{localize "DAGGERHEART.Sheets.Weapon.SecondaryWeapon"}}</h3>
{{else}}
<h3>{{localize "DAGGERHEART.Sheets.Weapon.PrimaryWeapon"}}</h3>
{{/if}}
<h3>
{{localize (concat 'DAGGERHEART.Abilities.' source.system.trait '.short')}}
<span>-</span>
{{localize (concat 'DAGGERHEART.Range.' source.system.range '.name')}}
<span>-</span>
{{log this}}
{{source.system.damage.dice}} + {{source.system.damage.bonus}}
({{localize (concat 'DAGGERHEART.DamageType.' source.system.damage.type '.abbreviation')}})
<span>-</span>
{{localize (concat 'DAGGERHEART.Burden.' source.system.burden)}}
</h3>
</div>
</div>
</header>