Project Zomboid

Project Zomboid

[B41/B42] Toughness Skill
Discomfort Function Not Working as Intended
Did a bunch of testing, the discomfort function seems to not be working as intended.

Testing process:
1. New game, only this mod active
2. x10 experience, get to toughness 2, default settings otherwise
3. Turn on debug mode to watch discomfort stat
4. Spawn in a bunch of sports pads (elbow, knee, shin, etc)

At level 2 there should be -20% flat and -10% multiplier.

When wearing gear with discomfort rating from 5% to 15% the discomfort rating stays at zero.
When wearing gear with discomfort rating at 20% the discomfort rating reaches equilibrium at 20%, as though the mod is doing nothing.
Repeat for every value above 20%. At skill 3 this is 30%, 4: 40%, and so on.


More tests:
From here forward each test was done with Flat Reduction set to 0, 2 elbow pads and 2 shin guards.
Between each test the game was exited and relaunched.
Debug mode was active for each test. Tests were done at a safe indoor location with all character needs met.

0. Mod deactivated, control test. -- 20% equilibrium.
1. Skill 10 -- Discomfort Reduction Multiplier set to 1. -- 20% equilibrium.
2. Skill 2 -- D Reduction Mult 5 -- 20% equilibrium.
3. Skill 2 -- D Reduction Mult 10 -- 0% equilibrium.
4. Skill 4 -- D Reduction Mult 5 -- 0% equilibrium.
5. Skill 4 -- D Reduction Mult 4.9 -- 2% equilibrium.
6. Skill 2 -- D Reduction Mult 4.9 -- 20% equilibrium.
7. Skill 2 -- D Reduction Mult 9 -- 10% equilibrium.
8. Skill 2 -- D Reduction Mult 9.5 -- 5% equilibrium.
9. Skill 2 -- D Reduction Mult 8 -- 20% equilibrium.


Conclusions:
1. Flat Reduction does not function as a flat reduction, but rather as a threshold. Anything below that threshold is 0, anything above is unaffected.

2. Discomfort Reduction Multiplier does nothing in the default settings, only works when set to extremes and even then not quite as expected. At 5% reduction per skill level at mult 1, skill 2 mult 9 in Test 7 should see a 90% reduction, reaching 2% equilibrium. Instead it reaches 10% equilibrium, as though it were a 50% reduction.
最后由 [Ba-El] Radio 编辑于; 9 月 7 日 下午 10:17