Fixed multiclass feature/item linking

This commit is contained in:
WBHarry 2025-07-23 19:24:57 +02:00
parent 92f55db564
commit 2b5d04abef
4 changed files with 20 additions and 9 deletions

View file

@ -349,8 +349,8 @@ export default class DhCharacterLevelUp extends LevelUpBase {
if (!acc) acc = {};
acc[traitKey] = {
label: game.i18n.localize(abilities[traitKey].label),
old: this.actor.system.traits[traitKey].max,
new: this.actor.system.traits[traitKey].max + advancement.trait[traitKey]
old: this.actor.system.traits[traitKey].value,
new: this.actor.system.traits[traitKey].value + advancement.trait[traitKey]
};
}
return acc;