• API
• FAQ
• Tools
• Archive
SHARE
TWEET Untitled Patashu  Apr 18th, 2019 78 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
1. function gainedInfinityPoints(next) {
2.     let div = 308;
3.     if (player.timestudy.studies.includes(111)) div = 285;
4.     else if (player.achievements.includes("r103")) div = 307.8;
5.     if (player.galacticSacrifice&&player.tickspeedBoosts==undefined) div -= galIP()
6.
7.     do
8.     {
9.         if (player.infinityUpgradesRespecced == undefined) var ret = Decimal.pow(10, player.money.e/div -0.75).times(getIPMult())
10.         else var ret = player.money.div(Number.MAX_VALUE).pow(2*(1-Math.log10(2))/Decimal.log10(Number.MAX_VALUE)).times(getIPMult())
11.         if (player.timestudy.studies.includes(41)) ret = ret.times(Decimal.pow(player.aarexModifications.newGameExpVersion?1.5:1.2, player.galaxies + player.replicanti.galaxies))
12.         if (player.timestudy.studies.includes(51)) ret = ret.times(player.aarexModifications.newGameExpVersion?1e30:1e15)
13.         if (player.timestudy.studies.includes(141)) ret = ret.times(new Decimal(1e45).dividedBy(Decimal.pow(15, Math.log(player.thisInfinityTime+1)*Math.pow(player.thisInfinityTime+1, 0.125))).max(1))
14.         if (player.timestudy.studies.includes(142)) ret = ret.times(1e25)
15.         if (player.timestudy.studies.includes(143)) ret = ret.times(Decimal.pow(15, Math.log(player.thisInfinityTime+1)*Math.pow(player.thisInfinityTime+1, 0.125)))
16.         if (player.achievements.includes("r116")) ret = ret.times(Decimal.pow(2, Math.log10(getInfinitied()+1)))
17.         if (player.achievements.includes("r125")) ret = ret.times(Decimal.pow(2, Math.log(player.thisInfinityTime+1)*Math.pow(player.thisInfinityTime+1, 0.11)))
18.         if (player.dilation.upgrades.includes(7)) ret = ret.times(player.dilation.dilatedTime.max(1).pow(1000))
19.         if (player.boughtDims) {
20.             ret = ret.times(Decimal.pow(Math.max(1e4/player.thisInfinityTime),player.timestudy.ers_studies+(next==5?1:0)))
21.             ret = ret.times(Decimal.pow(player.thisInfinityTime/10,player.timestudy.ers_studies+(next==6?1:0)))
22.         }
23.     } while (!Number.isFinite(ret.logarithm));
24.
25.     return ret.floor()
26. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy.

Top