This commit is contained in:
WBHarry 2025-12-23 00:39:26 +01:00
parent 15ebbacfbc
commit 9f7c79e241
2 changed files with 12 additions and 2 deletions

View file

@ -359,7 +359,12 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2)
if (experienceIncreaseTagify) {
const allExperiences = {
...this.actor.system.experiences,
...this.levelup.levels[this.levelup.currentLevel].achievements.experiences
...Object.values(this.levelup.levels).reduce((acc, level) => {
Object.keys(level.achievements.experiences).forEach(
x => (acc[x] = level.achievements.experiences[x])
);
return acc;
}, {})
};
tagifyElement(
experienceIncreaseTagify,