mirror of
https://git.haroon.hackclub.app/haroon/Battler-Generator.git
synced 2025-01-05 00:16:39 +00:00
fix
This commit is contained in:
parent
87be623c97
commit
0a22af0c30
1 changed files with 2 additions and 1 deletions
3
utils.ts
3
utils.ts
|
@ -3,11 +3,12 @@ import {
|
|||
GenerateBattlerOptions,
|
||||
Colour,
|
||||
Opponents,
|
||||
CommunityOpponents
|
||||
PlayerActions,
|
||||
} from "./types";
|
||||
|
||||
export const validColours = Object.entries(Colour).map((x) => x[0]);
|
||||
export const validOpponents = Object.entries(Opponents).map((x) => x[0]);
|
||||
export const validOpponents = Object.entries({...Opponents, ... CommunityOpponents}).map((x) => x[0]);
|
||||
export const validPlayerActions = Object.entries(PlayerActions).map((x) => x[1]);
|
||||
|
||||
export async function generateBattler(
|
||||
|
|
Loading…
Reference in a new issue