mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-03-10 19:17:09 +01:00
Merge branch 'v14-Dev' into feature/1354-Armor-Effect
This commit is contained in:
commit
420d436bb1
2 changed files with 6 additions and 1 deletions
|
|
@ -86,7 +86,7 @@ export default class DHContextMenu extends foundry.applications.ux.ContextMenu {
|
||||||
const element = event.target.closest('.context-item');
|
const element = event.target.closest('.context-item');
|
||||||
if (!element) return;
|
if (!element) return;
|
||||||
const item = this.menuItems.find(i => i.element === element);
|
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();
|
this.close();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -875,6 +875,11 @@ export const activeEffectModes = {
|
||||||
priority: 20,
|
priority: 20,
|
||||||
label: 'EFFECT.CHANGES.TYPES.add'
|
label: 'EFFECT.CHANGES.TYPES.add'
|
||||||
},
|
},
|
||||||
|
subtract: {
|
||||||
|
id: 'subtract',
|
||||||
|
priority: 20,
|
||||||
|
label: 'EFFECT.CHANGES.TYPES.subtract'
|
||||||
|
},
|
||||||
downgrade: {
|
downgrade: {
|
||||||
id: 'downgrade',
|
id: 'downgrade',
|
||||||
priority: 30,
|
priority: 30,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue