mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-16 23:26:28 +01:00
[Feature] 155 - New Adversary Sheet (#228)
* rework adversary templates, add setting dialog to adversary and fix erratas * fix errata in adversary data model * developing experience setting page * Experience settings update * finish actions setting tab * Fixed Notes enriched path and adversary-settings form id * Fixed UseItem and ToChat * Fixed Firefox progress bar (HP/Stress) (#230) * insert prose-mirror style and inicial implement to damage settings * fix character import relative paths and remove effects from standard adversary attack --------- Co-authored-by: WBHarry <williambjrklund@gmail.com> Co-authored-by: GyroFalc <43814421+GyroFalc@users.noreply.github.com>
This commit is contained in:
parent
8b834036fa
commit
5ffb22fcc5
42 changed files with 2123 additions and 254 deletions
38
templates/sheets/applications/adversary-settings/details.hbs
Normal file
38
templates/sheets/applications/adversary-settings/details.hbs
Normal file
|
|
@ -0,0 +1,38 @@
|
|||
<section
|
||||
class='tab {{tabs.details.cssClass}} {{tabs.details.id}}'
|
||||
data-tab='{{tabs.details.id}}'
|
||||
data-group='{{tabs.details.group}}'
|
||||
>
|
||||
<fieldset class="one-column">
|
||||
<legend>{{localize 'DAGGERHEART.General.basics'}}</legend>
|
||||
<div class="nest-inputs">
|
||||
{{formGroup systemFields.tier value=document.system.tier localize=true}}
|
||||
{{formGroup systemFields.type value=document.system.type localize=true}}
|
||||
{{#if (eq document.system.type 'horde')}}
|
||||
{{formGroup systemFields.hordeHp value=document.system.hordeHp label=(localize "DAGGERHEART.Sheets.Adversary.horderHp")}}
|
||||
{{/if}}
|
||||
{{formGroup systemFields.difficulty value=document.system.difficulty localize=true}}
|
||||
</div>
|
||||
{{formField systemFields.description value=document.system.description label=(localize "DAGGERHEART.Sheets.Adversary.FIELDS.description.label")}}
|
||||
{{formField systemFields.motivesAndTactics value=document.system.motivesAndTactics label=(localize "DAGGERHEART.Sheets.Adversary.FIELDS.motivesAndTactics.label")}}
|
||||
</fieldset>
|
||||
|
||||
<div class="fieldsets-section">
|
||||
<fieldset class="flex">
|
||||
<legend>{{localize "DAGGERHEART.Sheets.Adversary.HitPoints"}}</legend>
|
||||
{{formGroup systemFields.resources.fields.hitPoints.fields.value value=document.system.resources.hitPoints.value}}
|
||||
{{formGroup systemFields.resources.fields.hitPoints.fields.max value=document.system.resources.hitPoints.max}}
|
||||
</fieldset>
|
||||
<fieldset class="flex">
|
||||
<legend>{{localize "DAGGERHEART.Sheets.Adversary.Stress"}}</legend>
|
||||
{{formGroup systemFields.resources.fields.stress.fields.value value=document.system.resources.stress.value}}
|
||||
{{formGroup systemFields.resources.fields.stress.fields.max value=document.system.resources.stress.max}}
|
||||
</fieldset>
|
||||
</div>
|
||||
|
||||
<fieldset class="flex">
|
||||
<legend>{{localize "DAGGERHEART.Sheets.Adversary.DamageThresholds"}}</legend>
|
||||
{{formGroup systemFields.damageThresholds.fields.major value=document.system.damageThresholds.major}}
|
||||
{{formGroup systemFields.damageThresholds.fields.severe value=document.system.damageThresholds.severe}}
|
||||
</fieldset>
|
||||
</section>
|
||||
Loading…
Add table
Add a link
Reference in a new issue