mirror of
https://github.com/Foundryborne/daggerheart.git
synced 2026-01-12 11:41:08 +01:00
286 - Adversary Experience Value Bug (#293)
* Changed experience schema field name from 'modifier' to 'total' to match useage in Character and Companion * Using 'signedString()'
This commit is contained in:
parent
87b3677956
commit
5aa9ba661a
4 changed files with 5 additions and 7 deletions
|
|
@ -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.signedString()}`
|
||||
};
|
||||
const msg = new cls({
|
||||
type: 'abilityUse',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue