powers appv2 updates (dialog)
This commit is contained in:
parent
be74c79b35
commit
669c3799a0
@ -346,7 +346,7 @@ export async function powerEffectsMenu(options = {}) {
|
||||
action: 'submit',
|
||||
label: 'Choose Power',
|
||||
default: true,
|
||||
callback: (event, button, dialog) => new FormDataExtended(button.form),
|
||||
callback: (event, button, dialog) => new foundry.applications.ux.FormDataExtended(button.form),
|
||||
},
|
||||
{ action: 'cancel', label: 'Cancel' },
|
||||
],
|
||||
|
||||
@ -168,7 +168,7 @@ class BaseAllyEffect extends BaseSummonEffect {
|
||||
{
|
||||
action: 'submit',
|
||||
label: 'Submit',
|
||||
callback: (event, button, dialog) => new FormDataExtended(button.form),
|
||||
callback: (event, button, dialog) => new foundry.applications.ux.FormDataExtended(button.form).object,
|
||||
},
|
||||
{ action: 'cancel', label: 'Cancel' },
|
||||
],
|
||||
|
||||
@ -169,12 +169,12 @@ export class ZombieEffect extends BaseSummonEffect {
|
||||
{
|
||||
action: 'submit',
|
||||
label: 'Submit',
|
||||
callback: (event, button, dialog) => new FormDataExtended(button.form),
|
||||
callback: (event, button, dialog) => new foundry.applications.ux.FormDataExtended(button.form),
|
||||
},
|
||||
{ action: 'cancel', label: 'cancel' },
|
||||
],
|
||||
});
|
||||
const key = formData.trait;
|
||||
const key = formData.object.trait;
|
||||
this.data.primaryEffectChanges.push({
|
||||
mode: CONST.ACTIVE_EFFECT_MODES.ADD,
|
||||
value: 2,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user