Fixes styling of attack-statistics and visibility of different statistics base on the nature of the given skill
parent
f505a233df
commit
7ea6b4a2e0
|
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -42,6 +42,7 @@
|
||||||
grid-area: attack;
|
grid-area: attack;
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
|
gap: 16px;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue