diff --git a/project/assets/configs/seasonalevents.json b/project/assets/configs/seasonalevents.json index d39b59c1..9e91d9fd 100644 --- a/project/assets/configs/seasonalevents.json +++ b/project/assets/configs/seasonalevents.json @@ -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": [] } } }, diff --git a/project/src/models/spt/config/ISeasonalEventConfig.ts b/project/src/models/spt/config/ISeasonalEventConfig.ts index a342c5a5..7f6053cc 100644 --- a/project/src/models/spt/config/ISeasonalEventConfig.ts +++ b/project/src/models/spt/config/ISeasonalEventConfig.ts @@ -28,8 +28,8 @@ export interface ISeasonalEvent { export interface IZombieSettings { enabled: boolean; mapInfectionAmount: Record; - disableBosses: Record; - disableWaves: Record; + disableBosses: string[]; + disableWaves: string[]; } export interface IGifterSetting { diff --git a/project/src/services/SeasonalEventService.ts b/project/src/services/SeasonalEventService.ts index a8801981..680b3257 100644 --- a/project/src/services/SeasonalEventService.ts +++ b/project/src/services/SeasonalEventService.ts @@ -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 {