Made sure the advantage section is always shown (#1591)

This commit is contained in:
WBHarry 2026-01-28 01:35:03 +01:00 committed by GitHub
parent 6321c7c508
commit 0baed9234b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -125,7 +125,6 @@
</fieldset> </fieldset>
{{/if}} {{/if}}
<fieldset class="modifier-container {{#if (eq @root.rollType 'DualityRoll')}}two-columns{{else}}one-column{{/if}}"> <fieldset class="modifier-container {{#if (eq @root.rollType 'DualityRoll')}}two-columns{{else}}one-column{{/if}}">
{{#if @root.advantage}}
<legend>{{localize "DAGGERHEART.GENERAL.Modifier.plural"}}</legend> <legend>{{localize "DAGGERHEART.GENERAL.Modifier.plural"}}</legend>
<div class="nest-inputs"> <div class="nest-inputs">
<button class="advantage-chip flex1 {{#if (eq advantage 1)}}selected{{/if}}" data-action="updateIsAdvantage" data-advantage="1"> <button class="advantage-chip flex1 {{#if (eq advantage 1)}}selected{{/if}}" data-action="updateIsAdvantage" data-advantage="1">
@ -169,7 +168,6 @@
</select> </select>
{{/if}} {{/if}}
{{/unless}} {{/unless}}
{{/if}}
{{#if @root.rallyDie.length}} {{#if @root.rallyDie.length}}
<span class="formula-label">{{localize "DAGGERHEART.CLASS.Feature.rallyDice"}}</span> <span class="formula-label">{{localize "DAGGERHEART.CLASS.Feature.rallyDice"}}</span>
<select name="roll.dice._rallyIndex"> <select name="roll.dice._rallyIndex">