mirror of
https://github.com/DaInfLoop/Battler-Generator.git
synced 2024-11-23 06:09:58 +00:00
fix
This commit is contained in:
parent
87be623c97
commit
0a22af0c30
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