mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-06-07 05:14:16 +02:00
Removed inherit
This commit is contained in:
parent
e12d5ce851
commit
12119bfbfc
3 changed files with 0 additions and 15 deletions
|
|
@ -136,8 +136,6 @@
|
||||||
"criticalThreshold": "Critical Threshold",
|
"criticalThreshold": "Critical Threshold",
|
||||||
"includeBase": { "label": "Include Item Damage" },
|
"includeBase": { "label": "Include Item Damage" },
|
||||||
"groupAttack": { "label": "Group Attack" },
|
"groupAttack": { "label": "Group Attack" },
|
||||||
"inheritDefaultDamage": { "label": "Inherit Default Damage" },
|
|
||||||
"inheritDefaultEffects": { "label": "Inherit Default Effects" },
|
|
||||||
"multiplier": "Multiplier",
|
"multiplier": "Multiplier",
|
||||||
"saveHint": "Set a default Trait to enable Reaction Roll. It can be changed later in Reaction Roll Dialog.",
|
"saveHint": "Set a default Trait to enable Reaction Roll. It can be changed later in Reaction Roll Dialog.",
|
||||||
"resultBased": {
|
"resultBased": {
|
||||||
|
|
|
||||||
|
|
@ -346,16 +346,6 @@ export class DHDamageData extends DHResourceData {
|
||||||
export class AltDamageOutcome extends foundry.abstract.DataModel {
|
export class AltDamageOutcome extends foundry.abstract.DataModel {
|
||||||
static defineSchema() {
|
static defineSchema() {
|
||||||
return {
|
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()
|
...getDamageBaseFields()
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -18,9 +18,6 @@
|
||||||
{{#if (and @root.isNPC (not (eq path 'system.attack.')))}}
|
{{#if (and @root.isNPC (not (eq path 'system.attack.')))}}
|
||||||
{{formField baseFields.groupAttack value=source.groupAttack name=(concat path basePath ".groupAttack") localize=true classes="select"}}
|
{{formField baseFields.groupAttack value=source.groupAttack name=(concat path basePath ".groupAttack") localize=true classes="select"}}
|
||||||
{{/if}}
|
{{/if}}
|
||||||
{{#unless isDefaultDamage}}
|
|
||||||
{{formField @root.fields.damage.fields.altOutcomes.fields.successFear.fields.inheritDefaultDamage name=(concat path basePath ".inheritDefaultDamage") localize=true classes="checkbox"}}
|
|
||||||
{{/unless}}
|
|
||||||
</div>
|
</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 --}}
|
{{!-- 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 --}}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue