Merge branch 'v14-Dev' into feature/1354-Armor-Effect

This commit is contained in:
WBHarry 2026-03-07 22:27:17 +01:00
commit 420d436bb1
2 changed files with 6 additions and 1 deletions

View file

@ -86,7 +86,7 @@ export default class DHContextMenu extends foundry.applications.ux.ContextMenu {
const element = event.target.closest('.context-item');
if (!element) return;
const item = this.menuItems.find(i => i.element === element);
item?.callback(this.#jQuery ? $(this.target) : this.target, event);
item?.onClick(event, this.#jQuery ? $(this.target) : this.target);
this.close();
}

View file

@ -875,6 +875,11 @@ export const activeEffectModes = {
priority: 20,
label: 'EFFECT.CHANGES.TYPES.add'
},
subtract: {
id: 'subtract',
priority: 20,
label: 'EFFECT.CHANGES.TYPES.subtract'
},
downgrade: {
id: 'downgrade',
priority: 30,