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