0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 09:30:45 -05:00

Fix issue with addChildSlotItems() and add additional mods

This commit is contained in:
Dev 2024-01-23 21:33:24 +00:00
parent b68164b830
commit 3ec63ef31d
2 changed files with 5 additions and 2 deletions

View File

@ -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
}
}
}

View File

@ -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;
}