Feat : add most token effects

This commit is contained in:
2024-07-14 00:05:55 +02:00
parent b1c9644941
commit 3c5b30be9e
6 changed files with 166 additions and 11 deletions
+11
View File
@@ -41,6 +41,16 @@ export enum CardEffects {
PICK_FACTION = "pick_faction",
}
export enum CardType {
HERO = "hero",
HERO_ABILITY = "hero_ability",
CURRENCY = "currency",
WEAPON = "weapon",
CHAMPION = "champion",
ACTION = "action",
ITEM = "item",
}
export interface GameObject {
_id: string;
}
@@ -95,5 +105,6 @@ export interface Effect extends GameObject {
}
export interface Card extends GameObject {
cardId: number;
cardType: CardType;
effects: Effect[];
}