Review fixes

This commit is contained in:
WBHarry 2025-06-07 01:38:16 +02:00
parent fafca7f2fc
commit 1ef70ca4d6
11 changed files with 99 additions and 132 deletions

View file

@ -213,8 +213,6 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2)
context.subclassCards.push({
...data.toObject(),
uuid: data.uuid,
// disabled:
// !selected && subclassSelections.length === context.advancementChoices.subclass.length,
selected: selected
});
}
@ -522,7 +520,7 @@ export default class DhlevelUp extends HandlebarsApplicationMixin(ApplicationV2)
this.render();
}
} else if (event.target.closest('.multiclass-cards')) {
const target = event.target.closest('.card-preview-container');
const target = event.target.closest('.multiclass-cards');
if (item.type === 'class') {
if (item.name === this.actor.system.class.name) {
ui.notifications.error(