mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
* #635 & #637 * #653 * Fix: #681 #682 #685 #686 * Fix duplicate messages * Remove comments
17 lines
No EOL
970 B
Handlebars
17 lines
No EOL
970 B
Handlebars
<div class="roll-buttons">
|
|
{{#if hasDamage}}
|
|
{{#unless (empty damage)}}
|
|
{{#if canButtonApply}}<button class="duality-action damage-button">{{localize "DAGGERHEART.UI.Chat.damageRoll.dealDamage"}}</button>{{/if}}
|
|
{{else}}
|
|
<button class="duality-action duality-action-damage">{{localize "DAGGERHEART.UI.Chat.attackRoll.rollDamage"}}</button>
|
|
{{/unless}}
|
|
{{/if}}
|
|
{{#if hasHealing}}
|
|
{{#unless (empty damage)}}
|
|
{{#if canButtonApply}}<button class="duality-action damage-button">{{localize "DAGGERHEART.UI.Chat.healingRoll.applyHealing"}}</button>{{/if}}
|
|
{{else}}
|
|
<button class="duality-action duality-action-damage">{{localize "DAGGERHEART.UI.Chat.attackRoll.rollHealing"}}</button>
|
|
{{/unless}}
|
|
{{/if}}
|
|
{{#if (and hasEffect canButtonApply)}}<button class="duality-action-effect">{{localize "DAGGERHEART.UI.Chat.attackRoll.applyEffect"}}</button>{{/if}}
|
|
</div> |