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>
This commit is contained in:
co-authored by
Claude Opus 5
parent
197bdf9fb0
commit
1e0deb2ef0
@@ -8,8 +8,9 @@
|
||||
<div class="rb-chat-result">
|
||||
<span class="rb-loc-name">{{locationLabel}}</span>
|
||||
<span class="rb-loc-dmg">{{damage}}</span>
|
||||
<span class="rb-loc-of">{{taken}} / {{max}}</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>
|
||||
|
||||
@@ -22,8 +22,15 @@
|
||||
</div>
|
||||
{{#if damage}}
|
||||
<div class="rb-chat-damage">
|
||||
<button type="button" class="rb-dmg-btn" data-action="chat-damage">
|
||||
{{localize "RINGBRP.Chat.RollDamage"}} <strong>{{damage.label}}</strong>
|
||||
<button type="button" class="rb-dmg-btn" data-action="chat-damage" data-plan="baseline"
|
||||
title="{{localize "RINGBRP.Chat.DamageHumanoidHint"}}">
|
||||
<i class="fa-solid fa-person" aria-hidden="true"></i>
|
||||
{{localize "RINGBRP.Chat.RollDamageHumanoid"}} <strong>{{damage.label}}</strong>
|
||||
</button>
|
||||
<button type="button" class="rb-dmg-btn" data-action="chat-damage" data-plan="quadruped"
|
||||
title="{{localize "RINGBRP.Chat.DamageQuadrupedHint"}}">
|
||||
<i class="fa-solid fa-paw" aria-hidden="true"></i>
|
||||
{{localize "RINGBRP.Chat.RollDamageQuadruped"}} <strong>{{damage.label}}</strong>
|
||||
</button>
|
||||
{{#if damage.critical}}<span class="rb-dmg-note">{{localize "RINGBRP.Chat.DamageCritical"}}</span>{{/if}}
|
||||
{{#if damage.special}}<span class="rb-dmg-note">{{localize "RINGBRP.Chat.DamageSpecial"}}</span>{{/if}}
|
||||
|
||||
Reference in New Issue
Block a user