mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-15 05:01:08 +01:00
[Feature] Beastform Types (#372)
* Temp * Finished Evolved * Fixed hybrid * Changed generalConfig.tiers to be number based * Weaponhandling while in beastform * Added unarmed strike in sidebar * Added DamageEnricher * Added effect enricher * Corrected downtime buttons and actions * Added BeastformTooltip * Split the BeastformDialog into parts with tabs * Added temp beastform features * rollData change * Improvement * character.getRollData cleanup
This commit is contained in:
parent
867947c2c5
commit
42a705a870
93 changed files with 2795 additions and 538 deletions
29
templates/sheets/items/beastform/advanced.hbs
Normal file
29
templates/sheets/items/beastform/advanced.hbs
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
<section
|
||||
class='tab {{tabs.advanced.cssClass}} {{tabs.advanced.id}}'
|
||||
data-tab='{{tabs.advanced.id}}'
|
||||
data-group='{{tabs.advanced.group}}'
|
||||
>
|
||||
{{formGroup systemFields.beastformType value=source.system.beastformType localize=true blank=false}}
|
||||
|
||||
{{#if (eq source.system.beastformType 'evolved')}}
|
||||
<fieldset class="two-columns even">
|
||||
<legend>{{localize "DAGGERHEART.CONFIG.BeastformType.evolved"}}</legend>
|
||||
|
||||
{{formGroup systemFields.evolved.fields.maximumTier value=source.system.evolved.maximumTier localize=true blank=false}}
|
||||
{{formGroup systemFields.evolved.fields.mainTraitBonus value=source.system.evolved.mainTraitBonus localize=true}}
|
||||
</fieldset>
|
||||
{{/if}}
|
||||
|
||||
{{#if (eq source.system.beastformType 'hybrid')}}
|
||||
<fieldset class="one-column">
|
||||
<legend>{{localize "DAGGERHEART.CONFIG.BeastformType.hybrid"}}</legend>
|
||||
|
||||
{{formGroup systemFields.hybrid.fields.maximumTier value=source.system.hybrid.maximumTier localize=true blank=false}}
|
||||
<div class="nest-inputs">
|
||||
{{formGroup systemFields.hybrid.fields.beastformOptions value=source.system.hybrid.beastformOptions localize=true}}
|
||||
{{formGroup systemFields.hybrid.fields.advantages value=source.system.hybrid.advantages localize=true}}
|
||||
{{formGroup systemFields.hybrid.fields.features value=source.system.hybrid.features localize=true}}
|
||||
</div>
|
||||
</fieldset>
|
||||
{{/if}}
|
||||
</section>
|
||||
|
|
@ -3,12 +3,22 @@
|
|||
data-tab='{{tabs.settings.id}}'
|
||||
data-group='{{tabs.settings.group}}'
|
||||
>
|
||||
<div class="two-columns">
|
||||
{{#if (eq source.system.beastformType 'evolved')}}
|
||||
{{formGroup systemFields.tier value=source.system.tier localize=true}}
|
||||
{{formGroup systemFields.examples value=source.system.examples localize=true}}
|
||||
</div>
|
||||
{{else}}
|
||||
<div class="two-columns even">
|
||||
{{formGroup systemFields.tier value=source.system.tier localize=true}}
|
||||
{{formGroup systemFields.mainTrait value=source.system.mainTrait blank=false localize=true}}
|
||||
</div>
|
||||
|
||||
{{formGroup systemFields.advantageOn value=source.system.advantageOn localize=true}}
|
||||
{{#unless (eq source.system.beastformType 'hybrid')}}
|
||||
{{formGroup systemFields.examples value=source.system.examples localize=true}}
|
||||
<div class="advantage-on-section">
|
||||
<label>{{localize "DAGGERHEART.ITEMS.Beastform.FIELDS.advantageOn.label"}}</label>
|
||||
<input class="advantageon-input" value="{{advantageOn}}" />
|
||||
</div>
|
||||
{{/unless}}
|
||||
{{/if}}
|
||||
|
||||
<fieldset class="two-columns even">
|
||||
<legend>{{localize "DAGGERHEART.ITEMS.Beastform.tokenTitle"}}</legend>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue