System development, WIP

This commit is contained in:
2026-05-05 13:55:42 +02:00
commit c0223977d2
250 changed files with 10362 additions and 0 deletions
+38
View File
@@ -0,0 +1,38 @@
<article class="mgne-chat-card mode-{{modeClass}} {{#if outcomeClass}}outcome-{{outcomeClass}}{{/if}}"
{{#if showApplyButton}}data-damage-total="{{damageTotal}}" data-damage-critical="{{damageCritical}}"{{/if}}>
<header class="chat-card-header">
{{#if actorImg}}<img src="{{actorImg}}" alt="{{actorName}}" />{{/if}}
<div>
<h3>{{label}}</h3>
<p class="chat-actor">{{actorName}}</p>
</div>
</header>
<div class="chat-card-body">
{{#if subtitle}}<p class="chat-subtitle"><strong>{{subtitle}}</strong></p>{{/if}}
{{#if formula}}<p class="chat-formula">{{localize "MGNE.Chat.Formula"}}: <code>{{formula}}</code></p>{{/if}}
<div class="chat-result-line">
<span class="chat-result-label">{{localize "MGNE.Chat.Result"}}</span>
<strong class="chat-result-total">{{total}}</strong>
</div>
<p class="chat-outcome">{{outcome}}</p>
{{#if specialText}}<p class="chat-special">{{specialText}}</p>{{/if}}
{{#if showDamageButton}}
<div class="chat-card-actions">
<button type="button" class="mgne-roll-damage-btn {{#if damageCritical}}is-critical{{/if}}"
data-actor-id="{{damageActorId}}"
data-item-id="{{damageItemId}}">
<i class="fa-solid fa-burst"></i>
{{localize "MGNE.Roll.RollDamage"}}
<span class="dmg-formula">({{damageFormula}}{{#if damageCritical}} ×2{{/if}})</span>
</button>
</div>
{{/if}}
{{#if showApplyButton}}
<div class="chat-card-actions chat-apply-actions">
<select class="mgne-apply-damage-select">
<option value="">— {{localize "MGNE.Roll.ApplyTo"}} —</option>
</select>
</div>
{{/if}}
</div>
</article>