Further progress on zombie spawning

This commit is contained in:
Dev 2024-11-01 15:51:03 +00:00
parent edaec549c9
commit 5534406449
3 changed files with 436 additions and 432 deletions

View File

@ -238,7 +238,422 @@
"arenaFighterEvent": "arenaFighterEvent",
"crazyAssaultEvent": "crazyAssaultEvent"
},
"eventWaves": {
"eventWaves": {},
"eventBossSpawns": {
"halloweensummon": {
"bigmap": [
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "peacefullZryachiyEvent",
"BossName": "peacefullZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "5",
"BossEscortDifficult": "normal",
"BossEscortType": "sectactPriestEvent",
"BossName": "sectactPriestEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 25,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 999999,
"TriggerId": "ZryachiyPeaceKill",
"TriggerName": "botEvent"
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "ravangeZryachiyEvent",
"BossName": "ravangeZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 99999,
"TriggerId": "SummonComplete",
"TriggerName": "botEvent"
}
],
"interchange": [
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "peacefullZryachiyEvent",
"BossName": "peacefullZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "5",
"BossEscortDifficult": "normal",
"BossEscortType": "sectactPriestEvent",
"BossName": "sectactPriestEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 25,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 999999,
"TriggerId": "ZryachiyPeaceKill",
"TriggerName": "botEvent"
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "ravangeZryachiyEvent",
"BossName": "ravangeZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 99999,
"TriggerId": "SummonComplete",
"TriggerName": "botEvent"
}
],
"lighthouse": [
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "peacefullZryachiyEvent",
"BossName": "peacefullZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "5",
"BossEscortDifficult": "normal",
"BossEscortType": "sectactPriestEvent",
"BossName": "sectactPriestEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 25,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 999999,
"TriggerId": "ZryachiyPeaceKill",
"TriggerName": "botEvent"
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "ravangeZryachiyEvent",
"BossName": "ravangeZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 99999,
"TriggerId": "SummonComplete",
"TriggerName": "botEvent"
}
],
"rezervbase": [
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "peacefullZryachiyEvent",
"BossName": "peacefullZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "5",
"BossEscortDifficult": "normal",
"BossEscortType": "sectactPriestEvent",
"BossName": "sectactPriestEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 25,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 999999,
"TriggerId": "ZryachiyPeaceKill",
"TriggerName": "botEvent"
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "ravangeZryachiyEvent",
"BossName": "ravangeZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 99999,
"TriggerId": "SummonComplete",
"TriggerName": "botEvent"
}
],
"shoreline": [
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "peacefullZryachiyEvent",
"BossName": "peacefullZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "5",
"BossEscortDifficult": "normal",
"BossEscortType": "sectactPriestEvent",
"BossName": "sectactPriestEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 25,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 999999,
"TriggerId": "ZryachiyPeaceKill",
"TriggerName": "botEvent"
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "ravangeZryachiyEvent",
"BossName": "ravangeZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 99999,
"TriggerId": "SummonComplete",
"TriggerName": "botEvent"
}
],
"tarkovstreets": [
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "peacefullZryachiyEvent",
"BossName": "peacefullZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "5",
"BossEscortDifficult": "normal",
"BossEscortType": "sectactPriestEvent",
"BossName": "sectactPriestEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 25,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 999999,
"TriggerId": "ZryachiyPeaceKill",
"TriggerName": "botEvent"
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "ravangeZryachiyEvent",
"BossName": "ravangeZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 99999,
"TriggerId": "SummonComplete",
"TriggerName": "botEvent"
}
],
"woods": [
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "peacefullZryachiyEvent",
"BossName": "peacefullZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "5",
"BossEscortDifficult": "normal",
"BossEscortType": "sectactPriestEvent",
"BossName": "sectactPriestEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 25,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 999999,
"TriggerId": "ZryachiyPeaceKill",
"TriggerName": "botEvent"
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "ravangeZryachiyEvent",
"BossName": "ravangeZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 99999,
"TriggerId": "SummonComplete",
"TriggerName": "botEvent"
}
],
"laboratory": [
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "followerBully",
"BossName": "bossTagilla",
"BossPlayer": false,
"BossZone": "BotZoneFloor1,BotZoneFloor2,BotZoneBasement",
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"SpawnMode": [
"regular",
"pve"
],
"Supports": null,
"Time": -1
}
]
},
"halloweenzombies": {
"laboratory": [
{
@ -825,423 +1240,7 @@
"TriggerName": ""
}
]
}
},
"eventBossSpawns": {
"halloween": {
"bigmap": [
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "peacefullZryachiyEvent",
"BossName": "peacefullZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "5",
"BossEscortDifficult": "normal",
"BossEscortType": "sectactPriestEvent",
"BossName": "sectactPriestEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 25,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 999999,
"TriggerId": "ZryachiyPeaceKill",
"TriggerName": "botEvent"
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "ravangeZryachiyEvent",
"BossName": "ravangeZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 99999,
"TriggerId": "SummonComplete",
"TriggerName": "botEvent"
}
],
"interchange": [
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "peacefullZryachiyEvent",
"BossName": "peacefullZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "5",
"BossEscortDifficult": "normal",
"BossEscortType": "sectactPriestEvent",
"BossName": "sectactPriestEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 25,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 999999,
"TriggerId": "ZryachiyPeaceKill",
"TriggerName": "botEvent"
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "ravangeZryachiyEvent",
"BossName": "ravangeZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 99999,
"TriggerId": "SummonComplete",
"TriggerName": "botEvent"
}
],
"lighthouse": [
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "peacefullZryachiyEvent",
"BossName": "peacefullZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "5",
"BossEscortDifficult": "normal",
"BossEscortType": "sectactPriestEvent",
"BossName": "sectactPriestEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 25,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 999999,
"TriggerId": "ZryachiyPeaceKill",
"TriggerName": "botEvent"
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "ravangeZryachiyEvent",
"BossName": "ravangeZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 99999,
"TriggerId": "SummonComplete",
"TriggerName": "botEvent"
}
],
"rezervbase": [
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "peacefullZryachiyEvent",
"BossName": "peacefullZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "5",
"BossEscortDifficult": "normal",
"BossEscortType": "sectactPriestEvent",
"BossName": "sectactPriestEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 25,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 999999,
"TriggerId": "ZryachiyPeaceKill",
"TriggerName": "botEvent"
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "ravangeZryachiyEvent",
"BossName": "ravangeZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 99999,
"TriggerId": "SummonComplete",
"TriggerName": "botEvent"
}
],
"shoreline": [
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "peacefullZryachiyEvent",
"BossName": "peacefullZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "5",
"BossEscortDifficult": "normal",
"BossEscortType": "sectactPriestEvent",
"BossName": "sectactPriestEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 25,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 999999,
"TriggerId": "ZryachiyPeaceKill",
"TriggerName": "botEvent"
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "ravangeZryachiyEvent",
"BossName": "ravangeZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 99999,
"TriggerId": "SummonComplete",
"TriggerName": "botEvent"
}
],
"tarkovstreets": [
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "peacefullZryachiyEvent",
"BossName": "peacefullZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "5",
"BossEscortDifficult": "normal",
"BossEscortType": "sectactPriestEvent",
"BossName": "sectactPriestEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 25,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 999999,
"TriggerId": "ZryachiyPeaceKill",
"TriggerName": "botEvent"
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "ravangeZryachiyEvent",
"BossName": "ravangeZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 99999,
"TriggerId": "SummonComplete",
"TriggerName": "botEvent"
}
],
"woods": [
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "peacefullZryachiyEvent",
"BossName": "peacefullZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": -1,
"TriggerId": "",
"TriggerName": ""
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "5",
"BossEscortDifficult": "normal",
"BossEscortType": "sectactPriestEvent",
"BossName": "sectactPriestEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 25,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 999999,
"TriggerId": "ZryachiyPeaceKill",
"TriggerName": "botEvent"
},
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "ravangeZryachiyEvent",
"BossName": "ravangeZryachiyEvent",
"BossPlayer": false,
"BossZone": "",
"Delay": 0,
"ForceSpawn": true,
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"Supports": null,
"Time": 99999,
"TriggerId": "SummonComplete",
"TriggerName": "botEvent"
}
],
"laboratory": [
{
"BossChance": 100,
"BossDifficult": "normal",
"BossEscortAmount": "0",
"BossEscortDifficult": "normal",
"BossEscortType": "followerBully",
"BossName": "bossTagilla",
"BossPlayer": false,
"BossZone": "BotZoneFloor1,BotZoneFloor2,BotZoneBasement",
"IgnoreMaxBots": true,
"RandomTimeSpawn": false,
"SpawnMode": [
"regular",
"pve"
],
"Supports": null,
"Time": -1
}
]
},
},
"christmas": {}
},
"gifterSettings": [
@ -1312,12 +1311,10 @@
"mapInfectionAmount": {
"laboratory": 100
},
"disableBosses": {
"laboratory": true
},
"disableWaves": {
"laboratory": true
}
"disableBosses": [
"laboratory"
],
"disableWaves": []
}
}
},

View File

@ -28,8 +28,8 @@ export interface ISeasonalEvent {
export interface IZombieSettings {
enabled: boolean;
mapInfectionAmount: Record<string, number>;
disableBosses: Record<string, boolean>;
disableWaves: Record<string, boolean>;
disableBosses: string[];
disableWaves: string[];
}
export interface IGifterSetting {

View File

@ -350,7 +350,7 @@ export class SeasonalEventService {
this.adjustZryachiyMeleeChance();
if (event.settings?.enableSummoning) {
this.enableHalloweenSummonEvent();
this.addEventBossesToMaps(event.type);
this.addEventBossesToMaps("halloweensummon");
}
if (event.settings?.zombieSettings?.enabled) {
this.configureZombies(event.settings?.zombieSettings);
@ -384,6 +384,13 @@ export class SeasonalEventService {
default:
// Likely a mod event
this.handleModEvent(event);
if (event.settings?.enableSummoning) {
this.enableHalloweenSummonEvent();
this.addEventBossesToMaps("halloweensummon");
}
if (event.settings?.zombieSettings?.enabled) {
this.configureZombies(event.settings?.zombieSettings);
}
break;
}
}
@ -424,15 +431,15 @@ export class SeasonalEventService {
zombieSettings.mapInfectionAmount[locationKey];
}
for (const locationKey in zombieSettings.disableBosses) {
this.databaseService.getLocation(locationKey).base.BossLocationSpawn = [];
for (const locationId of zombieSettings.disableBosses) {
this.databaseService.getLocation(locationId).base.BossLocationSpawn = [];
}
for (const locationKey in zombieSettings.disableWaves) {
this.databaseService.getLocation(locationKey).base.waves = [];
for (const locationId of zombieSettings.disableWaves) {
this.databaseService.getLocation(locationId).base.waves = [];
}
this.addEventWavesToMaps("halloweenZombies");
this.addEventBossesToMaps("halloweenzombies");
}
protected addEventWavesToMaps(eventType: string): void {