First version with weapons
This commit is contained in:
@ -28,9 +28,17 @@ export default class RMFRPWeaponSheet extends ItemSheet {
|
||||
item: baseData.item,
|
||||
system: baseData.item.system,
|
||||
config: CONFIG.rmfrp,
|
||||
skills: {},
|
||||
criticalTables: {},
|
||||
attackTables: game.rmfrp.attackTables.getTableDef(),
|
||||
enrichedDescription: enrichedDescription
|
||||
};
|
||||
|
||||
}
|
||||
console.log("Parent", this.object)
|
||||
// Add the skill data to the sheet if the item is owned
|
||||
if (this.object.actor) {
|
||||
sheetData.skills = this.object.actor.getOwnedItemsByType("skill");
|
||||
}
|
||||
console.log(sheetData);
|
||||
return sheetData;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user