Add checkboxes

This commit is contained in:
Dapoolp 2025-08-02 21:50:15 +02:00
parent 73a19fc0bb
commit 0f0cb0a53b
5 changed files with 9 additions and 2 deletions

View file

@ -11,7 +11,8 @@ export default class CostField extends fields.ArrayField {
keyIsID: new fields.BooleanField(),
value: new fields.NumberField({ nullable: true, initial: 1 }),
scalable: new fields.BooleanField({ initial: false }),
step: new fields.NumberField({ nullable: true, initial: null })
step: new fields.NumberField({ nullable: true, initial: null }),
consumeOnSuccess: new fields.BooleanField({ initial: false, label: "DAGGERHEART.ACTIONS.Settings.consumeOnSuccess.label" })
});
super(element, options, context);
}