mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-11 19:25:21 +01:00
* Action Refactor Part #1 * Fixed Weapon/Armor features. Fixed Feature actions * f * Action Refactor Part #2 * Fixes * Remove ActionsField from Companion * Fixes * Localization fix * BaseDataItem hasActions false --------- Co-authored-by: WBHarry <williambjrklund@gmail.com>
16 lines
No EOL
367 B
JavaScript
16 lines
No EOL
367 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;
|
|
}
|
|
} |