Arme : ajout du champ Type (Mêlée / Distance)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user