Added ability to remove condition from actor sheet + journal on click.

This commit is contained in:
Vlyan
2025-09-04 13:18:17 +02:00
parent 1357ec9b6d
commit eb675f24ea
12 changed files with 390 additions and 47 deletions

View File

@@ -1,6 +1,15 @@
import { L5r5eHtmlMultiSelectElement } from "./misc/l5r5e-multiselect.js";
export default class HooksL5r5e {
/**
* Do initialization
*/
static async init() {
// Replace all foundry conditions with L5R conditions only
CONFIG.statusEffects = CONFIG.l5r5e.conditions;
// CONFIG.statusEffects.push(...CONFIG.l5r5e.conditions);
}
/**
* Do anything after initialization but before ready
*/
@@ -14,10 +23,6 @@ export default class HooksL5r5e {
}
}
static async init() {
CONFIG.statusEffects = CONFIG.l5r5e.conditions
}
/**
* Do anything once the system is ready
*/