Roll damages and so on
All checks were successful
Release Creation / build (release) Successful in 56s
All checks were successful
Release Creation / build (release) Successful in 56s
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
{{!log 'chat-message' this}}
|
||||
{{!log 'weaponDamageOptions' weaponDamageOptions}}
|
||||
<div class="{{cssClass}}">
|
||||
<div class="intro-chat">
|
||||
<div class="intro-img">
|
||||
@@ -114,6 +115,40 @@
|
||||
|
||||
{{/unless}}
|
||||
|
||||
{{#if weaponDamageOptions}}
|
||||
<div class="damage-buttons">
|
||||
<div class="damage-buttons-title">{{localize
|
||||
"LETHALFANTASY.Label.rollDamage"
|
||||
}}</div>
|
||||
<div class="damage-buttons-grid">
|
||||
{{#if weaponDamageOptions.damageS}}
|
||||
<button
|
||||
class="damage-roll-btn"
|
||||
data-weapon-id="{{weaponDamageOptions.weaponId}}"
|
||||
data-damage-type="small"
|
||||
data-damage-formula="{{weaponDamageOptions.damageS}}"
|
||||
title="{{localize 'LETHALFANTASY.Label.weapon-damage-small'}}"
|
||||
>
|
||||
<i class="fa-solid fa-dice-d6"></i>
|
||||
{{localize "LETHALFANTASY.Label.weapon-damage-small"}}
|
||||
</button>
|
||||
{{/if}}
|
||||
{{#if weaponDamageOptions.damageM}}
|
||||
<button
|
||||
class="damage-roll-btn"
|
||||
data-weapon-id="{{weaponDamageOptions.weaponId}}"
|
||||
data-damage-type="medium"
|
||||
data-damage-formula="{{weaponDamageOptions.damageM}}"
|
||||
title="{{localize 'LETHALFANTASY.Label.weapon-damage-medium'}}"
|
||||
>
|
||||
<i class="fa-solid fa-dice-d20"></i>
|
||||
{{localize "LETHALFANTASY.Label.weapon-damage-medium"}}
|
||||
</button>
|
||||
{{/if}}
|
||||
</div>
|
||||
</div>
|
||||
{{/if}}
|
||||
|
||||
{{#if rollData.isDamage}}
|
||||
<div class="damage-result">
|
||||
<ul>
|
||||
|
||||
Reference in New Issue
Block a user