Add the possibility to reference actor properties in the values of effects
Additionally, this also adds the possibility to do math inside the values of effects. All math functions that are available for rolls are also available here.
This commit is contained in:
parent
3b75b17c99
commit
844744e4dc
2 changed files with 26 additions and 0 deletions
|
@ -4,6 +4,7 @@
|
|||
//
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
import { DS4ActiveEffect } from "../active-effect";
|
||||
import { DS4Actor } from "../actor/actor";
|
||||
import { DS4CharacterActorSheet } from "../actor/sheets/character-sheet";
|
||||
import { DS4CreatureActorSheet } from "../actor/sheets/creature-sheet";
|
||||
|
@ -43,6 +44,7 @@ async function init() {
|
|||
|
||||
CONFIG.Actor.documentClass = DS4Actor;
|
||||
CONFIG.Item.documentClass = DS4Item;
|
||||
CONFIG.ActiveEffect.documentClass = DS4ActiveEffect;
|
||||
|
||||
CONFIG.Actor.typeLabels = DS4.i18n.actorTypes;
|
||||
CONFIG.Item.typeLabels = DS4.i18n.itemTypes;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue