forked from GitHub-Mirrors/foundry-sw5e
Update Core to 1.4.2
Update Core to 1.4.2 and internal Version to 1.4.2.R1-A8
This commit is contained in:
parent
48b6ab8e18
commit
76e4d74508
10 changed files with 146 additions and 70 deletions
|
@ -70,6 +70,10 @@ export default class ItemSheet5e extends ItemSheet {
|
|||
data.isCrewed = itemData.data.activation?.type === "crew";
|
||||
data.isMountable = this._isItemMountable(itemData);
|
||||
|
||||
// Armor Class
|
||||
data.isArmor = itemData.data.armor?.type in data.config.armorTypes;
|
||||
data.hasAC = data.isArmor || data.isMountable;
|
||||
|
||||
// Prepare Active Effects
|
||||
data.effects = ActiveEffect5e.prepareActiveEffectCategories(this.item.effects);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue