mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
Updated NpcRollSelectionDialog.mjs to ApplicationV2
This commit is contained in:
parent
5a3bb25e53
commit
707e47bc1b
4 changed files with 48 additions and 104 deletions
|
|
@ -7,21 +7,17 @@
|
|||
<div class="dice-number">d20</div>
|
||||
</div>
|
||||
<div class="advantage-container">
|
||||
<button class="advantage-button {{#if this.advantage}}active{{/if}} advantage">{{localize "DAGGERHEART.General.Advantage.Full"}}</button>
|
||||
<button class="advantage-button {{#if (eq this.advantage false)}}active{{/if}} disadvantage">{{localize "DAGGERHEART.General.Disadvantage.Full"}}</button>
|
||||
<button class="advantage-button {{#if this.advantage}}active{{/if}} advantage" data-action="updateIsAdvantage" data-advantage="true">{{localize "DAGGERHEART.General.Advantage.Full"}}</button>
|
||||
<button class="advantage-button {{#if (eq this.advantage false)}}active{{/if}} disadvantage" data-action="updateIsAdvantage">{{localize "DAGGERHEART.General.Disadvantage.Full"}}</button>
|
||||
</div>
|
||||
</div>
|
||||
<div class="roll-dialog-experience-container">
|
||||
{{#each this.experiences as |experience|}}
|
||||
<button class="experience-chip {{#if experience.selected}}active{{/if}}" data-action="selectExperience" id="{{id}}">{{experience.name}} {{experience.value}}</button>
|
||||
{{!-- <div class="roll-dialog-chip {{#if experience.selected}}selected{{/if}}" data-action="selectExperience" data-key="{{key}}">
|
||||
<span>{{experience.name}}</span>
|
||||
<i class="fa-solid fa-circle-check"></i>
|
||||
</div> --}}
|
||||
{{/each}}
|
||||
</div>
|
||||
</div>
|
||||
<footer>
|
||||
<button class="roll-button">Roll</button>
|
||||
<footer class="flexrow">
|
||||
<button type="submit" class="roll-button">Roll</button>
|
||||
</footer>
|
||||
</div>
|
||||
Loading…
Add table
Add a link
Reference in a new issue