This commit is contained in:
Dapoolp 2025-07-07 00:52:26 +02:00
parent ee4a5d17a6
commit e311829b0c
7 changed files with 53 additions and 8 deletions

View file

@ -49,6 +49,30 @@ export default class DHWeapon extends BaseDataItem {
actionIds: new fields.ArrayField(new fields.StringField({ required: true }))
})
),
attack: new ActionField({
initial: {
name: 'Attack',
img: 'icons/skills/melee/blood-slash-foam-red.webp',
_id: foundry.utils.randomID(),
systemPath: 'attack',
type: 'attack',
range: 'melee',
target: {
type: 'any',
amount: 1
},
roll: {
type: 'weapon'
},
damage: {
parts: [
{
multiplier: 'prof'
}
]
}
}
}),
actions: new fields.ArrayField(new ActionField())
};
}