Skill rust code review #46789
Replies: 3 comments 5 replies
-
If a skill is disabled for learning+focus loss, does using it actually prevent skill rust? The check in |
Beta Was this translation helpful? Give feedback.
-
The way skill rust works was overhauled in #50176. |
Beta Was this translation helpful? Give feedback.
-
related, but not totally on topic. is skill rust Supposed to be that you start forgetting after 1 day? I don't have good or bad memory. and HIGH as in 20+ intelligence. it bugs me that after 1 day, that I start to lose levels to rust. if not, please try to find out why it is; can give video of it. if so, still thanks for reading. sorry if I've revived dead topic. and please have a wonder rest of the weekend. |
Beta Was this translation helpful? Give feedback.
-
Recently I've noticed that higher intelligence increases skill rust value and vice versa (same behavior applies for
FORGETFUL
andGOODMEMORY
traits):It seemed strange to me, that increasing intelligence leads to incrementing skill rust value, so I created an issue: #46598
Shortly after, a fix #46605 was applied by swaping
intel - 8
values in code below:int ret = ( ( rate_option == "vanilla" || rate_option == "capped" ) ? 100 : 100 + 10 * ( intel - 8 ) );
I got curious why skill rust values was inverted in a first place, and found PR's which supposedly change what
rust_rate()
means.The changes in skill rust system were merged to master by #37281, and changes to traits by #37883.
Authors of these PR's stated, that:
Currently we got 'old' skill rust system intelligence stat (e.g. higher intelligence leads to lower skill rust), and traits with 'new' skill rust system (e.g.
GOODMEMORY
increases skill rust value). As you see, the current state of skill rust system is contradictory, and needs conclusion.So I requesting help in reviewing skill rust code, to figure out what actually it is doing, to finish with this issue:
GOODMEMORY
andFORGETFUL
traits to finalise solution by Reverses subtraction in character.cpp to correct skill rust calculation #46605Upd: Testing showed, that higher skill rust value leads to slower rusting in skills and vice versa. However, if the player has skill rust below 1% (low intelligence + forgetful trait), then it is completely turned off, which I think is a main problem with this new system.
Upd 2: Skill rust was renamed to skill rust delay
Beta Was this translation helpful? Give feedback.
All reactions