Research:todo: Difference between revisions

From OpenMW Wiki
Jump to navigation Jump to search
(Done)
No edit summary
Line 2: Line 2:
== Problems with existing research ==
== Problems with existing research ==


https://wiki.openmw.org/index.php?title=Research:Stats_and_Levelling#Resting
Comparison op for sleep interruption is still incorrect, I think.
Example: hours = 1, fSleepRestMod = 0.3:
<pre>
x = roll(1) = 0
y = 0.3
if (x < y) # 100% sleep interruption chance
</pre>
Chance in vanilla MW appears to be 0% though. Is y supposed to be an integer?
[[User:Scrawl|Scrawl]] ([[User talk:Scrawl|talk]])


== Missing research ==
== Missing research ==

Revision as of 17:17, 11 June 2015

Problems with existing research

https://wiki.openmw.org/index.php?title=Research:Stats_and_Levelling#Resting

Comparison op for sleep interruption is still incorrect, I think.

Example: hours = 1, fSleepRestMod = 0.3:

x = roll(1) = 0
y = 0.3
if (x < y) # 100% sleep interruption chance

Chance in vanilla MW appears to be 0% though. Is y supposed to be an integer?

Scrawl (talk)

Missing research