mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
219-fix weapon action damage and display of calculation. (#250)
* fix weapon action damage and display of calculation. * modify weapon data to split formula. * remove unused field
This commit is contained in:
parent
122621a57a
commit
c4448226e0
11 changed files with 36 additions and 29 deletions
|
|
@ -32,7 +32,8 @@ export default class DHWeapon extends BaseDataItem {
|
|||
burden: new fields.StringField({ required: true, choices: SYSTEM.GENERAL.burden, initial: 'oneHanded' }),
|
||||
//DAMAGE
|
||||
damage: new fields.SchemaField({
|
||||
value: new FormulaField({ initial: 'd6' }),
|
||||
dice: new fields.StringField({ choices: SYSTEM.GENERAL.diceTypes, initial: 'd6' }),
|
||||
bonus: new fields.NumberField({ nullable: true, initial: null }),
|
||||
type: new fields.StringField({
|
||||
required: true,
|
||||
choices: SYSTEM.GENERAL.damageTypes,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue