RC-42 | Weapon | Damage

This commit is contained in:
Oliver-Akins 2024-12-25 22:16:08 -07:00
parent 0e9218fbd3
commit b578ecb10d
2 changed files with 16 additions and 1 deletions

View file

@ -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 }),
};
};