diff --git a/project/assets/configs/bot.json b/project/assets/configs/bot.json index 13b37f51..b1126f38 100644 --- a/project/assets/configs/bot.json +++ b/project/assets/configs/bot.json @@ -42,6 +42,9 @@ "followerKolontayAssault": 10, "followerKolontaySecurity": 10, "shooterBTR": 10, + "peacefullZryachiyEvent": 5, + "ravangeZryachiyEvent": 5, + "sectactPriestEvent": 10, "sptUsec": 30, "sptBear": 30 }, diff --git a/project/assets/configs/seasonalevents.json b/project/assets/configs/seasonalevents.json index 8962aa22..5d5b0f61 100644 --- a/project/assets/configs/seasonalevents.json +++ b/project/assets/configs/seasonalevents.json @@ -399,7 +399,7 @@ "TriggerName": "botEvent" } ], - "reservbase": [{ + "rezervbase": [{ "BossChance": 100, "BossDifficult": "normal", "BossEscortAmount": "0", diff --git a/project/src/controllers/BotController.ts b/project/src/controllers/BotController.ts index f1c5332a..b28406df 100644 --- a/project/src/controllers/BotController.ts +++ b/project/src/controllers/BotController.ts @@ -62,7 +62,8 @@ export class BotController if (!value) { this.logger.warning(`No value found for bot type ${type}, defaulting to 30`); - return value; + + return 30; } return value; } diff --git a/project/src/services/SeasonalEventService.ts b/project/src/services/SeasonalEventService.ts index 62fe4c7f..e562524e 100644 --- a/project/src/services/SeasonalEventService.ts +++ b/project/src/services/SeasonalEventService.ts @@ -219,10 +219,9 @@ export class SeasonalEventService */ public enableSeasonalEvents(sessionId: string): void { - const globalConfig = this.databaseServer.getTables().globals.config; - if (this.currentlyActiveEvents) { + const globalConfig = this.databaseServer.getTables().globals.config; for (const event of this.currentlyActiveEvents) { this.updateGlobalEvents(sessionId, globalConfig, event);