Add files

This commit is contained in:
2025-06-29 22:14:36 +02:00
parent feeb08331b
commit b968f99f61
6 changed files with 15 additions and 3 deletions

View File

@@ -43,7 +43,7 @@
"damageBonus": { "damageBonus": {
"label": "Bonus D." "label": "Bonus D."
}, },
"hp": { "hp": {
"label": "HP", "label": "HP",
"stunned": { "stunned": {
"label": "Etourdi" "label": "Etourdi"
@@ -126,6 +126,18 @@
"damageBonus": { "damageBonus": {
"label": "Bonus D." "label": "Bonus D."
}, },
"hp": {
"label": "HP",
"value": {
"label": "Actuel"
},
"max": {
"label": "Max"
},
"stunned": {
"label": "Etourdi"
}
},
"resources": { "resources": {
"permanentRating": { "permanentRating": {
"label": "Valeur permanente" "label": "Valeur permanente"

View File

@@ -61,8 +61,8 @@ export default class CthulhuEternalCreatureSheet extends CthulhuEternalActorShee
const context = await super._prepareContext() const context = await super._prepareContext()
context.tabs = this.#getTabs() context.tabs = this.#getTabs()
context.enrichedDescription = await TextEditor.enrichHTML(this.document.system.description, { async: true }) context.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.description, { async: true })
context.enrichedNotes = await TextEditor.enrichHTML(this.document.system.notes, { async: true }) context.enrichedNotes = await foundry.applications.ux.TextEditor.implementation.enrichHTML(this.document.system.notes, { async: true })
context.tooltipsCharacteristic = { context.tooltipsCharacteristic = {
str: game.i18n.localize("CTHULHUETERNAL.Characteristic.Str"), str: game.i18n.localize("CTHULHUETERNAL.Characteristic.Str"),

View File

Binary file not shown.

View File

Binary file not shown.