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", "arenaFighterEvent": "arenaFighterEvent",
"crazyAssaultEvent": "crazyAssaultEvent" "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": { "halloweenzombies": {
"laboratory": [ "laboratory": [
{ {
@ -825,422 +1240,6 @@
"TriggerName": "" "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": {} "christmas": {}
}, },
@ -1312,12 +1311,10 @@
"mapInfectionAmount": { "mapInfectionAmount": {
"laboratory": 100 "laboratory": 100
}, },
"disableBosses": { "disableBosses": [
"laboratory": true "laboratory"
}, ],
"disableWaves": { "disableWaves": []
"laboratory": true
}
} }
} }
}, },

View File

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

View File

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