Removed inherit

This commit is contained in:
WBHarry 2026-05-15 09:07:46 +02:00
parent e12d5ce851
commit 12119bfbfc
3 changed files with 0 additions and 15 deletions

View file

@ -136,8 +136,6 @@
"criticalThreshold": "Critical Threshold",
"includeBase": { "label": "Include Item Damage" },
"groupAttack": { "label": "Group Attack" },
"inheritDefaultDamage": { "label": "Inherit Default Damage" },
"inheritDefaultEffects": { "label": "Inherit Default Effects" },
"multiplier": "Multiplier",
"saveHint": "Set a default Trait to enable Reaction Roll. It can be changed later in Reaction Roll Dialog.",
"resultBased": {

View file

@ -346,16 +346,6 @@ export class DHDamageData extends DHResourceData {
export class AltDamageOutcome extends foundry.abstract.DataModel {
static defineSchema() {
return {
inheritDefaultDamage: new fields.BooleanField({
required: true,
initial: true,
label: 'DAGGERHEART.ACTIONS.Settings.inheritDefaultDamage.label'
}),
inheritDefaultEffects: new fields.BooleanField({
required: true,
initial: true,
label: 'DAGGERHEART.ACTIONS.Settings.inheritDefaultEffects.label'
}),
...getDamageBaseFields()
};
}

View file

@ -18,9 +18,6 @@
{{#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 --}}