Bugfix - Companion Levelup Features (#303)

* Fixed so that features gained from companion levleup are granted properly to its partner

* Fixed localization error I noticed
This commit is contained in:
WBHarry 2025-07-09 02:18:26 +02:00 committed by GitHub
parent 99e41ec6f7
commit 9189a95ea3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 79 additions and 60 deletions

View file

@ -128,7 +128,7 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2)
context.tabs.advancements.progress = { selected: selections, max: currentLevel.maxSelections };
context.showTabs = this.tabGroups.primary !== 'summary';
break;
const { current: currentActorLevel, changed: changedActorLevel } = this.actor.system.levelData.level;
const actorArmor = this.actor.system.armor;
const levelKeys = Object.keys(this.levelup.levels);
let achivementProficiency = 0;