Update from 0.98 DND

Current 10-18-20
This commit is contained in:
Kakeman89 2020-10-19 15:52:56 -04:00
parent 90fab8d89f
commit b92edb4200
8 changed files with 34 additions and 14 deletions

View file

@ -47,6 +47,10 @@ export default class ItemSheet5e extends ItemSheet {
data.itemStatus = this._getItemStatus(data.item);
data.itemProperties = this._getItemProperties(data.item);
data.isPhysical = data.item.data.hasOwnProperty("quantity");
// Item Area Target
data.isLine = ["line", "wall"].includes(data.item.data.target.type);
// Potential consumption targets
data.abilityConsumptionTargets = this._getItemConsumptionTargets(data.item);