mirror of
https://github.com/sp-tarkov/server.git
synced 2025-02-12 15:50:42 -05:00
![agavalda](/assets/img/avatar_default.png)
Since the reputation levels are expressed as decimals i found it weird that you can only set integers. This PR changes the way the reputation is set: `spt trader prapor rep 44` won't set 44 to the reputation (which is way higher than anyone can get) but 0.44, this allows to test loyalty levels more granular: ![image](https://github.com/user-attachments/assets/4e706f63-2d25-4f4c-9501-e6379174dc16) ![image](https://github.com/user-attachments/assets/61edb0f7-fc0b-4e7c-869f-09a30efa50dc) Updating the regex and then testing that only decimals are used for `rep` and not for `spend` looked to messy. PS: This is my first PR here :)