Portraits et corrections sur valeurs des PNJ
Some checks failed
Release Creation / build (release) Failing after 1m24s
Some checks failed
Release Creation / build (release) Failing after 1m24s
This commit is contained in:
@@ -159,10 +159,14 @@ export default class CelestopolCharacterSheet extends CelestopolActorSheet {
|
||||
case "biography":
|
||||
context.tab = context.tabs.biography
|
||||
context.xpLogEmpty = (doc.system.xp?.log?.length ?? 0) === 0
|
||||
context.biographyPortrait = doc.system.portraitImage || ""
|
||||
context.hasBiographyPortrait = !!doc.system.portraitImage
|
||||
context.enrichedDescriptionPhysique = await foundry.applications.ux.TextEditor.implementation.enrichHTML(
|
||||
doc.system.descriptionPhysique, { relativeTo: this.document })
|
||||
context.enrichedDescriptionPsychologique = await foundry.applications.ux.TextEditor.implementation.enrichHTML(
|
||||
doc.system.descriptionPsychologique, { relativeTo: this.document })
|
||||
context.enrichedHistorique = await foundry.applications.ux.TextEditor.implementation.enrichHTML(
|
||||
doc.system.historique, { relativeTo: this.document })
|
||||
context.enrichedNotes = await foundry.applications.ux.TextEditor.implementation.enrichHTML(
|
||||
doc.system.notes, { relativeTo: this.document })
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user