RC-42 | Weapon | Damage
This commit is contained in:
parent
0e9218fbd3
commit
b578ecb10d
2 changed files with 16 additions and 1 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import { optionalInteger } from "../helpers.mjs";
|
||||
import { optionalInteger, requiredInteger } from "../helpers.mjs";
|
||||
|
||||
const { fields } = foundry.data;
|
||||
|
||||
|
|
@ -20,6 +20,7 @@ export class WeaponData extends foundry.abstract.TypeDataModel {
|
|||
short: optionalInteger(),
|
||||
long: optionalInteger(),
|
||||
}),
|
||||
damage: requiredInteger({ min: 0, initial: 0 }),
|
||||
};
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue