mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-04-22 23:43:37 +02:00
* Added the ability for effects to have stacks * Fixed effect stacking * Improved token overlay spacing * Compendium updaetes * Simplify effect click event (#1748) * Fixed a bunch of deprecations * Corrected AgileScout Beastform json data * Updated TokenHUD to the new v14 * Removed DestroyOnEmpty from consumables * Fixed so that tooltips don't get stuck (#1745) * [Feature] TagTeam Partial Rendering (#1735) * I done did it, I think * Think I fixed the partial rendering bug for gm->player * [V14] 1743 - Damage Update Error (#1746) * Fixed DamageParts causing errors on update * Fixed ActionBaseConfig error when no damage present on the action * Fix removal of damage field * Removed unneccessary default value function for parts --------- Co-authored-by: Carlos Fernandez <cfern1990@gmail.com> * Simplify effect click event --------- Co-authored-by: WBHarry <williambjrklund@gmail.com> Co-authored-by: WBHarry <89362246+WBHarry@users.noreply.github.com> * Fixed stacking-value pointer event * Set the stacking value in EffectsDisplay to be tabular-nums for monospacing * Made baseEffect.stacking nullable instead of having an enabled property * . * Fixed so that actor._onUpdateDescantDocuments re-renders the EffectDisplay if effects were updated --------- Co-authored-by: Carlos Fernandez <CarlosFdez@users.noreply.github.com>
51 lines
No EOL
2.9 KiB
Handlebars
51 lines
No EOL
2.9 KiB
Handlebars
<section class="tab{{#if tab.active}} active{{/if}}" data-group="{{tab.group}}" data-tab="{{tab.id}}">
|
|
<fieldset class="one-column optional">
|
|
<legend>
|
|
{{localize "DAGGERHEART.ACTIVEEFFECT.Config.stacking.title"}}
|
|
<input type="checkbox" class="stacking-change-checkbox" {{checked source.system.stacking}} />
|
|
</legend>
|
|
|
|
{{#if source.system.stacking}}
|
|
<div class="two-columns even full-width">
|
|
{{formGroup systemFields.stacking.fields.value value=source.system.stacking.value localize=true }}
|
|
{{formGroup systemFields.stacking.fields.max value=source.system.stacking.max localize=true }}
|
|
</div>
|
|
{{/if}}
|
|
</fieldset>
|
|
|
|
<fieldset class="one-column">
|
|
<legend>{{localize "DAGGERHEART.ACTIVEEFFECT.Config.rangeDependence.title"}}</legend>
|
|
|
|
{{formGroup systemFields.rangeDependence.fields.enabled value=source.system.rangeDependence.enabled localize=true }}
|
|
{{formGroup systemFields.rangeDependence.fields.type value=source.system.rangeDependence.type localize=true }}
|
|
{{formGroup systemFields.rangeDependence.fields.target value=source.system.rangeDependence.target localize=true }}
|
|
{{formGroup systemFields.rangeDependence.fields.range value=source.system.rangeDependence.range localize=true }}
|
|
</fieldset>
|
|
<fieldset class="one-column">
|
|
<legend>{{localize "EFFECT.DURATION.Label"}}</legend>
|
|
|
|
{{formGroup systemFields.duration.fields.type value=source.system.duration.type localize=true }}
|
|
|
|
<div class="form-group slim duration-description">
|
|
<div class="form-fields">
|
|
{{formInput systemFields.duration.fields.description value=source.system.duration.description localize=true }}
|
|
</div>
|
|
</div>
|
|
|
|
<div class="custom-duration-section">
|
|
{{formGroup fields.start.fields.time value=source.start.time localize=true }}
|
|
<div class="form-group slim duration" data-duration>
|
|
<label class="flexrow" for="{{rootId}}-duration.value">
|
|
<span>{{localize "EFFECT.DURATION.Label"}}</span>
|
|
<span class="warning" hidden><i class="fa-duotone fa-triangle-exclamation"></i></span>
|
|
</label>
|
|
<div class="form-fields">
|
|
{{formInput fields.duration.fields.value value=source.duration.value id=(concat rootId "-duration.value")
|
|
aria=(object label=(localize "EFFECT.FIELDS.duration.value.label"))}}
|
|
{{formInput fields.duration.fields.units value=source.duration.units id=(concat rootId "-duration.units")
|
|
options=durationUnits aria=(object label=(localize "EFFECT.FIELDS.duration.units.label")) localize=true }}
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</fieldset>
|
|
</section> |