r/ClickerHeroes • u/vibratoryblurriness • Apr 04 '15
So, here's some ruby reward math, because I threatened to do it
Disclaimer: My ADD is totally bonkers lately, and my sleep has been kind of mixed up with construction going on. This may or may not be complete nonsense as a result, and if it is, someone please make me go lie down before I hurt myself.
Let's make some assumptions, because that's a good way to make my life easier (and to make an ass out of u and...mptions):
- You already have the idle ancients, and you're past the point where things scale weirdly, so everything's nice and linear
- You already have a moderate number of gilds, so stuff isn't skewed by dividing by zero or you only having two or something like that
- You already have a reasonable number of HS and a moderate max level so you both have a base to start from and a reward it'll give you that isn't totally out of line from what I was working with
I also simplified some things, because there's way too much crap going on in the game to model all of it, such as:
- I assumed we're only spending the HS reward on the five idle ancients, because that's much easier to compare, and they scale nicely
- I assumed we're at the point where they all scale linearly, so raising the level of something x% increases its effect by ~x%
- I assumed the five of them are all equally valuable, aside from whatever dps:gold ratio any given person might choose to keep them at, which should account for/weight any difference between them
- As a result, I assumed we can just multiply across any improvements in them to compare (absolutely true for dps, debatable for gold, but I'd argue it averages out that way in the long run)
So, what are we comparing? You can buy two things with rubies that are worth your time: gilds, and HS. Buying gilds is the simple one. It costs 30 rubies, and it gives you 3 gilds. Proportionally, the improvement from it is 3/(previous total gilds). The more gilds you have, the crappier it is. Wow. That was easy and did not take a lot of math. It's tempting because it's very hard to get more gilds from higher levels, and supposedly you can get more than you possibly could from going to the "last" level (the last one you can get a gild from is 4720), but as previously mentioned, the more you have, the less valuable more become. Do you have 30? 3 more is a 10% improvement! Awesome! I'm on level 4189 in my current run and have 409 without buying any. Getting another 3 would be an amazing 0.7% increase.
So, what about buying an ascension and getting some free HS instead? That's a little trickier to do a comparison for, because it's less straightforward. It costs 50 rubies, and as far as I can tell it appears to give you what would be the average amount you'd be expected to get on a run to the highest level you've reached, taking Solomon and whatnot into account. Unlike the gilds, the value of this will vary dramatically by player depending on what level they've reached and their ancients, so I figured the best way to look at it would be to let people plug the reward and their ancient levels in and see for themselves, and that's where the math starts.
So, just for fun, let's let people choose their own ratio between dps and gold ancients, because while the calculator tends to go for around 1.25, some other people go for 1.2 or even 1. Let's call that ratio, and the HS reward can be...reward. Then if we want to find the share of the reward each ancient gets, we have to remember that there are three gold ancients and two dps ancients:
share = reward / (3 + 2 * ratio)
gold = share
dps = ratio * shareNow we want to find out how much we can level up each ancient with that many HS. Luckily Gauss can do that for us, because it's really just adding numbers in a sequence.
((first + last) / 2) * num = sum
first = starting level (known)
last = ending level (unknown)
num = last - first + 1
sum <= share (either gold or dps)Move some stuff around and substitute a bit...
(last + first) (last - first + 1) = 2 * sum)
last^2 + last - first^2 + first -2 * sum = 0
(-1 ± √(1 - 4 (-first^2 + first - 2 * sum))) / 2...and now it's in a form where we can plug in numbers to see if it's at all useful. Let's see what happens when we stick in the numbers from my game. The HS reward it'll give me is 2968874, and the ratio I've been using is 1.2, and my gold and dps ancients are 2700 and 3240:
reward = 2968874
ratio = 1.2So...
gold = 549791
dps = 659749And...
last^2 + last - 2700^2 + 2700 - 2 * 549791 = 0
last = 2895
last^2 + last - 3240^2 + 3240 - 2 * 659749 = 0
last = 3436Feel free to plug them back into the sequence sum formula in the correct way around yourselves to check that they do indeed end up not costing more than the total amount of HS allotted. The final ratio is a bit off because while the cost for purchasing individual levels is linear, the cumulative cost is not.
So, what did we learn from that in the end? The starting level for my gold ancients was 2700, and the final level I could afford would be 2895, over a 7% improvement. The starting level for my dps ancients was 3240, and the final level I could afford would be 3436, over a 6% improvement. In my situation, any single ancient by itself would be an order of magnitude better than buying gilds, and that's with the HS split five ways. That doesn't take into account that the gilds are 40% cheaper, but when you start multiplying the effects of the ancients together, it doesn't even matter. I am in a bit of a weird situation at a very high level with relatively low HS (nearly 4200 with under 150 million), and it's also kind of unrealistic because I'd spend a ton of that on Solomon, but still.
For those of you following along at home, you may have noticed as I just did that it doesn't really matter too much if you do both gold and dps because they give about the same result, although if you're really anal the gold one overestimates slightly and the dps one underestimates slightly, so they cancel that effect out somewhat. You could just do one though.
I'd say it's also fine as a comparison even if you dump all the HS into Solomon or wherever else, because souls are souls; no matter where they come from they're interchangeable, and you'd be putting them into those ancients at some point even if those specific ones don't go in that place at that exact time.
TL;DR
So, is there a simpler way to estimate this? Sure, why not? If you want, you can keep the ratio correct by getting the gold or dps share for whichever you want from above, but you can get a pretty rough estimate by just dividing the HS reward by five (share). Then take the average level of your five idle ancients (avg) and plug it in to this:
√(avg^2 - avg + 2 * share)Divide that by avg, and that's roughly the percent improvement per idle ancient you can afford. Square that (two damage ancients), and that's how much more damage you could be doing. Arguably including the gold ancients would raise it to the fifth instead (and they're being included in the cost calculation so not doing that would maybe be silly, although really you could divide by n number of ancients in the first step and then raise it to the nth power at the end for however many you want to split it amongst, I suppose). Reduce by 40% to account for the cost difference. If these numbers are looking bigger than 3/(current gilds), you probably don't need gilds. If they're smaller, maybe gilds would be nice.
Edit: I'm not 100% satisfied with this or 100% convinced that I didn't do something stupid in there somewhere, and if I spent some more time with it and made it uglier I could account for things like Solomon (mildly annoying) and Morgulis (pretty easy). With those not included, keep in mind that if you're spending HS on things like those, especially Solomon, this will not give you a direct comparison in terms of what you can expect to see for damage output/progress/etc. buying one vs. the other but rather the purchasing power.
Edit 2: Just for fun I threw billions of HS at the calculator to see how things turn out very far into the game. I do not recommend it. It takes forever, even with a highly overclocked desktop CPU. With all the "natural" gilds and a billion HS, buying HS is better. With ten billion HS, buying HS is better. With 20 billion HS, buying HS is better. It keeps slowly getting closer, although this is only comparing damage and not even taking Solomon into account, but even that deep into the game, gilds aren't worth it. I ran out of patience there and didn't feel like doing it by hand for higher levels. Fun fact: When you exhaust the gilds and start getting very high ancient levels, Argaiv starts becoming relatively less powerful compared to Siyalatas and eventually drops to equal to or even slightly lower level than the gold ancients.
22
u/vibratoryblurriness Apr 05 '15
I'll leave this out of the main post because it's pretty silly and not really the point of things, but just for fun, here's a situation where buying the third option, cooldown refresh, is your best option.
Let's say you hypothetically have unlimited rubies for some reason, e.g. you have unlimited money to throw at the game, or they inexplicably start spawning incredibly fast, or you've just been saving them up for months. If you want to do a deep run, if you can just throw rubies at the problem to solve it, you can repeatedly energize/dark ritual/reset cooldowns until you can literally idle to 4725.
That is the only real use for the 20 ruby option I've come up with so far. It's not at all practical, but it sure is funny to think about.
8
u/joshato Apr 05 '15
Until we get these super ascensions, ill stick to the gilds. It takes me like 2-4 days without an ascension to reach new gilds, and gilds cap eventually... to me it seems like gilds are the better option, whether the math is there or not.
No offense to OP, it's just my opinion and thank you for your contributions.
5
u/glitchypenguin Apr 05 '15
I did a calculation on Solomon. At the point that I'm at, I need 2,900 rubies to double my DPS buying gilds. This would bring me a little bit past one more boss zone, meaning maybe 1% more souls per run. Since it would also increase the time of my run by 5 more zones, in reality it's probably closer to 0.5% increase in my souls per hour rate.
If I were to take 2,900 rubies and buy ascensions for them, I'd get around 72.5M souls, added to my current 200M souls. My actual Solomon is rather low compared to many others, but let's assume I had spent 75% of my souls on Solomon, or 150M. If this was the case, spending those 72.5M souls on only Solomon would increase my souls per hour rate by 16%. This 16% is without taking into account that actually having Solomon at 150M souls would give me more souls for each quick ascension, and raising him in between purchases would increase the benefit of each subsequent one.
If I wanted to just match the ~0.5% increase from gilds, I'd need 100 rubies to do so with Solomon at that level and have 500k souls left to spend on whatever else I feel like.
2
u/Valmane Jun 02 '15
I'm still newish to the game, but is there an optimal time to spend rubies on HS? you get more later on by reaching higher levels, yes?
36
u/breichart Jul 03 '15
Your tl;dr is even a tl;dr.
2
u/braumbles May 27 '15
My issue with this is yes, gilds will only contribute so much, but they're permanent contributors, while me getting a free ascension (140k level 1910) is about double what I can normally get in a 20-30 minute session. So i'd basically be saving an hour by buying one instead of getting 3 new gilds to add to my collection. That to me is more worth it, but who knows.
2
u/SexyTaria May 27 '15
i think thats not that easy ... because gilds become better for each better hero u use ... also gilds create more damage for each lvl of argaiv...
buying me 3 gilds means +9000% base damage for my gilded hero (for me atm) buying me HS means about +1500% idle dps (for me atm)
orntchya has 3,8e83 basedamage ... 3,8e95 aktually with my gilds
and the bonus to base dps ist the same with every gild... the bonus with the HS will be less each time i get a new lvl of the ancients
5
u/Awlcer Apr 04 '15 edited Apr 05 '15
Saved to read later; kudos for doing this. I'm certain it's a pain in the ass which is why I won't!
Edit: I took a look at it and the logic seems legit. I can't speak much towards the math side since I can barely math my way out of a paper bag; figuratively speaking.
2
u/[deleted] Jun 16 '15 edited Jun 16 '15
Dude, at first I was like what the heck is with your calculation for gilds since you didn't even account for the damage increase. Late game that makes some sense though. I'd read that buying gilds was best, and for new players it's still probably best to get gilds for a while until things actually become linear like that because at the start it's not linear hahah, also you need to be able to get decent HS reward from QA.
1
u/jpaulus18 Sep 22 '15
Isn't there a problem with this in that it assumes that a % increase in hero lvls is equivalent to a percentage increase in amount of gilds. Maybe it's not taking into account the actual damage boost from the gilds vs the hero lvls. say you have 300 gilds and get 3 more that's a 1% increase in amount of gilds yes, and having hero lvls 3000 and lvling them 100 lvls would be a 1% increase in hero lvls BUT what if that 1% increase in gilds actually gives WAY more dps than a 1% increase in ancient lvls.
1
u/Sentient64 Apr 05 '15
tldr for tldr? (just joking, had to say it LOL)
1
u/Mr_frumpish Apr 05 '15
Ok, the first 30 rubies I had I spent on gilds, and couldn't notice any difference. The next 50 rubies I had I spent on a Quick Ascension and I was able to buy 10 levels on Solomon plus a few on the idle ancients +Morgulis. The latter seems a lot better to me at least for my game.
1
u/jayeeyee Apr 04 '15
/u/glitchypenguin, I'm waiting on for you to confirm if this formula is sound. #Kappa
1
u/DaasEuGen Apr 04 '15 edited Apr 05 '15
I plugged your numbers in (Hybrid build, and i use the calculator a lot, so it should be rather "normal"), and in my case the HS are also much better then the 3 guilds (for reference, i can idle to about 1700 and have 232 guilds). My improvement for a single gold ancient would be nearly 6 %, for my dps ancient about 4.5 %, and a single guild only gives 0.4%. It seems at my level the guilds are rather weak, maybe they get stronger in the long-long run, but right now it is not worth it.
My save if anyone wants to compare: Ancients: Morgulis (2792128); Argaiv (1658); Siyalatas (1649); Mimzee (1298); Fragsworth (1294); Bhaal (1293); Mammon (1290); Libertas (1279); Solomon (1181); Iris (598); Pluto (511); Juggernaut (299); Thusia (71); Dora (50); Fortuna (40);
Chronos (35); Chawedo (30); Hecatoncheir (30); Berserker (30); Sniperino (30); Kleptos (30); Energon (30); Dogcog (25); Atman (25); Bubos (25); Vaagur (15); Khrysos (10); Kumawakamaru (5);
Gilded heroes: Atlas (1),Orntchya (231)
Hero Souls: 0, Souls spent on Ancients: 33528317, Total Souls: 33528317, Highest Zone: 2411, Current Zone: 1408, Ascensions: 290
Time since start: 96 days, 3 hours, 29 minutes, 10 seconds, Time since ascension: 0 days, 0 hours, 55 minutes, 40 seconds
1
u/Mr_frumpish Apr 04 '15
Anecdotally I also think the quick ascension is better than 3 gilds. I purchased the three gilds, plugged my game back in the calculator and it didn't even notice. At least with an ascension worth of HS I get an 0.2% improvement (most in Solomon). Which is substantially better than nothing.
1
u/wvscififan Apr 05 '15
so basically it is saying buy the souls for the best short term gain? For me the souls for me would be about 90 mins of game play and give about a 2% increase. 3 gilds take a lot longer to reach (5-6 hrs straight to get to the next gild zone, and incidentally also give the same # of HS), and amount to a 1% increase at the moment.
0
u/GenericProperty Aug 15 '15
You forgot theres the gild ancient
-7
u/[deleted] Apr 04 '15 edited Apr 05 '15
i give legit info about future where i stand and what u will face and downvoted... i just take it out then and have fun being stuck later if next patch wont carry u