Halloween event fixes
This commit is contained in:
parent
54948599c3
commit
ed82e9ed2f
@ -42,6 +42,9 @@
|
|||||||
"followerKolontayAssault": 10,
|
"followerKolontayAssault": 10,
|
||||||
"followerKolontaySecurity": 10,
|
"followerKolontaySecurity": 10,
|
||||||
"shooterBTR": 10,
|
"shooterBTR": 10,
|
||||||
|
"peacefullZryachiyEvent": 5,
|
||||||
|
"ravangeZryachiyEvent": 5,
|
||||||
|
"sectactPriestEvent": 10,
|
||||||
"sptUsec": 30,
|
"sptUsec": 30,
|
||||||
"sptBear": 30
|
"sptBear": 30
|
||||||
},
|
},
|
||||||
|
@ -399,7 +399,7 @@
|
|||||||
"TriggerName": "botEvent"
|
"TriggerName": "botEvent"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"reservbase": [{
|
"rezervbase": [{
|
||||||
"BossChance": 100,
|
"BossChance": 100,
|
||||||
"BossDifficult": "normal",
|
"BossDifficult": "normal",
|
||||||
"BossEscortAmount": "0",
|
"BossEscortAmount": "0",
|
||||||
|
@ -62,7 +62,8 @@ export class BotController
|
|||||||
if (!value)
|
if (!value)
|
||||||
{
|
{
|
||||||
this.logger.warning(`No value found for bot type ${type}, defaulting to 30`);
|
this.logger.warning(`No value found for bot type ${type}, defaulting to 30`);
|
||||||
return value;
|
|
||||||
|
return 30;
|
||||||
}
|
}
|
||||||
return value;
|
return value;
|
||||||
}
|
}
|
||||||
|
@ -219,10 +219,9 @@ export class SeasonalEventService
|
|||||||
*/
|
*/
|
||||||
public enableSeasonalEvents(sessionId: string): void
|
public enableSeasonalEvents(sessionId: string): void
|
||||||
{
|
{
|
||||||
const globalConfig = this.databaseServer.getTables().globals.config;
|
|
||||||
|
|
||||||
if (this.currentlyActiveEvents)
|
if (this.currentlyActiveEvents)
|
||||||
{
|
{
|
||||||
|
const globalConfig = this.databaseServer.getTables().globals.config;
|
||||||
for (const event of this.currentlyActiveEvents)
|
for (const event of this.currentlyActiveEvents)
|
||||||
{
|
{
|
||||||
this.updateGlobalEvents(sessionId, globalConfig, event);
|
this.updateGlobalEvents(sessionId, globalConfig, event);
|
||||||
|
Loading…
Reference in New Issue
Block a user