add special creature ability as item type
This commit is contained in:
parent
85defa7e44
commit
c422635d66
12 changed files with 121 additions and 24 deletions
|
@ -1,4 +1,7 @@
|
|||
import { ModifiableData } from "../actor/actor-data";
|
||||
import { ModifiableData } from "../common/common-data";
|
||||
import { DS4 } from "../config";
|
||||
|
||||
export type ItemType = keyof typeof DS4.itemTypes;
|
||||
|
||||
export type DS4ItemDataType =
|
||||
| DS4Weapon
|
||||
|
@ -10,7 +13,8 @@ export type DS4ItemDataType =
|
|||
| DS4Talent
|
||||
| DS4RacialAbility
|
||||
| DS4Language
|
||||
| DS4Alphabet;
|
||||
| DS4Alphabet
|
||||
| DS4SpecialCreatureAbility;
|
||||
|
||||
// types
|
||||
|
||||
|
@ -59,6 +63,9 @@ interface DS4Equipment extends DS4ItemBase, DS4ItemPhysical {}
|
|||
type DS4RacialAbility = DS4ItemBase;
|
||||
type DS4Language = DS4ItemBase;
|
||||
type DS4Alphabet = DS4ItemBase;
|
||||
interface DS4SpecialCreatureAbility extends DS4ItemBase {
|
||||
experiencePoints: number;
|
||||
}
|
||||
|
||||
// templates
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue