Add party an army sheeets

This commit is contained in:
2026-03-25 18:02:39 +01:00
parent b46c6d804c
commit f1dda301d7
37 changed files with 2024 additions and 254 deletions

View File

@@ -205,11 +205,13 @@ export default class OathHammerCharacterSheet extends OathHammerActorSheet {
context.stressBlocked = doc.system.arcaneStress.value >= doc.system.arcaneStress.threshold
context.spells = doc.itemTypes.spell.map(s => ({
id: s.id, uuid: s.uuid, img: s.img, name: s.name, system: s.system,
_descTooltip: _stripHtml(s.system.effect)
_descTooltip: _stripHtml(s.system.effect),
traditionLabel: game.i18n.localize(SYSTEM.SORCEROUS_TRADITIONS[s.system.tradition]?.label ?? s.system.tradition)
}))
context.miracles = doc.itemTypes.miracle.map(m => ({
id: m.id, uuid: m.uuid, img: m.img, name: m.name, system: m.system,
_descTooltip: _stripHtml(m.system.effect)
_descTooltip: _stripHtml(m.system.effect),
traditionLabel: game.i18n.localize(SYSTEM.DIVINE_TRADITIONS[m.system.divineTradition] ?? m.system.divineTradition)
}))
break
case "equipment":