forked from GitHub-Mirrors/foundry-sw5e
Iteration on effects tab of character sheet
This commit is contained in:
parent
a40f7adb9c
commit
90fab8d89f
5 changed files with 16 additions and 8 deletions
|
@ -40,8 +40,6 @@ export default class ItemSheet5e extends ItemSheet {
|
|||
getData() {
|
||||
const data = super.getData();
|
||||
data.labels = this.item.labels;
|
||||
|
||||
// Include CONFIG values
|
||||
data.config = CONFIG.SW5E;
|
||||
|
||||
// Item Type, Status, and Details
|
||||
|
@ -57,6 +55,7 @@ export default class ItemSheet5e extends ItemSheet {
|
|||
data.hasAttackRoll = this.item.hasAttack;
|
||||
data.isHealing = data.item.data.actionType === "heal";
|
||||
data.isFlatDC = getProperty(data.item.data, "save.scaling") === "flat";
|
||||
data.isLine = ["line", "wall"].includes(data.item.data.target?.type);
|
||||
|
||||
// Vehicles
|
||||
data.isCrewed = data.item.data.activation?.type === 'crew';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue