Open main menu
Home
Random
Nearby
Log in
Settings
About Kancolle Wiki
Disclaimers
Kancolle Wiki
Search
Changes
← Older edit
Newer edit →
Module:RemiLib
(view source)
Revision as of 21:46, 19 November 2015
2 bytes added
,
9 years ago
no edit summary
Line 69:
Line 69:
local time = os.time()
local time = os.time()
local rand = math.random()
local rand = math.random()
−
local rtnHash = (math.floor(time*265314426625821*rand)-randomizer*time
) % 2^32
+math.floor(math.random()*1381242451*randomizer)
+
local rtnHash = (math.floor(time*265314426625821*rand)-randomizer*time + math.floor(math.random()*1381242451*randomizer)
) % 2^64
return rtnHash
return rtnHash
end
end
Remi Scarlet
2,922
edits