update mod

This commit is contained in:
Chomp 2022-01-28 20:43:53 +00:00
parent f609ba220a
commit d5bf1982db
2 changed files with 6 additions and 2 deletions

View File

@ -2,7 +2,7 @@
"name": "RaiderSpawnFix", "name": "RaiderSpawnFix",
"author": "Chomp", "author": "Chomp",
"version": "1.0.0", "version": "1.0.0",
"akiVersion": "2.1.1", "akiVersion": "2.2.0",
"license": "N/A", "license": "N/A",
"main": "modloader.js", "main": "modloader.js",
"contributors": ["StealthSuit", "CWX", "ThatGuyXIV"] "contributors": ["StealthSuit", "CWX", "ThatGuyXIV"]

View File

@ -5,7 +5,7 @@ class Mod
{ {
constructor() constructor()
{ {
Logger.info(`Loading: ${modName} 1.0.0`); Logger.info(`Loading: ${modName} 1.1.0`);
let changeCount = 0; let changeCount = 0;
const labsBosses = DatabaseServer.tables.locations.laboratory.base.BossLocationSpawn; const labsBosses = DatabaseServer.tables.locations.laboratory.base.BossLocationSpawn;
@ -15,6 +15,7 @@ class Mod
if (spawn1) if (spawn1)
{ {
spawn1.TriggerId = "00404"; spawn1.TriggerId = "00404";
spawn1.BossChance = 100;
changeCount++; changeCount++;
} }
@ -22,6 +23,7 @@ class Mod
if (spawn2) if (spawn2)
{ {
spawn2.TriggerId = "00409"; spawn2.TriggerId = "00409";
spawn2.BossChance = 100;
changeCount++; changeCount++;
} }
@ -29,6 +31,7 @@ class Mod
if (spawn3) if (spawn3)
{ {
spawn3.TriggerId = "autoId_00632_EXFIL"; spawn3.TriggerId = "autoId_00632_EXFIL";
spawn3.BossChance = 100;
changeCount++; changeCount++;
} }
@ -36,6 +39,7 @@ class Mod
if (spawn4) if (spawn4)
{ {
spawn4.TriggerId = "autoId_00000_D2_LEVER"; spawn4.TriggerId = "autoId_00000_D2_LEVER";
spawn4.BossChance = 100;
changeCount++; changeCount++;
} }