Feat: add massive and powerful feature on weapon

This commit is contained in:
Cyril ALFARO 2025-07-29 03:24:29 +02:00
parent 4defe69c21
commit 952551ac83
2 changed files with 17 additions and 27 deletions

View file

@ -946,14 +946,9 @@ export const weaponFeatures = {
value: '-1'
},
{
key: 'system.bonuses.damage.primaryWeapon.extraDice',
key: 'system.bonuses.damage.primaryWeapon.addDiceAndDiscardLowest',
mode: 2,
value: '1'
},
{
key: 'system.rules.weapon.dropLowestDamageDice',
mode: 5,
value: '1'
value: true
}
]
}
@ -1048,31 +1043,16 @@ export const weaponFeatures = {
powerful: {
label: 'DAGGERHEART.CONFIG.WeaponFeature.powerful.name',
description: 'DAGGERHEART.CONFIG.WeaponFeature.powerful.description',
actions: [
effects: [
{
type: 'effect',
actionType: 'action',
chatDisplay: true,
name: 'DAGGERHEART.CONFIG.WeaponFeature.powerful.name',
description: 'DAGGERHEART.CONFIG.WeaponFeature.powerful.description',
img: 'icons/magic/control/buff-flight-wings-runes-red-yellow.webp',
effects: [
changes: [
{
name: 'DAGGERHEART.CONFIG.WeaponFeature.powerful.name',
description: 'DAGGERHEART.CONFIG.WeaponFeature.powerful.description',
img: 'icons/magic/control/buff-flight-wings-runes-red-yellow.webp',
changes: [
{
key: 'system.bonuses.damage.primaryWeapon.extraDice',
mode: 2,
value: '1'
},
{
key: 'system.rules.weapon.dropLowestDamageDice',
mode: 5,
value: '1'
}
]
key: 'system.bonuses.damage.primaryWeapon.addDiceAndDiscardLowest',
mode: 2,
value: true
}
]
}