mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 19:51:08 +01:00
* Small random fixes * Added use of ItemLinkFields * Multiclass levelup fixes * Fixed our onCreate methods unintentionally being run on all clients * Remade apps handling * Added for all class items and subclass * Restored foreignDocumentUuidField * Improved * PR fxies * Fixed tooltip enrichment * . * Reverted silly change
16 lines
370 B
JavaScript
16 lines
370 B
JavaScript
const fields = foundry.data.fields;
|
|
|
|
export default class RangeField extends fields.StringField {
|
|
constructor(context = {}) {
|
|
const options = {
|
|
choices: CONFIG.DH.GENERAL.range,
|
|
required: false,
|
|
blank: true
|
|
};
|
|
super(options, context);
|
|
}
|
|
|
|
static prepareConfig(config) {
|
|
return true;
|
|
}
|
|
}
|