Skip to content

Commit

Permalink
Allow more card types in friend/foe extra cards
Browse files Browse the repository at this point in the history
Storm has spells, and Xaxos has Boons.
  • Loading branch information
Torgen authored and on3iro committed Dec 4, 2024
1 parent 0111cbb commit 49bb5ba
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions src/aer-types/types/data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,12 +126,19 @@ export type IFriendOrFoe = ICreature & {
rules?: string
}

export type Boon = {
type: 'Boon'
name: string
id: string
effect: string
}

export type Friend = IFriendOrFoe & {
extraCards?: ICard[]
extraCards?: (ICard | Boon)[]
}

export type Foe = IFriendOrFoe & {
extraCards?: INemesisCard[]
extraCards?: (INemesisCard | ICard)[]
}

export type Nemeses = {
Expand Down

0 comments on commit 49bb5ba

Please sign in to comment.