Add party an army sheeets
This commit is contained in:
@@ -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":
|
||||
|
||||
Reference in New Issue
Block a user