Add a generic ActiveEffect class + proxy
This commit is contained in:
parent
8aff8b0fda
commit
cfaed0d230
3 changed files with 51 additions and 0 deletions
|
|
@ -10,6 +10,7 @@ import { SyncData } from "./models/Actor/Sync.mjs";
|
|||
import { MobData } from "./models/Actor/Mob.mjs";
|
||||
|
||||
// Main Documents
|
||||
import { ActiveEffectProxy } from "./documents/ActiveEffect/_proxy.mjs";
|
||||
import { ActorProxy } from "./documents/Actor/_proxy.mjs";
|
||||
import { ItemProxy } from "./documents/Item/_proxy.mjs";
|
||||
|
||||
|
|
@ -55,6 +56,7 @@ Hooks.once(`init`, async () => {
|
|||
CONFIG.Item.dataModels.pet = PetItemData;
|
||||
CONFIG.Actor.documentClass = ActorProxy;
|
||||
CONFIG.Item.documentClass = ItemProxy;
|
||||
CONFIG.ActiveEffect.documentClass = ActiveEffectProxy;
|
||||
|
||||
CONFIG.DOTDUNGEON = DOTDUNGEON;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue