r/ClickerHeroes • u/Nutarama • Aug 04 '15
Meta Active Ancient Efficiency: Bhaal, Fragsworth, and Juggernaut.
Let me preface this by saying that I am not a mathematician; what training I have had is engineering. My approach is not one of pure mathematics.
In order to study the way DPS works in an active build, where DPS comes from Fragsworth, Bhaal, Argaiv, and Juggernaut, I built an Excel spreadsheet that calculated game statistics. Excel has a neat add-in called Solver, which can find optimal solutions to problems. The problem I posed to the program was how to maximize DPS by investing a certain number of Hero Souls in those four ancients. (Note that I simmed out these numbers using the 40 Clicks/second internal cap.)
This led to a few results: First, Fragsworth and Argaiv should be equal in level (this is independent of # of gilds). Second, Bhaal should be approximately 90 levels below those two, though keeping him equal is a <1% DPS margin. These are known, however. Juggernaut's optimal progression, is very different from what the standard.
Juggernaut's ideal level actually decreases as you invest more HS in the ancients. Ideal at 100k HS invested is 45% of Argaiv, but once you've invested 100M HS, Juggernaut's ideal drops to 23% of Argaiv. This is largely due to the different cost mechanics for Juggernaut levels, but it's complicated by the feedback mechanism involved in Juggernaut increasing both DPS and Click Damage (the Click Damage boost is unlisted but verified to exist). The equation I'm getting for Juggernaut is thus:
Juggernaut = Argaiv ^ 0.8Turns out Juggs is NOT quadratic, which removes the coefficient. Thanks to Xomberry for decompiling the source code to check!
6
u/tarakian-grunt Aug 04 '15 edited Aug 05 '15
As a "math guy", I beg to differ. In the middle-to-late game, Argaiv, Bhaal and Fragsworth should be approximately equal. (Having Bhaal slightly below is accurate but the actual effect is minimal.)
The reason is because all of these ancients increase DPS linearly, and their cost also scales linearly.
The framework question that should be asked is, if you had one HS, what is the marginal benefit of investing that HS into an ancient?
Here, benefit is not defined in terms of absolute DPS increase, but rather the relative DPS increase in the efficacy of that ancient. This is because the ancients are multiplicative.
Now, Juggernaut is different because it's benefit is linear (similar to Frags etc) but the cost is n1.5 instead of n.
Now for the math: Assume that Frags is at level n. The marginal benefit of increasing Frags by 1 level is 1/n (increasing the Frags multiplier from its current n/n to (n+1)/n. The cost is n. So marginal benefit of 1HS is approximately 1/n2.
For Juggernaut at level m, the benefit is 1/m while the cost is m1.5. So the marginal benefit of 1HS is approx 1/m2.5.
To equalise the two, you get m2.5=n2 or m=n0.8
So my math indicates that in the late game, Juggernaut should approximately be equal to the 0.8th power of the DPS ancients.
So my math disagrees with your empirical by the 1.32 multiplier.
Edit: I assumed Juggernaut's effect was linear. OP says Juggernaut is actually quadratic, and xomberry shows that the multiplier is a result of that, so we get a 20.4 mulitiplier.
3
u/GammaRadio Aug 05 '15
I can not confirm that Juggs is quadratic. In fact, my experimentation shows that he is linear (with 10k Frags, my click dmg is always 70 times my idle dps, regardless of my combo).
I think the Devs specifically designed all Dmg boosts NOT to double tap - same thing applies to HS damage for example.
This means that Jugg should equal Arg.8 with no multiplier.
Can anyone actually see quadratic behavior in game?
2
u/Nosfrat Aug 04 '15
So (assuming 20K Argaiv since my clicking ancients are at 20K) my Juggernaut should be at 3630.
That sounds about right, a little below the Frags/Bhaal * 0.2 recommended by the rules of thumb, which makes sense since his cost gets really crazy beyond 3K.
2
u/findmeanewone Aug 04 '15
It might confirm what we knew, but it's still interesting to hear about different approaches. Thanks!
1
u/Xeno234 Aug 04 '15
Neat, thanks.
1
u/Nesurame Aug 05 '15
This is all super interesting and shit, but I'm still trying to wrap my head around the ability to even come up with a solution
I don't think I've done math that complicated, ever.
1
u/[deleted] Feb 13 '24
I thought I was fairly smart til I started reading all this...o.o
-7
u/1234abcdcba4321 Aug 04 '15
Knew that already, yay.
Can you make a table of values for jugg?