mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
* Small random fixes * Added use of ItemLinkFields * Multiclass levelup fixes * Fixed our onCreate methods unintentionally being run on all clients * Remade apps handling * Added for all class items and subclass * Restored foreignDocumentUuidField * Improved * PR fxies * Fixed tooltip enrichment * . * Reverted silly change
39 lines
No EOL
2.4 KiB
Handlebars
39 lines
No EOL
2.4 KiB
Handlebars
<section
|
|
class='tab {{tabs.settings.cssClass}} {{tabs.settings.id}}'
|
|
data-tab='{{tabs.settings.id}}'
|
|
data-group='{{tabs.settings.group}}'
|
|
>
|
|
<fieldset class="two-columns">
|
|
<legend>{{localize tabs.settings.label}}</legend>
|
|
<span>{{localize "DAGGERHEART.GENERAL.Tiers.singular"}}</span>
|
|
{{formField systemFields.tier value=source.system.tier}}
|
|
<span>{{localize "DAGGERHEART.ITEMS.Weapon.secondaryWeapon"}}</span>
|
|
{{formField systemFields.secondary value=source.system.secondary}}
|
|
<span>{{localize "DAGGERHEART.GENERAL.Trait.single"}}</span>
|
|
{{formInput systemFields.attack.fields.roll.fields.trait value=document.system.attack.roll.trait name="system.attack.roll.trait" label="DAGGERHEART.GENERAL.Trait.single" localize=true}}
|
|
<span>{{localize "DAGGERHEART.GENERAL.range"}}</span>
|
|
{{formInput systemFields.attack.fields.range value=document.system.attack.range label="Range" name="system.attack.range" localize=true}}
|
|
<span>{{localize "DAGGERHEART.GENERAL.burden"}}</span>
|
|
{{formField systemFields.burden value=source.system.burden localize=true}}
|
|
</fieldset>
|
|
|
|
<fieldset class="two-columns">
|
|
{{#with systemFields.attack.fields.damage.fields.parts.element.fields as | fields | }}
|
|
{{#with (lookup ../document.system.attack.damage.parts 0) as | source | }}
|
|
<legend>{{localize "DAGGERHEART.GENERAL.damage"}}</legend>
|
|
<span>{{localize "DAGGERHEART.GENERAL.Dice.single"}}</span>
|
|
{{formInput fields.value.fields.dice value=source.value.dice name="system.attack.damage.parts.0.value.dice"}}
|
|
<span>{{localize "DAGGERHEART.GENERAL.bonus"}}</span>
|
|
{{formInput fields.value.fields.bonus value=source.value.bonus name="system.attack.damage.parts.0.value.bonus" localize=true}}
|
|
<span>{{localize "DAGGERHEART.GENERAL.type"}}</span>
|
|
{{formInput fields.type value=source.type name="system.attack.damage.parts.0.type" localize=true}}
|
|
<input type="hidden" name="system.attack.damage.parts.0.value.multiplier" value="{{source.value.multiplier}}">
|
|
{{/with}}
|
|
{{/with}}
|
|
</fieldset>
|
|
<fieldset class="two-columns">
|
|
<legend>{{localize "TYPES.Item.feature"}}</legend>
|
|
<span>{{localize "TYPES.Item.feature"}}</span>
|
|
<input type="text" class="features-input" value="{{features}}" />
|
|
</fieldset>
|
|
</section> |