add special creature ability as item type

This commit is contained in:
Johannes Loher 2021-01-11 00:55:49 +01:00
parent 85defa7e44
commit c422635d66
12 changed files with 121 additions and 24 deletions

View file

@ -0,0 +1,15 @@
export interface ModifiableData<T> {
base: T;
mod: T;
total?: T;
}
export interface ResourceData<T> extends ModifiableData<T> {
value: T;
max?: T;
}
export interface UsableResource<T> {
total: T;
used: T;
}