daggerheart/module/data/combatant.mjs
WBHarry aa8fe6a7a1
Combat and CombatTracker (#108)
* Added Combat and CombatTracker

* Some cleneaup

* Fixing and cleaning up

* Added categories for combatants

* Style improvements

* Layout change
2025-06-07 00:06:54 +02:00

11 lines
430 B
JavaScript

export default class DhCombatant extends foundry.abstract.TypeDataModel {
static defineSchema() {
const fields = foundry.data.fields;
return {
spotlight: new fields.SchemaField({
requesting: new fields.BooleanField({ required: true, initial: false })
}),
actionTokens: new fields.NumberField({ required: true, integer: true, initial: 3 })
};
}
}