mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
* Restructured all the files * Moved build/daggerheart.js to ./daggerheart.js. Changed rollup to use the css file instead of the less * Restored build/ folder * Mvoed config out form under application * Moved roll.mjs to module/dice and renamed to dhRolls.mjs * Update module/canvas/placeables/_module.mjs Co-authored-by: joaquinpereyra98 <24190917+joaquinpereyra98@users.noreply.github.com> * Le massive export update * Removed unncessary import --------- Co-authored-by: joaquinpereyra98 <24190917+joaquinpereyra98@users.noreply.github.com>
43 lines
No EOL
2 KiB
Handlebars
43 lines
No EOL
2 KiB
Handlebars
|
|
<fieldset class="action-category">
|
|
<legend class="action-category-label" data-action="toggleSection" data-section="effects">
|
|
<div>Healing</div>
|
|
</legend>
|
|
<div class="action-category-data open">
|
|
<fieldset>
|
|
{{formField fields.type value=source.type name="healing.type" localize=true}}
|
|
{{#if (and (not @root.isNPC) @root.hasRoll)}}
|
|
{{formField fields.resultBased value=source.resultBased name="healing.resultBased" localize=true}}
|
|
{{/if}}
|
|
{{#if (and (not @root.isNPC) @root.hasRoll source.resultBased)}}
|
|
<fieldset>
|
|
<legend>
|
|
<div>With Hope</div>
|
|
</legend>
|
|
{{> formula fields=fields.value.fields source=source.value target="value"}}
|
|
</fieldset>
|
|
<fieldset>
|
|
<legend>
|
|
<div>With Fear</div>
|
|
</legend>
|
|
{{> formula fields=fields.valueAlt.fields source=source.valueAlt target="valueAlt"}}
|
|
</fieldset>
|
|
{{else}}
|
|
{{> formula fields=fields.value.fields source=source.value target="value"}}
|
|
{{/if}}
|
|
</fieldset>
|
|
</div>
|
|
</fieldset>
|
|
|
|
{{#*inline "formula"}}
|
|
<div class="multi-display">
|
|
{{formField fields.custom.fields.enabled value=source.custom.enabled name=(concat "healing." target ".custom.enabled")}}
|
|
{{#if source.custom.enabled}}
|
|
{{formField fields.custom.fields.formula value=source.custom.formula name=(concat "healing." target ".custom.formula") localize=true}}
|
|
{{else}}
|
|
{{formField fields.multiplier value=source.multiplier name=(concat "healing." target ".multiplier") localize=true}}
|
|
{{formField fields.dice value=source.dice name=(concat "healing." target ".dice")}}
|
|
{{formField fields.bonus value=source.bonus name=(concat "healing." target ".bonus") localize=true}}
|
|
{{/if}}
|
|
</div>
|
|
{{/inline}} |