mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-18 07:59:03 +01:00
.
This commit is contained in:
parent
e22d086990
commit
6b98c19742
3 changed files with 28 additions and 4 deletions
|
|
@ -1273,6 +1273,12 @@
|
||||||
"name": "Paired",
|
"name": "Paired",
|
||||||
"description": "Add your character's Tier + 1 to primary weapon damage against targets within Melee range"
|
"description": "Add your character's Tier + 1 to primary weapon damage against targets within Melee range"
|
||||||
}
|
}
|
||||||
|
},
|
||||||
|
"effects": {
|
||||||
|
"paired": {
|
||||||
|
"name": "Paired",
|
||||||
|
"description": "Add your character's Tier + 1 to primary weapon damage against targets within Melee range"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"parry": {
|
"parry": {
|
||||||
|
|
|
||||||
|
|
@ -413,7 +413,7 @@ 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/strike-sword-slashing-red.webp',
|
img: 'icons/skills/melee/shield-block-bash-blue.webp',
|
||||||
changes: [
|
changes: [
|
||||||
{
|
{
|
||||||
key: 'system.armorScore',
|
key: 'system.armorScore',
|
||||||
|
|
@ -1017,7 +1017,21 @@ export const weaponFeatures = {
|
||||||
chatDisplay: true,
|
chatDisplay: true,
|
||||||
name: 'DAGGERHEART.CONFIG.WeaponFeature.paired.actions.paired.name',
|
name: 'DAGGERHEART.CONFIG.WeaponFeature.paired.actions.paired.name',
|
||||||
description: 'DAGGERHEART.CONFIG.WeaponFeature.paired.actions.paired.description',
|
description: 'DAGGERHEART.CONFIG.WeaponFeature.paired.actions.paired.description',
|
||||||
img: 'icons/skills/melee/weapons-crossed-swords-yellow-teal.webp'
|
img: 'icons/skills/melee/weapons-crossed-swords-yellow-teal.webp',
|
||||||
|
effects: [
|
||||||
|
{
|
||||||
|
name: 'DAGGERHEART.CONFIG.WeaponFeature.paired.effects.paired.name',
|
||||||
|
description: 'DAGGERHEART.CONFIG.WeaponFeature.paired.effects.paired.description',
|
||||||
|
img: 'icons/skills/melee/weapons-crossed-swords-yellow-teal.webp',
|
||||||
|
changes: [
|
||||||
|
{
|
||||||
|
key: 'system.bonuses.damage.primaryWeapon.bonus',
|
||||||
|
mode: 2,
|
||||||
|
value: '1 + ITEM.@system.tier'
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
]
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
|
|
@ -1121,7 +1135,7 @@ export const weaponFeatures = {
|
||||||
{
|
{
|
||||||
key: 'system.armorScore',
|
key: 'system.armorScore',
|
||||||
mode: 2,
|
mode: 2,
|
||||||
value: '1'
|
value: 'ITEM.@system.tier'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
@ -1294,7 +1308,7 @@ export const weaponFeatures = {
|
||||||
description: 'DAGGERHEART.CONFIG.WeaponFeature.startling.description',
|
description: 'DAGGERHEART.CONFIG.WeaponFeature.startling.description',
|
||||||
actions: [
|
actions: [
|
||||||
{
|
{
|
||||||
type: 'resource',
|
type: 'effect',
|
||||||
actionType: 'action',
|
actionType: 'action',
|
||||||
chatDisplay: true,
|
chatDisplay: true,
|
||||||
name: 'DAGGERHEART.CONFIG.WeaponFeature.startling.actions.startle.name',
|
name: 'DAGGERHEART.CONFIG.WeaponFeature.startling.actions.startle.name',
|
||||||
|
|
|
||||||
|
|
@ -141,6 +141,10 @@ export default class DHWeapon extends AttachableItem {
|
||||||
description: game.i18n.localize(effect.description)
|
description: game.i18n.localize(effect.description)
|
||||||
}))
|
}))
|
||||||
);
|
);
|
||||||
|
weaponFeature.effectIds = [
|
||||||
|
...(weaponFeature.effectIds ?? []),
|
||||||
|
...embeddedEffects.map(x => x.id)
|
||||||
|
];
|
||||||
|
|
||||||
const cls = game.system.api.models.actions.actionsTypes[action.type];
|
const cls = game.system.api.models.actions.actionsTypes[action.type];
|
||||||
const actionId = foundry.utils.randomID();
|
const actionId = foundry.utils.randomID();
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue