|
<li class="item attack flexrow" data-action-index="{{index}}" data-item-type="melee" data-strike="" data-item-id="{{action.sourceId}}">
|
|
<h4 class="attack-name item-name tags">
|
|
{{#if action.description}}
|
|
<a data-action="toggle-summary">
|
|
<strong>{{localize action.attackRollType}}</strong>
|
|
<span class="action-glyph">{{action.glyph}}</span>
|
|
{{action.label}}
|
|
</a>
|
|
{{else}}
|
|
<span>
|
|
<strong>{{localize action.attackRollType}}</strong>
|
|
<span class="action-glyph">{{action.glyph}}</span>
|
|
{{action.label}}
|
|
</span>
|
|
{{/if}}
|
|
{{#each action.traits as |trait|}}
|
|
<div class="tag tag_transparent" title="{{localize trait.description}}">{{localize trait.label}}</div>
|
|
{{/each}}
|
|
{{#each action.additionalEffects as |effect|}}
|
|
<div class="tag tag_transparent" data-tag="{{effect.tag}}">{{localize effect.label}}</div>
|
|
{{/each}}
|
|
</h4>
|
|
|
|
<div class="controls">
|
|
{{#if isEditable}}
|
|
<a class="item-edit edit" title="{{localize "PF2E.NPC.Edit"}}"><i class="fa-solid fa-fw fa-edit"></i></a>
|
|
<a class="item-delete delete" title="{{localize "PF2E.NPC.Remove"}}"><i class="fa-solid fa-fw fa-trash"></i></a>
|
|
{{/if}}
|
|
</div>
|
|
|
|
<div class="button-group">
|
|
<div class="attacks sub-section">
|
|
{{#each action.variants as |variant index|}}
|
|
<button type="button" class="attack-button" {{#if (eq index 0)}}title="{{action.breakdown}}"{{/if}} data-action="strike-attack" data-variant-index="{{index}}">{{variant.label}}</button>
|
|
{{/each}}
|
|
</div>
|
|
{{#if action.item.dealsDamage}}
|
|
<div class="damage sub-section">
|
|
<button type="button" class="damage-button" data-action="strike-damage">{{action.damageFormula}}</button>
|
|
<button type="button" class="critical-button" data-action="strike-critical">{{localize "PF2E.CriticalDamageLabel"}}</button>
|
|
</div>
|
|
{{/if}}
|
|
</div>
|
|
</li>
|