implement basic active effects

This commit is contained in:
Johannes Loher 2021-01-25 01:09:51 +01:00
parent 2c8878bd94
commit 85ec5faec2
4 changed files with 123 additions and 3 deletions

View file

@ -16,6 +16,8 @@ export type DS4ItemDataType =
| DS4Alphabet
| DS4SpecialCreatureAbility;
export type DS4EquippableItemDataType = DS4Weapon | DS4Armor | DS4Shield | DS4Trinket;
// types
interface DS4Weapon extends DS4ItemBase, DS4ItemPhysical, DS4ItemEquipable {

View file

@ -34,7 +34,6 @@ export class DS4ItemSheet extends ItemSheet<DS4ItemDataType, DS4Item> {
actor: this.item.actor,
isPhysical: isDS4ItemDataTypePhysical(this.item.data.data),
};
console.log(data);
return data;
}