Commit Graph

425 Commits

Author SHA1 Message Date
rootdarkarchon effb5cc0e4 Add AdjustSkillExpForLowLevels to AddSkillPointsToPlayer (#738)
* Add AdjustSkillExpForLowLevels to AddSkillPointsToPlayer

* remove unused AdjustSkillExpForLowLevels

* format unit tests

* fix suggestions

* Revert "remove unused AdjustSkillExpForLowLevels"

This reverts commit 43e0ab654378ca7ba1140648b1624730d637073b.

* mark as obsolete

* fix log message

---------

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2026-02-13 13:59:45 +01:00
rootdarkarchon 9f189f2e15 Adjustments for Int/Cha progression in Hideout (#737)
* Fixup of some skill handling in hideout

* fix format

* add limited backwards compat and fix repair int value

* more logging and fixes

* fix charisma gain from repair

* revert divisor into multiplier

* run csharpier format

* undo formating/unnecessary files

* add debug guards

---------

Co-authored-by: rootdarkarchon <root.darkarchon@outlook.com>
2026-02-07 19:45:31 +01:00
Archangel a2225f14fe Add head type to customisation unlocks 2026-01-08 13:33:06 +01:00
Chomp 49d92f30a6 Fixed weapons transferred via prestige lacking any child mods 2025-12-31 10:25:03 +00:00
Chomp 4633d885f5 Fixed locked prestiged items being stuck #717 2025-12-31 09:58:44 +00:00
Archangel 1dd688e477 Clear dropped items 2025-12-27 20:38:32 +01:00
Chomp 4390948ff0 Persist customisations during prestige event #704 (backport) 2025-12-12 10:18:51 +00:00
Chomp f1a60a9872 Fixed examine commando command
(cherry picked from commit 06273eefaed05b1dd1d9dfaa3a472b4eaff7f695)
2025-11-27 22:50:45 +00:00
Chomp 5b9347099b Fixed preset builder showing items from locked traders 2025-11-18 17:09:54 +00:00
CWX 1e94526b20 Fix build 2025-11-11 10:04:42 +00:00
SwiftXP 964aad016b Little code refactorings. 2025-11-10 23:36:36 +01:00
SwiftXP 14a4a3ba53 Only integers were used for the calculation for keys, which meant that only 1 or 0 could be the result. At least one value must be a double for the calculation to result in a double. 2025-11-10 22:41:53 +01:00
sp-tarkov-bot 4586390d68 Format Style Fixes 2025-11-10 10:55:39 +00:00
Chomp b1d80b359b Fixed issue with sell chance calculation 2025-11-08 22:13:31 +00:00
Chomp 1cfe1592cc Improved how hideout crafts are matched during reward unlock process #684 2025-11-07 13:52:35 +00:00
Chomp ca3c085e76 Improved sell chance calculation inside CalculateSellChance, removes default 10% sell chance on any offer 2025-11-04 09:45:16 +00:00
Chomp 5f20768f4e Early exit GetItemQualityModifier when item Upd object is null 2025-11-04 09:43:30 +00:00
Chomp 421ab55c23 Post raid effect fixes:
When exiting raid with severe muscle pain, prevent client instructing server to add mild muscle pain
When exiting a raid with effect that has a timer, decrease timer value by amount of time spent in raid
2025-10-31 16:29:55 +00:00
Tyfon cac81f417d Account for compound items in DialogHelper.GetMessageItemContents 2025-10-30 11:03:24 -07:00
DrakiaXYZ d375879a3a Fix post-raid health (#661)
* Fix post-raid health
- Re-add death penalty for limbs
- Correctly set body part HP to 1 for cursed death only
- Use the server profile body part max HP for calculating penalties
- Never modify the body part max HP on the profile
- Remove ResetMaxLimbHp as it's unnecessary if we never update max HP elsewhere

* Formatting

* Remove unnecessary null coalescing

* Stupid formatting

---------

Co-authored-by: DrakiaXYZ <565558+TheDgtl@users.noreply.github.com>
2025-10-26 08:47:40 +00:00
Cj a608b33f38 Merge branch 'develop' into develop 2025-10-24 19:03:17 -04:00
Tyfon dae5da9399 Adjust when Dialogue.AttachmentsNew is changed 2025-10-24 15:48:00 -07:00
Chomp a46e26725f Hardened GetRandomizedResourceValue when GetPercentOfValuereturns values below 1 2025-10-24 21:59:04 +01:00
Chomp 9fa0c51cee Improved how offers are gathered prior to iteration 2025-10-20 12:59:28 +01:00
Chomp 353b8f54bb Added functionality to reduce non-damaged limb hp to 20% on pmc death when player is 'cursed' #640 2025-10-20 11:06:29 +01:00
Chomp b23832267c Fixed sort by name not working due to it being really slow #625 2025-10-16 18:23:26 +01:00
Chomp 697e07456d Persist PMC stats on prestige 2025-10-16 15:55:49 +01:00
Chomp 56026297cf Fixed logic error inside CheckAndLockOfferFromPlayerTieredFlea 2025-10-14 18:23:09 +01:00
Chomp 12a086bc70 Show unlock at level x instead of offer creators name in flea while item is tier locked 2025-10-14 12:22:32 +01:00
Chomp 562dee37d7 Fixed tiered flea issue. A level level profile can lock item for all other profiles until server restarts 2025-10-14 12:19:15 +01:00
DrakiaXYZ eedc4e543e Formatting 2025-10-13 14:45:57 -07:00
DrakiaXYZ 14e6f187b8 Fix commando inheriting all chat commands
- Add new ICommandoCommand interface for Commando-specific commands
2025-10-13 14:44:38 -07:00
Chomp 9bbfee8e6d Cleaned up comments and var usage inside UpdateQuestsForGameEdition 2025-10-12 11:16:19 +01:00
DrakiaXYZ e00dcc719c Fix examining item in hideout upgrade panel exception 2025-10-11 21:19:32 -07:00
Chomp fcf99a3464 Added helper method GetProfileTemplateFlagValue 2025-10-07 11:50:50 +01:00
Cj 5e0c32e9c2 Add method comment 2025-10-06 05:22:43 -04:00
Chomp 6e2286ca5b Added system to allow adjustment of static spawn weights via config
reduced `Power substation utility cabin key` on customs to 60% of original weight
2025-10-03 20:28:39 +01:00
Cj cf29c7bde3 Merge pull request #601 from sp-tarkov/repeatable-completion-quests
Repeatable completion quest level ranges
2025-10-02 19:02:05 +00:00
Chomp bd941eba61 Fixed typo 2025-10-01 21:28:37 +01:00
Cj 7a08fd4e16 Merge branch 'develop' into repeatable-quest-tuning 2025-10-01 03:16:37 -04:00
Cj c95446bb20 Implement level ranged Exploration objective generation 2025-10-01 02:58:20 -04:00
Chomp cc745f4c46 Corrected ProcessBuyTradeRequestData transactionId to be Mongoid, updated associated code
Also moved TransactionId in `InsuranceRequestData` to be MongoId, updated associated code
2025-09-30 22:38:42 +01:00
Chomp f8b2b52afc Skip processing crafts that have been flagged as interrupted 2025-09-30 12:53:24 +01:00
Cj 36b247d92e Move HideoutAreas to the Models.Enums.Hideout namespace 2025-09-29 18:14:59 -04:00
Chomp f43a137fed Make use of logical patterns inside WeatherHelper 2025-09-26 13:19:41 +01:00
Chomp e32bace4d6 Improved dict access inside SetTraderUnlockedState + comment and naming improvements 2025-09-26 13:16:47 +01:00
Chomp ec682ccc16 Updated GetTrader to use mongoId for traderId + removed redundant 'ragfair' check + made sessionId optional + added comments 2025-09-26 13:05:20 +01:00
Chomp 45237693f8 Fixed issue with GenerateExtraPropertiesForItem not returning Upd object 2025-09-14 16:39:47 +01:00
Chomp 11ec6f66da Fixed issue with 0 valued maxhpresource items causing errors 2025-09-14 11:07:54 +01:00
Chomp 0c68d56ee1 Improved GetRandomizedResourceValue + GenerateExtraPropertiesForItem handling of values
Explicit handling of value == 1
Prevent returned value being below 1
Allow caller to force `StackObjectsCount` property
Renamed returned object
2025-09-14 10:17:49 +01:00