fix: show dice in spell cast card, dedupe Alchemy folders, assign signature spells
- Spell cast card now embeds the TS dice (base + overcast) and damage dice instead of posting separate roll messages; Dice So Nice still animates. - Spell pack Alchemy sub-folders renamed to Transmutacja / Warzenie Eliksirów so the label no longer repeats under the Alchemia folder. - Discipline schema gains signatureSpells (the sheet already bound to it); build-packs fills it with each discipline's own spells. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -24,6 +24,12 @@
|
||||
</ul>
|
||||
{{/if}}
|
||||
|
||||
{{#each rolls as |r|}}
|
||||
<section class="hbm-card-roll">
|
||||
{{{r.html}}}
|
||||
</section>
|
||||
{{/each}}
|
||||
|
||||
{{#if outcome.success}}
|
||||
{{#if damage}}
|
||||
<section class="hbm-card-damage">
|
||||
@@ -34,6 +40,15 @@
|
||||
{{#if damage.ignoresArmor}}<span class="badge ignores-armor">{{localize 'HBM.spell.ignoresArmor'}}</span>{{/if}}
|
||||
</div>
|
||||
<div class="damage-formula"><code>{{damage.formula}}</code></div>
|
||||
{{#if damage.dice.length}}
|
||||
<div class="damage-dice">
|
||||
{{#each damage.dice as |d|}}
|
||||
<span class="damage-die-group"><small>{{d.expression}}:</small>
|
||||
{{#each d.results as |face|}}<span class="die">{{face}}</span>{{/each}}
|
||||
</span>
|
||||
{{/each}}
|
||||
</div>
|
||||
{{/if}}
|
||||
{{#if damage.targets}}
|
||||
<div class="hbm-card-targets">
|
||||
{{#each damage.targets as |t|}}
|
||||
|
||||
Reference in New Issue
Block a user