Server/project/assets/configs
CZPZ 1551a5e793 feature: add probability for extra rep gain on pmc kills as pscav (!204)
Feel free to rename everything.

We can also use the new function from randomutil and replace code block below on InsuranceController.ts

```
        const maxRoll = 9999;
        const conversionFactor = 100;

        const returnChance = this.randomUtil.getInt(0, maxRoll) / conversionFactor;
        const traderReturnChance = this.insuranceConfig.returnChancePercent[traderId];
        const roll = returnChance >= traderReturnChance;
```

I killed 2 PMCs with 100% chance and gained 0.07 rep (rounding issue probably somewhere else)

![image](/attachments/00f00922-eb18-4fdc-8958-129b680af704)

Some JS problems :S

![image](/attachments/dcbeb1d1-2ee3-4809-890e-e19fe3190840)

Implements: https://dev.sp-tarkov.com/SPT-AKI/Issues/issues/150
Co-authored-by: alimoncul <alimoncul@gmail.com>
Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/204
Co-authored-by: CZPZ <czpz@noreply.dev.sp-tarkov.com>
Co-committed-by: CZPZ <czpz@noreply.dev.sp-tarkov.com>
2024-01-21 17:39:37 +00:00
..
airdrop.json Add missing property to airdrop config 2024-01-20 09:30:18 +00:00
bot.json Fix JSON issues with ravangezryachiyevent 2024-01-19 09:37:01 +00:00
btr.json Add BTR config options (!203) 2024-01-21 08:46:12 +00:00
core.json 28375 2023-12-29 09:44:09 +00:00
gifts.json Add valens to gifts.json (!194) 2024-01-14 09:05:28 +00:00
health.json Add Repo 2023-03-03 15:23:46 +00:00
hideout.json 0.13.5.0 (!147) 2023-10-10 11:03:20 +00:00
http.json Merge branch 'master' into 3.8.0 2023-11-16 23:35:11 -05:00
inraid.json feature: add probability for extra rep gain on pmc kills as pscav (!204) 2024-01-21 17:39:37 +00:00
insurance.json Fix insurance return all child items of an item (ammo in mags/chamber) 2024-01-12 12:32:04 +00:00
inventory.json Add boss item blacklist and wire into: 2023-10-12 11:00:04 +01:00
item.json Add Zryachiy's balaclava to boss item collection 2024-01-08 17:45:07 +00:00
locale.json Fix incorrect country code 2023-12-30 20:40:38 +00:00
location.json Add location property minFillLooseMagazinePercent 2024-01-13 12:30:15 +00:00
loot.json Fixed extra spawns on customs. Fixed duplicate spawns on labs. Removed Shoreline spawns due to map changes 2024-01-12 19:09:57 +00:00
lostondeath.json Squashed 22 commits in an attempt to fix Gitea object bloat 2023-03-05 22:02:56 +02:00
match.json 0.13.5.0 (!147) 2023-10-10 11:03:20 +00:00
playerscav.json Fixing playerscav.json error causing exceptions when karma is below -5 (!149) 2023-10-12 19:51:10 +00:00
pmc.json Add new bot types to pmc config 2024-01-17 14:22:27 +00:00
pmcchatresponse.json Feature: Allow PMCs that kill the player to message them a positive/negative message (!81) 2023-03-22 10:25:34 +00:00
quest.json Add soft insert type to daily reward blacklist 2024-01-13 20:02:19 +00:00
ragfair.json Fix armor plates/visors/helmet plate inserts not having thier durability altered on ragfair 2024-01-14 22:28:53 +00:00
repair.json Added The ability to have enhancements on armored rigs and helmets. (!200) 2024-01-18 09:08:22 +00:00
scavcase.json Refactor handleScavCase() to use addItemToStash() 2024-01-21 16:40:14 +00:00
seasonalevents.json Update bot data 2024-01-16 16:11:48 +00:00
trader.json Finalise fence changes 2024-01-20 17:56:19 +00:00
weather.json Fix event system not working for events other than halloween and christmas 2024-01-06 23:29:42 +00:00