Arme : ajout du champ Type (Mêlée / Distance)

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
2026-03-29 17:05:28 +02:00
parent 5a8b151451
commit eceac4c122
5 changed files with 24 additions and 1 deletions

View File

@@ -82,6 +82,7 @@ export class CelestopolWeaponSheet extends CelestopolItemSheet {
const ctx = await super._prepareContext()
ctx.damageTypes = SYSTEM.WEAPON_DAMAGE_TYPES
ctx.rangeTypes = SYSTEM.WEAPON_RANGE_TYPES
ctx.combatTypes = SYSTEM.WEAPON_COMBAT_TYPES
ctx.enrichedDescription = await foundry.applications.ux.TextEditor.implementation.enrichHTML(
this.document.system.description, { async: true })
return ctx