Editing Module:Test1 module LG

From Fallen London Wiki

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 663: Line 663:
 
local Hellworm = frame.args[7]
 
local Hellworm = frame.args[7]
 
if (Hellworm == 'yes') then
 
if (Hellworm == 'yes') then
return (scaling_factor * (18 + 3 * Eq + 4) + (1 - scaling_factor) * (26 + 5 * Eq))
+
return (scaling_factor * (18 + 3 * Eq + 4) + (1 - scaling_factor) * (8 + 2 * Eq))
/ (1 + scaling_factor * 1/5 + (1 - scaling_factor))  
 
 
else
 
else
return (scaling_factor * (18 + 3 * Eq + 17/5) + (1 - scaling_factor) * (26 + 5 * Eq))
+
return (scaling_factor * (18 + 3 * Eq + 17/5) + (1 - scaling_factor) * (8 + 2 * Eq))
/ (1 + scaling_factor * 1/5 + (1 - scaling_factor))  
 
 
end
 
end
 
end
 
end
Line 677: Line 675:
 
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 * (46/5 + 2 * Eq) + (1 - scaling_factor) * (13/2 + 8/4 * Eq))
+
return (scaling_factor * (46/5 + 2 * Eq + unexpected_result_used / 2) + (1 - scaling_factor) * (13/2 + 8/4 * Eq))
 
end
 
end
  
Line 688: Line 686:
 
local Hellworm = frame.args[7]
 
local Hellworm = frame.args[7]
 
if (Hellworm == 'yes') then
 
if (Hellworm == 'yes') then
return (scaling_factor * (18 + 3 * Eq + 4) + (1 - scaling_factor) * (8 + 2 * Eq))
+
return (scaling_factor * (18 + 3 * Eq + 4) + (1 - scaling_factor) * (8 + 2 * Eq + 18 + 3 * Eq))
/ (1 + scaling_factor * 1/5)  
+
/ ((1 - scaling_factor) * 2)
 
else
 
else
return (scaling_factor * (18 + 3 * Eq + 17/5) + (1 - scaling_factor) * (8 + 2 * Eq))
+
return (scaling_factor * (18 + 3 * Eq + 17/5) + (1 - scaling_factor) * (8 + 2 * Eq + 18 + 3 * Eq))
/ (1 + scaling_factor * 1/5)  
+
/ ((1 - scaling_factor) * 2)
 
end
 
end
 
end
 
end

Please note that all contributions to Fallen London Wiki are considered to be released under the Creative Commons Attribution-ShareAlike (see Fallen London Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)
Preview page with this template

Template used on this page: