0
0
mirror of https://github.com/sp-tarkov/modules.git synced 2025-02-13 09:50:43 -05:00

5 Commits

Author SHA1 Message Date
b85c27c8a8 Add Util to Allow Modders to Access Changes for Scav Raids (!38)
Added `Utils.ScavMode.ScavRaidChangesUtil` class so mods can easily access the change in map settings (currently just escape time) for Scav raids. This will allow mods like Questing Bots, DONUTS, etc. easily be able to alter spawn settings based on "real" raid time. Currently, each mod has to cache original raid settings and calculate the difference in escape times, which is performing redundant work.

I'm not sure what your conventions are for naming and stuff, so feel free to hack this up.

Co-authored-by: dwesterwick <dwesterwick@yahoo.com>
Reviewed-on: SPT-AKI/Modules#38
Co-authored-by: DanW <danw@noreply.dev.sp-tarkov.com>
Co-committed-by: DanW <danw@noreply.dev.sp-tarkov.com>
2023-11-30 08:28:17 +00:00
Dev
006ccf7ab1 improve handling of serverResult.NewSurviveTimeSeconds 2023-11-29 13:46:42 +00:00
Dev
814470f93c Formatting improvements 2023-11-27 15:11:45 +00:00
Dev
47b6f926f5 Reworked ScavLateStart patch
Removed majority of logic from client code in favour of having it in server
Targets different method, method_43
Processes changes provided by server
2023-11-27 15:07:10 +00:00
Dev
50bcd5fd3b Call into server during raid creation to get a replacement value for _raidSettings.SelectedLocation.EscapeTimeLimit 2023-11-26 21:15:56 +00:00