mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-07-21 18:09:54 +02:00
Cleaned up uses of 'mode' for activeEffects in configs (#2076)
This commit is contained in:
parent
2c98070836
commit
c6411ef0fe
4 changed files with 315 additions and 260 deletions
|
|
@ -315,15 +315,15 @@ export default class BeastformDialog extends HandlebarsApplicationMixin(Applicat
|
||||||
|
|
||||||
const beastformEffect = selected.effects.find(x => x.type === 'beastform');
|
const beastformEffect = selected.effects.find(x => x.type === 'beastform');
|
||||||
for (const traitBonus of app.modifications.traitBonuses) {
|
for (const traitBonus of app.modifications.traitBonuses) {
|
||||||
const existingChange = beastformEffect.changes.find(
|
const existingChange = beastformEffect.system.changes.find(
|
||||||
x => x.key === `system.traits.${traitBonus.trait}.value`
|
x => x.key === `system.traits.${traitBonus.trait}.value`
|
||||||
);
|
);
|
||||||
if (existingChange) {
|
if (existingChange) {
|
||||||
existingChange.value = Number.parseInt(existingChange.value) + traitBonus.bonus;
|
existingChange.value = Number.parseInt(existingChange.value) + traitBonus.bonus;
|
||||||
} else {
|
} else {
|
||||||
beastformEffect.changes.push({
|
beastformEffect.system.changes.push({
|
||||||
key: `system.traits.${traitBonus.trait}.value`,
|
key: `system.traits.${traitBonus.trait}.value`,
|
||||||
mode: 2,
|
type: 'add',
|
||||||
priority: null,
|
priority: null,
|
||||||
value: traitBonus.bonus
|
value: traitBonus.bonus
|
||||||
});
|
});
|
||||||
|
|
|
||||||
|
|
@ -139,13 +139,15 @@ export default class DhDeathMove extends HandlebarsApplicationMixin(ApplicationV
|
||||||
name: game.i18n.localize('DAGGERHEART.CONFIG.DeathMoves.blazeOfGlory.name'),
|
name: game.i18n.localize('DAGGERHEART.CONFIG.DeathMoves.blazeOfGlory.name'),
|
||||||
description: game.i18n.localize('DAGGERHEART.CONFIG.DeathMoves.blazeOfGlory.description'),
|
description: game.i18n.localize('DAGGERHEART.CONFIG.DeathMoves.blazeOfGlory.description'),
|
||||||
img: CONFIG.DH.GENERAL.deathMoves.blazeOfGlory.img,
|
img: CONFIG.DH.GENERAL.deathMoves.blazeOfGlory.img,
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.rules.roll.guaranteedCritical',
|
{
|
||||||
mode: 2,
|
key: 'system.rules.roll.guaranteedCritical',
|
||||||
value: 'true'
|
type: 'add',
|
||||||
}
|
value: 'true'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -90,18 +90,20 @@ export const BPModifiers = {
|
||||||
name: 'DAGGERHEART.CONFIG.BPModifiers.increaseDamage.effect.name',
|
name: 'DAGGERHEART.CONFIG.BPModifiers.increaseDamage.effect.name',
|
||||||
description: 'DAGGERHEART.CONFIG.BPModifiers.increaseDamage.effect.description',
|
description: 'DAGGERHEART.CONFIG.BPModifiers.increaseDamage.effect.description',
|
||||||
img: 'icons/magic/control/buff-flight-wings-red.webp',
|
img: 'icons/magic/control/buff-flight-wings-red.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.bonuses.damage.physical.dice',
|
{
|
||||||
mode: 2,
|
key: 'system.bonuses.damage.physical.dice',
|
||||||
value: '1d4'
|
type: 'add',
|
||||||
},
|
value: '1d4'
|
||||||
{
|
},
|
||||||
key: 'system.bonuses.damage.magical.dice',
|
{
|
||||||
mode: 2,
|
key: 'system.bonuses.damage.magical.dice',
|
||||||
value: '1d4'
|
type: 'add',
|
||||||
}
|
value: '1d4'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -37,13 +37,15 @@ export const armorFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.ArmorFeature.channeling.effects.channeling.name',
|
name: 'DAGGERHEART.CONFIG.ArmorFeature.channeling.effects.channeling.name',
|
||||||
description: 'DAGGERHEART.CONFIG.ArmorFeature.channeling.effects.channeling.description',
|
description: 'DAGGERHEART.CONFIG.ArmorFeature.channeling.effects.channeling.description',
|
||||||
img: 'icons/magic/symbols/rune-sigil-horned-blue.webp',
|
img: 'icons/magic/symbols/rune-sigil-horned-blue.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.bonuses.roll.spellcast',
|
{
|
||||||
mode: 2,
|
key: 'system.bonuses.roll.spellcast',
|
||||||
value: '1'
|
type: 'add',
|
||||||
}
|
value: '1'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -55,43 +57,45 @@ export const armorFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.ArmorFeature.difficult.effects.difficult.name',
|
name: 'DAGGERHEART.CONFIG.ArmorFeature.difficult.effects.difficult.name',
|
||||||
description: 'DAGGERHEART.CONFIG.ArmorFeature.difficult.effects.difficult.description',
|
description: 'DAGGERHEART.CONFIG.ArmorFeature.difficult.effects.difficult.description',
|
||||||
img: 'icons/magic/control/buff-flight-wings-red.webp',
|
img: 'icons/magic/control/buff-flight-wings-red.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.traits.agility.value',
|
{
|
||||||
mode: 2,
|
key: 'system.traits.agility.value',
|
||||||
value: '-1'
|
type: 'add',
|
||||||
},
|
value: '-1'
|
||||||
{
|
},
|
||||||
key: 'system.traits.strength.value',
|
{
|
||||||
mode: 2,
|
key: 'system.traits.strength.value',
|
||||||
value: '-1'
|
type: 'add',
|
||||||
},
|
value: '-1'
|
||||||
{
|
},
|
||||||
key: 'system.traits.finesse.value',
|
{
|
||||||
mode: 2,
|
key: 'system.traits.finesse.value',
|
||||||
value: '-1'
|
type: 'add',
|
||||||
},
|
value: '-1'
|
||||||
{
|
},
|
||||||
key: 'system.traits.instinct.value',
|
{
|
||||||
mode: 2,
|
key: 'system.traits.instinct.value',
|
||||||
value: '-1'
|
type: 'add',
|
||||||
},
|
value: '-1'
|
||||||
{
|
},
|
||||||
key: 'system.traits.presence.value',
|
{
|
||||||
mode: 2,
|
key: 'system.traits.presence.value',
|
||||||
value: '-1'
|
type: 'add',
|
||||||
},
|
value: '-1'
|
||||||
{
|
},
|
||||||
key: 'system.traits.knowledge.value',
|
{
|
||||||
mode: 2,
|
key: 'system.traits.knowledge.value',
|
||||||
value: '-1'
|
type: 'add',
|
||||||
},
|
value: '-1'
|
||||||
{
|
},
|
||||||
key: 'system.evasion',
|
{
|
||||||
mode: 2,
|
key: 'system.evasion',
|
||||||
value: '-1'
|
type: 'add',
|
||||||
}
|
value: '-1'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -103,13 +107,15 @@ export const armorFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.ArmorFeature.flexible.effects.flexible.name',
|
name: 'DAGGERHEART.CONFIG.ArmorFeature.flexible.effects.flexible.name',
|
||||||
description: 'DAGGERHEART.CONFIG.ArmorFeature.flexible.effects.flexible.description',
|
description: 'DAGGERHEART.CONFIG.ArmorFeature.flexible.effects.flexible.description',
|
||||||
img: 'icons/magic/movement/abstract-ribbons-red-orange.webp',
|
img: 'icons/magic/movement/abstract-ribbons-red-orange.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.evasion',
|
{
|
||||||
mode: 2,
|
key: 'system.evasion',
|
||||||
value: '1'
|
type: 'add',
|
||||||
}
|
value: '1'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -121,13 +127,15 @@ export const armorFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.ArmorFeature.fortified.effects.fortified.name',
|
name: 'DAGGERHEART.CONFIG.ArmorFeature.fortified.effects.fortified.name',
|
||||||
description: 'DAGGERHEART.CONFIG.ArmorFeature.fortified.effects.fortified.description',
|
description: 'DAGGERHEART.CONFIG.ArmorFeature.fortified.effects.fortified.description',
|
||||||
img: 'icons/magic/defensive/shield-barrier-glowing-blue.webp',
|
img: 'icons/magic/defensive/shield-barrier-glowing-blue.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.rules.damageReduction.increasePerArmorMark',
|
{
|
||||||
mode: 5,
|
key: 'system.rules.damageReduction.increasePerArmorMark',
|
||||||
value: '2'
|
type: 'override',
|
||||||
}
|
value: '2'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -139,13 +147,15 @@ export const armorFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.ArmorFeature.gilded.effects.gilded.name',
|
name: 'DAGGERHEART.CONFIG.ArmorFeature.gilded.effects.gilded.name',
|
||||||
description: 'DAGGERHEART.CONFIG.ArmorFeature.gilded.effects.gilded.description',
|
description: 'DAGGERHEART.CONFIG.ArmorFeature.gilded.effects.gilded.description',
|
||||||
img: 'icons/magic/control/control-influence-crown-gold.webp',
|
img: 'icons/magic/control/control-influence-crown-gold.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.traits.presence.value',
|
{
|
||||||
mode: 2,
|
key: 'system.traits.presence.value',
|
||||||
value: '1'
|
type: 'add',
|
||||||
}
|
value: '1'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -157,13 +167,15 @@ export const armorFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.ArmorFeature.heavy.effects.heavy.name',
|
name: 'DAGGERHEART.CONFIG.ArmorFeature.heavy.effects.heavy.name',
|
||||||
description: 'DAGGERHEART.CONFIG.ArmorFeature.heavy.effects.heavy.description',
|
description: 'DAGGERHEART.CONFIG.ArmorFeature.heavy.effects.heavy.description',
|
||||||
img: 'icons/commodities/metal/ingot-worn-iron.webp',
|
img: 'icons/commodities/metal/ingot-worn-iron.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.evasion',
|
{
|
||||||
mode: 2,
|
key: 'system.evasion',
|
||||||
value: '-1'
|
type: 'add',
|
||||||
}
|
value: '-1'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -212,13 +224,15 @@ export const armorFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.ArmorFeature.magical.effects.magical.name',
|
name: 'DAGGERHEART.CONFIG.ArmorFeature.magical.effects.magical.name',
|
||||||
description: 'DAGGERHEART.CONFIG.ArmorFeature.magical.effects.magical.description',
|
description: 'DAGGERHEART.CONFIG.ArmorFeature.magical.effects.magical.description',
|
||||||
img: 'icons/magic/defensive/barrier-shield-dome-blue-purple.webp',
|
img: 'icons/magic/defensive/barrier-shield-dome-blue-purple.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.rules.damageReduction.magical',
|
{
|
||||||
mode: 5,
|
key: 'system.rules.damageReduction.magical',
|
||||||
value: 1
|
type: 'override',
|
||||||
}
|
value: 1
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -249,13 +263,15 @@ export const armorFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.ArmorFeature.physical.effects.physical.name',
|
name: 'DAGGERHEART.CONFIG.ArmorFeature.physical.effects.physical.name',
|
||||||
description: 'DAGGERHEART.CONFIG.ArmorFeature.physical.effects.physical.description',
|
description: 'DAGGERHEART.CONFIG.ArmorFeature.physical.effects.physical.description',
|
||||||
img: 'icons/commodities/stone/ore-pile-tan.webp',
|
img: 'icons/commodities/stone/ore-pile-tan.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.rules.damageReduction.physical',
|
{
|
||||||
mode: 5,
|
key: 'system.rules.damageReduction.physical',
|
||||||
value: 1
|
type: 'override',
|
||||||
}
|
value: 1
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -280,18 +296,20 @@ export const armorFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.ArmorFeature.reinforced.effects.reinforced.name',
|
name: 'DAGGERHEART.CONFIG.ArmorFeature.reinforced.effects.reinforced.name',
|
||||||
description: 'DAGGERHEART.CONFIG.ArmorFeature.reinforced.effects.reinforced.description',
|
description: 'DAGGERHEART.CONFIG.ArmorFeature.reinforced.effects.reinforced.description',
|
||||||
img: 'icons/magic/defensive/shield-barrier-glowing-triangle-green.webp',
|
img: 'icons/magic/defensive/shield-barrier-glowing-triangle-green.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.bunuses.damageThresholds.major',
|
{
|
||||||
mode: 2,
|
key: 'system.bunuses.damageThresholds.major',
|
||||||
value: '2'
|
type: 'add',
|
||||||
},
|
value: '2'
|
||||||
{
|
},
|
||||||
key: 'system.bunuses.damageThresholds.severe',
|
{
|
||||||
mode: 2,
|
key: 'system.bunuses.damageThresholds.severe',
|
||||||
value: '2'
|
type: 'add',
|
||||||
}
|
value: '2'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -326,18 +344,20 @@ export const armorFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.ArmorFeature.sharp.effects.sharp.name',
|
name: 'DAGGERHEART.CONFIG.ArmorFeature.sharp.effects.sharp.name',
|
||||||
description: 'DAGGERHEART.CONFIG.ArmorFeature.sharp.effects.sharp.description',
|
description: 'DAGGERHEART.CONFIG.ArmorFeature.sharp.effects.sharp.description',
|
||||||
img: 'icons/magic/defensive/shield-barrier-glowing-triangle-green.webp',
|
img: 'icons/magic/defensive/shield-barrier-glowing-triangle-green.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.bonuses.damage.primaryWeapon.dice',
|
{
|
||||||
mode: 2,
|
key: 'system.bonuses.damage.primaryWeapon.dice',
|
||||||
value: '1d4'
|
type: 'add',
|
||||||
},
|
value: '1d4'
|
||||||
{
|
},
|
||||||
key: 'system.bonuses.damage.secondaryWeapon.dice',
|
{
|
||||||
mode: 2,
|
key: 'system.bonuses.damage.secondaryWeapon.dice',
|
||||||
value: '1d4'
|
type: 'add',
|
||||||
}
|
value: '1d4'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -408,18 +428,20 @@ export const armorFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.ArmorFeature.veryHeavy.effects.veryHeavy.name',
|
name: 'DAGGERHEART.CONFIG.ArmorFeature.veryHeavy.effects.veryHeavy.name',
|
||||||
description: 'DAGGERHEART.CONFIG.ArmorFeature.veryHeavy.effects.veryHeavy.description',
|
description: 'DAGGERHEART.CONFIG.ArmorFeature.veryHeavy.effects.veryHeavy.description',
|
||||||
img: 'icons/commodities/metal/ingot-stamped-steel.webp',
|
img: 'icons/commodities/metal/ingot-stamped-steel.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.evasion',
|
{
|
||||||
mode: 2,
|
key: 'system.evasion',
|
||||||
value: '-2'
|
type: 'add',
|
||||||
},
|
value: '-2'
|
||||||
{
|
},
|
||||||
key: 'system.traits.agility.value',
|
{
|
||||||
mode: 2,
|
key: 'system.traits.agility.value',
|
||||||
value: '-1'
|
type: 'add',
|
||||||
}
|
value: '-1'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -431,14 +453,16 @@ export const armorFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.ArmorFeature.warded.effects.warded.name',
|
name: 'DAGGERHEART.CONFIG.ArmorFeature.warded.effects.warded.name',
|
||||||
description: 'DAGGERHEART.CONFIG.ArmorFeature.warded.effects.warded.description',
|
description: 'DAGGERHEART.CONFIG.ArmorFeature.warded.effects.warded.description',
|
||||||
img: 'icons/magic/defensive/barrier-shield-dome-pink.webp',
|
img: 'icons/magic/defensive/barrier-shield-dome-pink.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.resistance.magical.reduction',
|
{
|
||||||
mode: 2,
|
key: 'system.resistance.magical.reduction',
|
||||||
value: '@system.armorScore',
|
type: 'add',
|
||||||
priority: 21
|
value: '@system.armorScore',
|
||||||
}
|
priority: 21
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -488,21 +512,23 @@ export const weaponFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.WeaponFeature.barrier.effects.barrier.name',
|
name: 'DAGGERHEART.CONFIG.WeaponFeature.barrier.effects.barrier.name',
|
||||||
description: 'DAGGERHEART.CONFIG.WeaponFeature.barrier.effects.barrier.description',
|
description: 'DAGGERHEART.CONFIG.WeaponFeature.barrier.effects.barrier.description',
|
||||||
img: 'icons/skills/melee/shield-block-bash-blue.webp',
|
img: 'icons/skills/melee/shield-block-bash-blue.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.evasion',
|
{
|
||||||
mode: 2,
|
key: 'system.evasion',
|
||||||
value: '-1'
|
type: 'add',
|
||||||
},
|
value: '-1'
|
||||||
{
|
},
|
||||||
key: 'Armor',
|
{
|
||||||
type: 'armor',
|
key: 'Armor',
|
||||||
typeData: {
|
|
||||||
type: 'armor',
|
type: 'armor',
|
||||||
max: 'ITEM.@system.tier + 1'
|
typeData: {
|
||||||
|
type: 'armor',
|
||||||
|
max: 'ITEM.@system.tier + 1'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
]
|
||||||
]
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -514,13 +540,15 @@ export const weaponFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.WeaponFeature.bonded.effects.damage.name',
|
name: 'DAGGERHEART.CONFIG.WeaponFeature.bonded.effects.damage.name',
|
||||||
description: 'DAGGERHEART.CONFIG.WeaponFeature.bonded.effects.damage.description',
|
description: 'DAGGERHEART.CONFIG.WeaponFeature.bonded.effects.damage.description',
|
||||||
img: 'icons/magic/symbols/chevron-elipse-circle-blue.webp',
|
img: 'icons/magic/symbols/chevron-elipse-circle-blue.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.bonuses.damage.primaryWeapon.bonus',
|
{
|
||||||
mode: 2,
|
key: 'system.bonuses.damage.primaryWeapon.bonus',
|
||||||
value: '@system.levelData.level.current'
|
type: 'add',
|
||||||
}
|
value: '@system.levelData.level.current'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -553,18 +581,20 @@ export const weaponFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.WeaponFeature.brave.effects.brave.name',
|
name: 'DAGGERHEART.CONFIG.WeaponFeature.brave.effects.brave.name',
|
||||||
description: 'DAGGERHEART.CONFIG.WeaponFeature.brave.effects.brave.description',
|
description: 'DAGGERHEART.CONFIG.WeaponFeature.brave.effects.brave.description',
|
||||||
img: 'icons/magic/life/heart-cross-strong-flame-purple-orange.webp',
|
img: 'icons/magic/life/heart-cross-strong-flame-purple-orange.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.evasion',
|
{
|
||||||
mode: 2,
|
key: 'system.evasion',
|
||||||
value: '-1'
|
type: 'add',
|
||||||
},
|
value: '-1'
|
||||||
{
|
},
|
||||||
key: 'system.damageThresholds.severe',
|
{
|
||||||
mode: 2,
|
key: 'system.damageThresholds.severe',
|
||||||
value: 'ITEM.@system.tier'
|
type: 'add',
|
||||||
}
|
value: 'ITEM.@system.tier'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -618,13 +648,15 @@ export const weaponFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.WeaponFeature.charged.name',
|
name: 'DAGGERHEART.CONFIG.WeaponFeature.charged.name',
|
||||||
description: 'DAGGERHEART.CONFIG.WeaponFeature.charged.description',
|
description: 'DAGGERHEART.CONFIG.WeaponFeature.charged.description',
|
||||||
img: 'icons/magic/lightning/claws-unarmed-strike-teal.webp',
|
img: 'icons/magic/lightning/claws-unarmed-strike-teal.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.proficiency',
|
{
|
||||||
mode: 2,
|
key: 'system.proficiency',
|
||||||
value: '1'
|
type: 'add',
|
||||||
}
|
value: '1'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -660,13 +692,15 @@ export const weaponFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.WeaponFeature.cumbersome.effects.cumbersome.name',
|
name: 'DAGGERHEART.CONFIG.WeaponFeature.cumbersome.effects.cumbersome.name',
|
||||||
description: 'DAGGERHEART.CONFIG.WeaponFeature.cumbersome.effects.cumbersome.description',
|
description: 'DAGGERHEART.CONFIG.WeaponFeature.cumbersome.effects.cumbersome.description',
|
||||||
img: 'icons/commodities/metal/mail-plate-steel.webp',
|
img: 'icons/commodities/metal/mail-plate-steel.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.traits.finesse.value',
|
{
|
||||||
mode: 2,
|
key: 'system.traits.finesse.value',
|
||||||
value: '-1'
|
type: 'add',
|
||||||
}
|
value: '-1'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -707,14 +741,16 @@ export const weaponFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.WeaponFeature.deflecting.effects.deflecting.name',
|
name: 'DAGGERHEART.CONFIG.WeaponFeature.deflecting.effects.deflecting.name',
|
||||||
description: 'DAGGERHEART.CONFIG.WeaponFeature.deflecting.effects.deflecting.description',
|
description: 'DAGGERHEART.CONFIG.WeaponFeature.deflecting.effects.deflecting.description',
|
||||||
img: 'icons/skills/melee/hand-grip-sword-strike-orange.webp',
|
img: 'icons/skills/melee/hand-grip-sword-strike-orange.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.evasion',
|
{
|
||||||
mode: 2,
|
key: 'system.evasion',
|
||||||
value: '@system.armorScore',
|
type: 'add',
|
||||||
priority: 21
|
value: '@system.armorScore',
|
||||||
}
|
priority: 21
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -754,13 +790,15 @@ export const weaponFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.WeaponFeature.destructive.name',
|
name: 'DAGGERHEART.CONFIG.WeaponFeature.destructive.name',
|
||||||
description: 'DAGGERHEART.CONFIG.WeaponFeature.destructive.effects.agility',
|
description: 'DAGGERHEART.CONFIG.WeaponFeature.destructive.effects.agility',
|
||||||
img: 'icons/skills/melee/strike-flail-spiked-pink.webp',
|
img: 'icons/skills/melee/strike-flail-spiked-pink.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.traits.agility.value',
|
{
|
||||||
mode: 2,
|
key: 'system.traits.agility.value',
|
||||||
value: '-1'
|
type: 'add',
|
||||||
}
|
value: '-1'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -795,7 +833,7 @@ export const weaponFeatures = {
|
||||||
changes: [
|
changes: [
|
||||||
{
|
{
|
||||||
key: 'system.bonuses.damage.primaryWeapon.bonus',
|
key: 'system.bonuses.damage.primaryWeapon.bonus',
|
||||||
mode: 2,
|
type: 'add',
|
||||||
value: '1'
|
value: '1'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
@ -902,13 +940,15 @@ export const weaponFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.WeaponFeature.greedy.actions.greed.name',
|
name: 'DAGGERHEART.CONFIG.WeaponFeature.greedy.actions.greed.name',
|
||||||
description: 'DAGGERHEART.CONFIG.WeaponFeature.greedy.actions.greed.description',
|
description: 'DAGGERHEART.CONFIG.WeaponFeature.greedy.actions.greed.description',
|
||||||
img: 'icons/commodities/currency/coins-crown-stack-gold.webp',
|
img: 'icons/commodities/currency/coins-crown-stack-gold.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.proficiency',
|
{
|
||||||
mode: 2,
|
key: 'system.proficiency',
|
||||||
value: '1'
|
type: 'add',
|
||||||
}
|
value: '1'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -951,13 +991,15 @@ export const weaponFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.WeaponFeature.heavy.effects.heavy.name',
|
name: 'DAGGERHEART.CONFIG.WeaponFeature.heavy.effects.heavy.name',
|
||||||
description: 'DAGGERHEART.CONFIG.WeaponFeature.heavy.effects.heavy.description',
|
description: 'DAGGERHEART.CONFIG.WeaponFeature.heavy.effects.heavy.description',
|
||||||
img: 'icons/commodities/metal/ingot-worn-iron.webp',
|
img: 'icons/commodities/metal/ingot-worn-iron.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.evasion',
|
{
|
||||||
mode: 2,
|
key: 'system.evasion',
|
||||||
value: '-1'
|
type: 'add',
|
||||||
}
|
value: '-1'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -1066,13 +1108,15 @@ export const weaponFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.WeaponFeature.massive.effects.massive.name',
|
name: 'DAGGERHEART.CONFIG.WeaponFeature.massive.effects.massive.name',
|
||||||
description: 'DAGGERHEART.CONFIG.WeaponFeature.massive.effects.massive.description',
|
description: 'DAGGERHEART.CONFIG.WeaponFeature.massive.effects.massive.description',
|
||||||
img: 'icons/skills/melee/strike-flail-destructive-yellow.webp',
|
img: 'icons/skills/melee/strike-flail-destructive-yellow.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.evasion',
|
{
|
||||||
mode: 2,
|
key: 'system.evasion',
|
||||||
value: '-1'
|
type: 'add',
|
||||||
}
|
value: '-1'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -1107,7 +1151,7 @@ export const weaponFeatures = {
|
||||||
changes: [
|
changes: [
|
||||||
{
|
{
|
||||||
key: 'system.bonuses.damage.primaryWeapon.bonus',
|
key: 'system.bonuses.damage.primaryWeapon.bonus',
|
||||||
mode: 2,
|
type: 'add',
|
||||||
value: 'ITEM.@system.tier + 1'
|
value: 'ITEM.@system.tier + 1'
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
|
@ -1158,13 +1202,15 @@ export const weaponFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.WeaponFeature.persuasive.effects.persuasive.name',
|
name: 'DAGGERHEART.CONFIG.WeaponFeature.persuasive.effects.persuasive.name',
|
||||||
description: 'DAGGERHEART.CONFIG.WeaponFeature.persuasive.effects.persuasive.description',
|
description: 'DAGGERHEART.CONFIG.WeaponFeature.persuasive.effects.persuasive.description',
|
||||||
img: 'icons/magic/control/hypnosis-mesmerism-eye.webp',
|
img: 'icons/magic/control/hypnosis-mesmerism-eye.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.traits.presence.value',
|
{
|
||||||
mode: 2,
|
key: 'system.traits.presence.value',
|
||||||
value: '2'
|
type: 'add',
|
||||||
}
|
value: '2'
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -1203,17 +1249,20 @@ export const weaponFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.WeaponFeature.protective.effects.protective.name',
|
name: 'DAGGERHEART.CONFIG.WeaponFeature.protective.effects.protective.name',
|
||||||
description: 'DAGGERHEART.CONFIG.WeaponFeature.protective.effects.protective.description',
|
description: 'DAGGERHEART.CONFIG.WeaponFeature.protective.effects.protective.description',
|
||||||
img: 'icons/skills/melee/shield-block-gray-orange.webp',
|
img: 'icons/skills/melee/shield-block-gray-orange.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'Armor',
|
{
|
||||||
type: 'armor',
|
key: 'Armor',
|
||||||
value: 0,
|
|
||||||
typeData: {
|
|
||||||
type: 'armor',
|
type: 'armor',
|
||||||
max: 'ITEM.@system.tier'
|
value: 0,
|
||||||
|
typeData: {
|
||||||
|
type: 'armor',
|
||||||
|
max: 'ITEM.@system.tier'
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
]
|
||||||
]
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -1244,13 +1293,15 @@ export const weaponFeatures = {
|
||||||
name: 'DAGGERHEART.CONFIG.WeaponFeature.reliable.effects.reliable.name',
|
name: 'DAGGERHEART.CONFIG.WeaponFeature.reliable.effects.reliable.name',
|
||||||
description: 'DAGGERHEART.CONFIG.WeaponFeature.reliable.effects.reliable.description',
|
description: 'DAGGERHEART.CONFIG.WeaponFeature.reliable.effects.reliable.description',
|
||||||
img: 'icons/skills/melee/strike-sword-slashing-red.webp',
|
img: 'icons/skills/melee/strike-sword-slashing-red.webp',
|
||||||
changes: [
|
system: {
|
||||||
{
|
changes: [
|
||||||
key: 'system.bonuses.roll.primaryWeapon.bonus',
|
{
|
||||||
mode: 2,
|
key: 'system.bonuses.roll.primaryWeapon.bonus',
|
||||||
value: 1
|
type: 'add',
|
||||||
}
|
value: 1
|
||||||
]
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -1341,7 +1392,7 @@ export const weaponFeatures = {
|
||||||
changes: [
|
changes: [
|
||||||
{
|
{
|
||||||
key: 'system.bonuses.damage.primaryWeapon.bonus',
|
key: 'system.bonuses.damage.primaryWeapon.bonus',
|
||||||
mode: 2,
|
type: 'add',
|
||||||
value: '@system.traits.agility.value',
|
value: '@system.traits.agility.value',
|
||||||
priority: 21
|
priority: 21
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue