mirror of
https://github.com/DaInfLoop/Battler-Generator.git
synced 2024-11-21 13:29:55 +00:00
fix but better
This commit is contained in:
parent
0a22af0c30
commit
11693ba803
5
utils.ts
5
utils.ts
|
@ -8,7 +8,10 @@ import {
|
|||
} from "./types";
|
||||
|
||||
export const validColours = Object.entries(Colour).map((x) => x[0]);
|
||||
export const validOpponents = Object.entries({...Opponents, ... CommunityOpponents}).map((x) => x[0]);
|
||||
export const validOpponents = [
|
||||
...Object.entries(Opponents).map((x) => x[0]),
|
||||
...Object.entries(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