A trait can now only be level up once within the same tier

This commit is contained in:
WBHarry 2025-06-12 20:31:20 +02:00
parent 43c8e54e5d
commit 0eaaa81e52
5 changed files with 50 additions and 13 deletions

View file

@ -507,7 +507,7 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2)
const traitsTagify = htmlElement.querySelector('.levelup-trait-increases');
if (traitsTagify) {
tagifyElement(traitsTagify, abilities, this.tagifyUpdate('trait').bind(this));
tagifyElement(traitsTagify, this.levelup.unmarkedTraits, this.tagifyUpdate('trait').bind(this));
}
const experienceIncreaseTagify = htmlElement.querySelector('.levelup-experience-increases');