Merged with main

This commit is contained in:
WBHarry 2025-07-25 01:15:55 +02:00
commit 4094e97e5f
52 changed files with 996 additions and 744 deletions

View file

@ -1,10 +1,10 @@
import DHBaseAction from './baseAction.mjs';
export default class DHEffectAction extends DHBaseAction {
static extraSchemas = ['effects', 'target'];
static extraSchemas = [...super.extraSchemas, 'effects', 'target'];
async trigger(event, data) {
if(this.effects.length) {
if (this.effects.length) {
const cls = getDocumentClass('ChatMessage'),
msg = {
type: 'applyEffect',