mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +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>
11 lines
No EOL
362 B
JavaScript
11 lines
No EOL
362 B
JavaScript
const fields = foundry.data.fields;
|
|
|
|
export default class EffectsField extends fields.ArrayField {
|
|
constructor(options={}, context={}) {
|
|
const element = new fields.SchemaField({
|
|
_id: new fields.DocumentIdField(),
|
|
onSave: new fields.BooleanField({ initial: false })
|
|
});
|
|
super(element, options, context);
|
|
}
|
|
} |