Release 1.8.2

This commit is contained in:
Vlyan
2022-06-24 20:23:28 +02:00
parent ed79c53907
commit d74d91d8b8
7 changed files with 99 additions and 54 deletions

View File

@@ -130,16 +130,16 @@ export class CharacterGenerator {
* @return {Promise<string>}
*/
static async getRandomizedFirstname(isFemale, clan) {
let table = `Japanese names (${isFemale ? "Female" : "Male"})`;
let table = `L5RCoreTblJpNam${isFemale ? "F" : "M"}`;
switch (clan) {
case "ivory_kingdoms":
table = "Ivory Kingdoms names";
table = "aTVXI5Y5t7cBfyUE";
break;
case "qamarist":
table = "Qamarist names";
table = "bXaEmt72GLUeoyzz";
break;
case "ujik":
table = "Ujik names";
table = "d9lU98NE8G2YuN48";
break;
}
const randomNames = await game.l5r5e.HelpersL5r5e.drawManyFromPack("l5r5e.core-name-tables", table, 1, {