HERO6 - First import
This commit is contained in:
@ -59,10 +59,8 @@ export class Hero6ItemSheet extends ItemSheet {
|
||||
name: this.object.name,
|
||||
editable: this.isEditable,
|
||||
cssClass: this.isEditable ? "editable" : "locked",
|
||||
weaponSkills: Hero6Utility.getWeaponSkills(),
|
||||
shieldSkills: Hero6Utility.getShieldSkills(),
|
||||
description: await TextEditor.enrichHTML(this.object.system.description, {async: true}),
|
||||
config: game.system.Hero6.config,
|
||||
config: game.system.hero6.config,
|
||||
system: objectData,
|
||||
limited: this.object.limited,
|
||||
options: this.options,
|
||||
@ -70,6 +68,13 @@ export class Hero6ItemSheet extends ItemSheet {
|
||||
isGM: game.user.isGM
|
||||
}
|
||||
|
||||
// Specific skill processing
|
||||
if( this.object.type == "skill") {
|
||||
if (objectData.characteristic != "manual") {
|
||||
//objectData.system.base = 9
|
||||
}
|
||||
}
|
||||
|
||||
this.options.editable = !(this.object.origin == "embeddedItem");
|
||||
console.log("ITEM DATA", formData, this);
|
||||
return formData;
|
||||
|
Reference in New Issue
Block a user