just blank version please
parent
192b1b4252
commit
4eedb1527b
|
|
@ -19,25 +19,4 @@ export class SkillSheet extends ItemSheet {
|
||||||
get template() {
|
get template() {
|
||||||
return `${path}/item-${this.item.type}-sheet.hbs`;
|
return `${path}/item-${this.item.type}-sheet.hbs`;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** @override */
|
|
||||||
getData() {
|
|
||||||
// Retrieve base data structure.
|
|
||||||
const context = super.getData();
|
|
||||||
|
|
||||||
// Use a safe clone of the item data for further operations.
|
|
||||||
const itemData = context.data;
|
|
||||||
|
|
||||||
// Retrieve the roll data for TinyMCE editors.
|
|
||||||
context.rollData = this.item.getRollData();
|
|
||||||
|
|
||||||
// Add the item's data to context.data for easier access, as well as flags.
|
|
||||||
context.system = itemData.system;
|
|
||||||
context.flags = itemData.flags;
|
|
||||||
|
|
||||||
// Prepare active effects for easier access
|
|
||||||
context.effects = prepareActiveEffectCategories(this.item.effects);
|
|
||||||
|
|
||||||
return context;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
Loading…
Reference in New Issue