Editing Module:Test1 module LG
From Fallen London Wiki (Staging)
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.
The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 652: | Line 652: | ||
local Eq = tonumber(frame.args[6]) | local Eq = tonumber(frame.args[6]) | ||
local scaling_factor = math.min(prepared_watchful / 367, 1) | local scaling_factor = math.min(prepared_watchful / 367, 1) | ||
− | return (scaling_factor * (42/5 + 2 * Eq) + (1 - scaling_factor) * (6 + 7/4 * Eq)) | + | return (scaling_factor * (42/5 + 2 * Eq + unexpected_result_used / 2) + (1 - scaling_factor) * (6 + 7/4 * Eq)) |
end | end | ||
Line 698: | Line 698: | ||
-- WWYVS = [[Work with your Visionary Student]] | -- WWYVS = [[Work with your Visionary Student]] | ||
---- LyVSttod = [[Leave your (Visionary) student to their own devices]] | ---- LyVSttod = [[Leave your (Visionary) student to their own devices]] | ||
− | function p. | + | function p.WWYVS_FuahwyVS(frame) |
local prepared_watchful = (tonumber(frame.args[1]) + tonumber(frame.args[5])) | local prepared_watchful = (tonumber(frame.args[1]) + tonumber(frame.args[5])) | ||
local Eq = tonumber(frame.args[6]) | local Eq = tonumber(frame.args[6]) |