Add and fix Tier names in level up

This commit is contained in:
Chris Ryan 2025-09-03 20:34:22 +10:00
parent 3c893df175
commit 9f2fd251df
3 changed files with 7 additions and 4 deletions

View file

@ -234,7 +234,7 @@ export class DhLevelup extends foundry.abstract.DataModel {
const subclassInTier = subclasses.some(x => x.tier === Number(tierKey));
return {
name: tier.name,
name: game.i18n.localize(tier.name),
active: this.currentLevel >= Math.min(...tier.belongingLevels),
groups: Object.keys(tier.options).map(optionKey => {
const option = tier.options[optionKey];