Created
February 14, 2018 01:25
-
-
Save maurer/d6e9dcd127c3c122bcc8079cff0d1ee5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
name: 'Ancestral Hourglass', | |
id: 281, | |
fixed: function(save) { | |
return save.reincarnation >= 100; | |
}, | |
random: function(save) { | |
var lineageBought = save.fmt36Val; | |
var lineageLevel = save.lineageLevels[save.lineageFaction - 1]; | |
return ((lineageBought / 3600) ^ (1 - 0.01 * ((lineageLevel ^ 1.01) - save.reincarnation / 5)) / 10) / 100 | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment