mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 03:31:07 +01:00
* Improved Character datamodel * Removed additional unneccessary getters * Preliminary cleanup in the class sheet * Cleanup of 'pc' references * Corrected Duality rolling from Character * Fix to damage roll
16 lines
601 B
JavaScript
16 lines
601 B
JavaScript
export default class DhVariantRules extends foundry.abstract.DataModel {
|
|
static LOCALIZATION_PREFIXES = ['DAGGERHEART.Settings.VariantRules'];
|
|
|
|
static defineSchema() {
|
|
const fields = foundry.data.fields;
|
|
return {
|
|
actionTokens: new fields.SchemaField({
|
|
enabled: new fields.BooleanField({ required: true, initial: false }),
|
|
tokens: new fields.NumberField({ required: true, integer: true, initial: 3 })
|
|
}),
|
|
useCoins: new fields.BooleanField({ initial: false })
|
|
};
|
|
}
|
|
|
|
static defaultSchema = {};
|
|
}
|