diff --git a/project/assets/configs/location.json b/project/assets/configs/location.json index 6c00e2ea..b775e37a 100644 --- a/project/assets/configs/location.json +++ b/project/assets/configs/location.json @@ -1104,10 +1104,13 @@ "mod_nvg": 5, "front_plate": 50, "back_plate": 50, + "left_side_plate": 25, + "right_side_plate": 25, "mod_equipment_000": 5, "mod_equipment_001": 5, "mod_equipment_002": 5, - "mod_mount": 5 + "mod_mount": 5, + "mod_equipment": 5 } } } diff --git a/project/src/helpers/ItemHelper.ts b/project/src/helpers/ItemHelper.ts index 30d08b97..8901c3ac 100644 --- a/project/src/helpers/ItemHelper.ts +++ b/project/src/helpers/ItemHelper.ts @@ -1198,7 +1198,7 @@ export class ItemHelper const modSpawnChance = modSpawnChanceDict[slot._name.toLowerCase()]; if (modSpawnChance) { - if (!this.randomUtil.getChance100(modSpawnChanceDict[slot._name])) + if (!this.randomUtil.getChance100(modSpawnChance)) { continue; }