Files
slaguru666andClaude Opus 5 1e0deb2ef0 Attack card: humanoid and quadruped damage buttons
The single Roll damage button becomes two, with person and paw icons. Each
rolls damage and then a hit location. A targeted token still uses its own
anatomy; with no target the blow is placed on the chosen body plan and
shown, with nothing applied. Both buttons disable after either is used.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
2026-09-16 18:12:48 +01:00

17 lines
957 B
Handlebars

<div class="ringbrp-chat rb-location {{#if destroyed}}rb-loc-destroyed{{/if}}{{#if disabled}} rb-loc-disabled{{/if}}">
<h3 class="rb-chat-title">{{localize "RINGBRP.Loc.Header"}}</h3>
<div class="rb-chat-line">
<span>1D20 <strong>{{roll}}</strong></span>
<span>&middot;</span><span>{{speciesLabel}}</span>
<span>&middot;</span><span>{{#if (rbEq mode "melee")}}{{localize "RINGBRP.Loc.Melee"}}{{else}}{{localize "RINGBRP.Loc.Ranged"}}{{/if}}</span>
</div>
<div class="rb-chat-result">
<span class="rb-loc-name">{{locationLabel}}</span>
<span class="rb-loc-dmg">{{damage}}</span>
{{#unless preview}}<span class="rb-loc-of">{{taken}} / {{max}}</span>{{/unless}}
</div>
{{#if effect}}<p class="rb-loc-effect">{{effect}}</p>{{/if}}
{{#if preview}}<p class="rb-loc-effect">{{localize "RINGBRP.Loc.NoTargetPlaced"}}</p>{{/if}}
{{#if majorWound}}<p class="rb-wound-loss">{{localize "RINGBRP.Wound.Header"}}</p>{{/if}}
</div>