Fix action for items (#135)

This commit is contained in:
Dapoulp 2025-06-13 23:59:20 +02:00 committed by GitHub
parent 187ee3e1bd
commit b7ea925276
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 11 additions and 5 deletions

View file

@ -1,4 +1,5 @@
import BaseDataItem from './base.mjs';
import ActionField from '../fields/actionField.mjs';
export default class DHArmor extends BaseDataItem {
/** @inheritDoc */
@ -27,6 +28,7 @@ export default class DHArmor extends BaseDataItem {
major: new fields.NumberField({ integer: true, initial: 0 }),
severe: new fields.NumberField({ integer: true, initial: 0 })
}),
actions: new fields.ArrayField(new ActionField())
};
}