mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-19 08:20:30 +01:00
Action Refactor Part #2
This commit is contained in:
parent
479e147640
commit
9da6a13009
20 changed files with 324 additions and 340 deletions
|
|
@ -1,7 +1,7 @@
|
|||
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) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue