Fix weightingAdjustmentsBybotLevel (!315)
Fixed linting/syntax of the weightingAdjustmentsByBotLevel function to properly end equipment and start clothing as part of IAdjustmentDetails. Additionally, added the "add" subfunctions to equipment for the last three levelRanges as they were missing. Co-authored-by: VforValens <8889280+VforValens@users.noreply.github.com> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/315 Co-authored-by: Valens <valens@noreply.dev.sp-tarkov.com> Co-committed-by: Valens <valens@noreply.dev.sp-tarkov.com>
This commit is contained in:
parent
b6926c1bf9
commit
a425b1bc4b
@ -331,7 +331,7 @@
|
|||||||
"bosssanitar": {
|
"bosssanitar": {
|
||||||
"5efde6b4f5448336730dbd61": 1,
|
"5efde6b4f5448336730dbd61": 1,
|
||||||
"5eff09cd30a7dc22fd1ddfed": 1
|
"5eff09cd30a7dc22fd1ddfed": 1
|
||||||
},
|
},
|
||||||
"bosstagilla": {},
|
"bosstagilla": {},
|
||||||
"bossknight": {},
|
"bossknight": {},
|
||||||
"bosszryachiy": {},
|
"bosszryachiy": {},
|
||||||
@ -399,11 +399,11 @@
|
|||||||
"60098ad7c2240c0fe85c570a": 2
|
"60098ad7c2240c0fe85c570a": 2
|
||||||
},
|
},
|
||||||
"arenafighterevent": {
|
"arenafighterevent": {
|
||||||
"5734758f24597738025ee253": 1
|
"5734758f24597738025ee253": 1
|
||||||
},
|
},
|
||||||
"arenafighter": {
|
"arenafighter": {
|
||||||
"5734758f24597738025ee253": 1
|
"5734758f24597738025ee253": 1
|
||||||
},
|
},
|
||||||
"crazyassaultevent": {},
|
"crazyassaultevent": {},
|
||||||
"assaultgroup": {},
|
"assaultgroup": {},
|
||||||
"gifter": {},
|
"gifter": {},
|
||||||
@ -790,7 +790,7 @@
|
|||||||
"lightIsActiveDayChancePercent": 35,
|
"lightIsActiveDayChancePercent": 35,
|
||||||
"lightIsActiveNightChancePercent": 95,
|
"lightIsActiveNightChancePercent": 95,
|
||||||
"laserIsActiveChancePercent": 95,
|
"laserIsActiveChancePercent": 95,
|
||||||
"forceStock": true,
|
"forceStock": true,
|
||||||
"weaponModLimits": {
|
"weaponModLimits": {
|
||||||
"scopeLimit": 1,
|
"scopeLimit": 1,
|
||||||
"lightLaserLimit": 1
|
"lightLaserLimit": 1
|
||||||
@ -1655,18 +1655,18 @@
|
|||||||
"5bffdc370db834001d23eca8": 100,
|
"5bffdc370db834001d23eca8": 100,
|
||||||
"54491bb74bdc2d09088b4567": 100
|
"54491bb74bdc2d09088b4567": 100
|
||||||
}
|
}
|
||||||
},
|
}
|
||||||
"clothing": {
|
},
|
||||||
"add": {},
|
"clothing": {
|
||||||
"edit": {
|
"add": {},
|
||||||
"body": {
|
"edit": {
|
||||||
"5cc0858d14c02e000c6bea66": 20,
|
"body": {
|
||||||
"5cde95d97d6c8b647a3769b0": 20
|
"5cc0858d14c02e000c6bea66": 20,
|
||||||
},
|
"5cde95d97d6c8b647a3769b0": 20
|
||||||
"feet": {
|
},
|
||||||
"5cc085bb14c02e000e67a5c5": 20,
|
"feet": {
|
||||||
"5cde95ef7d6c8b04713c4f2d": 20
|
"5cc085bb14c02e000e67a5c5": 20,
|
||||||
}
|
"5cde95ef7d6c8b04713c4f2d": 20
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1775,6 +1775,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"equipment": {
|
"equipment": {
|
||||||
|
"add": {},
|
||||||
"edit": {
|
"edit": {
|
||||||
"ArmorVest": {
|
"ArmorVest": {
|
||||||
"5c0e5bab86f77461f55ed1f3": 135,
|
"5c0e5bab86f77461f55ed1f3": 135,
|
||||||
@ -1841,6 +1842,7 @@
|
|||||||
"max": 50
|
"max": 50
|
||||||
},
|
},
|
||||||
"equipment": {
|
"equipment": {
|
||||||
|
"add": {},
|
||||||
"edit": {
|
"edit": {
|
||||||
"FirstPrimaryWeapon": {
|
"FirstPrimaryWeapon": {
|
||||||
"5c501a4d2e221602b412b540": 2
|
"5c501a4d2e221602b412b540": 2
|
||||||
@ -1948,6 +1950,7 @@
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
"equipment": {
|
"equipment": {
|
||||||
|
"add": {},
|
||||||
"edit": {
|
"edit": {
|
||||||
"FirstPrimaryWeapon": {
|
"FirstPrimaryWeapon": {
|
||||||
"65290f395ae2ae97b80fdf2d": 8,
|
"65290f395ae2ae97b80fdf2d": 8,
|
||||||
|
Loading…
Reference in New Issue
Block a user