Initial release for FoundryVTT
This commit is contained in:
29
templates/chat/damage-application-card.hbs
Normal file
29
templates/chat/damage-application-card.hbs
Normal file
@@ -0,0 +1,29 @@
|
||||
<section class="dnc-chat-card dnc-chat-card-damage dnc-chat-card-damage-application">
|
||||
<header class="chat-card-header">
|
||||
<div class="chat-card-heading">
|
||||
<p class="chat-card-kicker">Application</p>
|
||||
<h2>{{title}}</h2>
|
||||
<p class="chat-card-subtitle">{{subtitle}}</p>
|
||||
</div>
|
||||
<div class="chat-card-total">
|
||||
<span>PV</span>
|
||||
<strong>{{total}}</strong>
|
||||
</div>
|
||||
</header>
|
||||
<div class="chat-pill-row">
|
||||
<span class="chat-pill">Brut {{incoming}}</span>
|
||||
{{#if useArmor}}<span class="chat-pill {{#if armorAbsorbed}}success{{else}}failure{{/if}}">{{armorLabel}} {{armorAbsorbed}}</span>{{/if}}
|
||||
<span class="chat-pill success">Encaisse {{total}}</span>
|
||||
</div>
|
||||
{{#if sourceLabel}}<p class="chat-note"><strong>Source</strong> : {{sourceLabel}}</p>{{/if}}
|
||||
{{#if useArmor}}
|
||||
<p class="chat-note">
|
||||
{{#if armorAvailable}}
|
||||
<strong>{{armorLabel}}</strong> : {{armorBefore}} -> {{armorAfter}}
|
||||
{{else}}
|
||||
<strong>Armure</strong> : aucune protection enregistrée
|
||||
{{/if}}
|
||||
</p>
|
||||
{{/if}}
|
||||
<p class="chat-note"><strong>PV</strong> : {{pvBefore}} -> {{pvAfter}} / {{pvMax}}</p>
|
||||
</section>
|
||||
Reference in New Issue
Block a user