Fixes styling of attack-statistics and visibility of different statistics base on the nature of the given skill

feature/applicationv2
macniel 2025-10-15 20:19:59 +02:00
parent f505a233df
commit 7ea6b4a2e0
2 changed files with 5 additions and 4 deletions

View File

@ -69,10 +69,10 @@ export class SkillSheet extends HandlebarsApplicationMixin(DocumentSheetV2) {
Handwerk: "Handwerk" Handwerk: "Handwerk"
} }
context.isCombat = skillData.gruppe === "Kampf" context.isCombat = skillData.system.gruppe === "Kampf"
context.isTalent = skillData.gruppe !== "Kampf" context.isTalent = skillData.system.gruppe !== "Kampf"
context.isLanguage = skillData.gruppe === "Sprachen" || skillData.gruppe === "Schriften" context.isLanguage = skillData.system.gruppe === "Sprachen" || skillData.system.gruppe === "Schriften"
context.hasRequirement = skillData.voraussetzung?.talent != null ?? false context.hasRequirement = skillData.system.voraussetzung?.talent != null ?? false
return context; return context;
} }

View File

@ -42,6 +42,7 @@
grid-area: attack; grid-area: attack;
display: flex; display: flex;
flex-direction: row; flex-direction: row;
gap: 16px;
} }
} }