Changed experience schema field name from 'modifier' to 'total' to match useage in Character and Companion

This commit is contained in:
WBHarry 2025-07-08 01:52:37 +02:00
parent 87b3677956
commit 80a5f0cecf
4 changed files with 5 additions and 7 deletions

View file

@ -92,9 +92,7 @@ export default class AdversarySheet extends DHBaseActorSheet {
const cls = getDocumentClass('ChatMessage');
const systemData = {
name: game.i18n.localize('DAGGERHEART.GENERAL.Experience.single'),
description: `${experience.name} ${
experience.modifier < 0 ? experience.modifier : `+${experience.modifier}`
}`
description: `${experience.name} ${experience.total < 0 ? experience.total : `+${experience.total}`}`
};
const msg = new cls({
type: 'abilityUse',