mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-13 06:50:43 -05:00
Fix issue with addChildSlotItems()
and add additional mods
This commit is contained in:
parent
b68164b830
commit
3ec63ef31d
@ -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
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user