mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-19 16:24:06 +01:00
Merged with main
This commit is contained in:
commit
4094e97e5f
52 changed files with 996 additions and 744 deletions
16
module/data/fields/action/rangeField.mjs
Normal file
16
module/data/fields/action/rangeField.mjs
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
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;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue