Changed to use DefaultOutcome and added successHope as an alt outcome

This commit is contained in:
WBHarry 2026-05-14 21:13:33 +02:00
parent 482b932cd6
commit e12d5ce851
6 changed files with 41 additions and 22 deletions

View file

@ -18,6 +18,9 @@
{{#if (and @root.isNPC (not (eq path 'system.attack.')))}}
{{formField baseFields.groupAttack value=source.groupAttack name=(concat path basePath ".groupAttack") localize=true classes="select"}}
{{/if}}
{{#unless isDefaultDamage}}
{{formField @root.fields.damage.fields.altOutcomes.fields.successFear.fields.inheritDefaultDamage name=(concat path basePath ".inheritDefaultDamage") localize=true classes="checkbox"}}
{{/unless}}
</div>
{{!-- Handlebars uses Symbol.Iterator to produce index|key. This isn't compatible with our parts object, so we instead use applyTo, which is the same value --}}