Fixed to use Foundry's measuring instead.

This commit is contained in:
WBHarry 2025-07-29 17:59:32 +02:00
parent b80f598625
commit 9baaa0c01f
6 changed files with 28 additions and 82 deletions

View file

@ -11,8 +11,8 @@ export default class BaseEffect extends foundry.abstract.TypeDataModel {
}),
type: new fields.StringField({
required: true,
choices: CONFIG.DH.GENERAL.compareOperator,
initial: CONFIG.DH.GENERAL.compareOperator.lessThanEqual.id,
choices: CONFIG.DH.GENERAL.rangeInclusion,
initial: CONFIG.DH.GENERAL.rangeInclusion.withinRange.id,
label: 'DAGGERHEART.GENERAL.type'
}),
target: new fields.StringField({