|
|
|
<div class="spaced-fields details-container-flex-row">
|
|
<select name="system.rules.{{index}}.type">
|
|
{{#select rule.type}}
|
|
{{#each types as |label key|}}
|
|
<option value="{{key}}">{{localize label}}</option>
|
|
{{/each}}
|
|
{{/select}}
|
|
</select>
|
|
|
|
{{{form.resolvableValue "value"}}}
|
|
|
|
{{#if (eq rule.type "regeneration")}}
|
|
<label>
|
|
{{localize "PF2E.RuleEditor.FastHealing.DeactivatedBy"}}
|
|
<input type="text" class="pf2e-tagify deactivated-by" name="system.rules.{{index}}.deactivatedBy" value="{{json rule.deactivatedBy}}" data-dtype="JSON"/>
|
|
</label>
|
|
{{else}}
|
|
<label>
|
|
{{localize "PF2E.DetailsHeading"}}
|
|
<input type="text" class="details" name="system.rules.{{index}}.details" value="{{rule.details}}"/>
|
|
</label>
|
|
{{/if}}
|
|
{{{form.resolvableAddBracket "value"}}}
|
|
</div>
|
|
{{{form.resolvableBrackets "value"}}}
|
|
<div class="spaced-fields">
|
|
<label>{{localize "PF2E.RuleEditor.General.Predicate"}}</label>
|
|
<input type="text" name="system.rules.{{index}}.predicate" value="{{json rule.predicate}}" />
|
|
</div>
|