RC-21 | Hero | Guts Data

This commit is contained in:
Oliver-Akins 2024-12-24 21:19:52 -07:00
parent 9f0fea1467
commit 4406531713
2 changed files with 22 additions and 0 deletions

View file

@ -1,3 +1,4 @@
import { barAttribute } from "../helpers.mjs";
import { gameTerms } from "../../gameTerms.mjs";
const { fields } = foundry.data;
@ -35,6 +36,7 @@ export class HeroData extends foundry.abstract.TypeDataModel {
nullable: false,
}),
}),
guts: barAttribute(0, 5),
coin: new fields.SchemaField({
gold: new fields.NumberField({
initial: 5,