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