443
edits
(→DV&PV) |
No edit summary |
||
| (4 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
{{DISPLAYTITLE:Code Analysis/Basics}} | |||
{{Spoiler}} | {{Spoiler}} | ||
{{Version|23.65}} | |||
This page contains code analysis on the basic stats of characters (PC and non-PC). | This page contains code analysis on the basic stats of characters (PC and non-PC). | ||
This page is updated to '''EA23. | This page is updated to '''EA23.65'''. | ||
==Maximum HP== | ==Maximum HP== | ||
| Line 259: | Line 260: | ||
* A few other effects exist as a fixed increase in Sanity value. Doing the f thing will give Sanity value +10. Eating Human flesh (canniblism) gives a fixed Sanity value +15. | * A few other effects exist as a fixed increase in Sanity value. Doing the f thing will give Sanity value +10. Eating Human flesh (canniblism) gives a fixed Sanity value +15. | ||
==Relationship of Sanity and Sleepiness== | ==Relationship of Sanity and Sleepiness (<EA23.63) == | ||
<syntaxhighlight lang="c#" line="1"> | <syntaxhighlight lang="c#" line="1"> | ||
public class StatsSleepiness : Stats | public class StatsSleepiness : Stats | ||
| Line 307: | Line 308: | ||
</syntaxhighlight> | </syntaxhighlight> | ||
'''BEFORE EA23.63''' | |||
*Interestingly, the character's sanity and sleepiness value are determined by the same parameter (ID: 17). | *Interestingly, the character's sanity and sleepiness value are determined by the same parameter (ID: 17). | ||
*In actual gameplay, the first stage of sleepiness always activates the moment the sanity value reaches 40. In other words, it seems reasonable to think that the sleep value (sleepiness) and sanity level are always linked. | *In actual gameplay, the first stage of sleepiness always activates the moment the sanity value reaches 40. In other words, it seems reasonable to think that the sleep value (sleepiness) and sanity level are always linked. | ||
| Line 315: | Line 317: | ||
**In fact, no matter how much I searched in Elin Decompiled, I did not find any code that increases SAN value over time. | **In fact, no matter how much I searched in Elin Decompiled, I did not find any code that increases SAN value over time. | ||
**However, there is code that increases Sleepiness over time. Since SAN = Sleepiness, the SAN value is also increasing over time because of this. | **However, there is code that increases Sleepiness over time. Since SAN = Sleepiness, the SAN value is also increasing over time because of this. | ||
'''EA23.63''' | |||
* This is confirmed to be a bug. In this version, SAN and sleepiness are separated into two values. | |||
* SAN will not increase over time automatically. However, we expect the sleepiness value might not be so obvious now. Furthermore, SAN might become harder to decrease (previously you just need to sleep it off). | |||
==DV&PV== | ==DV&PV== | ||
edits