Home › Forums › Angry Birds Epic Forum › Golden Pig Machine › Reply To: Golden Pig Machine
@dr_ishmael @angryjohnny @mvnla2
I don’t think the formula is as simple as Strength=Ax+B where x is the level, A is the multiplier and B is the offset. I’ll attempt to describe why I’m stating that…
You can see the progression isn’t linear. For example, let’s use Chuck’s weapon strength. @dr_ishmael tells us that he has 3 known data points: level 29 – 296, level 37 – 364, level 41 – 400. 41-29=12 and 400-296=104. A potential multiplier could be 104/12=8.667. The offset works out to 45 in that case. Problem is, at level 37, which is our other known data point, this falls apart: 37*8.667+45=365.7.
What this tells me is that the offset is also a function of the level. So the formula is probably more like Strength=Ax+Bx (x being the level).
But… that’s not right either: Ax+Bx is the same as (A+B)*x. We’re back to a linear formula, which I’ve just said is incorrect. So long story short, I came up with the following formula:
Strength=Ax+B/(100-x)
That also comes from the fact that the offset seems to be inversely proportional to the level. That’s why I have something like this: B/(100-x).
Forgive me for not explaining this more clearly, but at the end of the day, it seems to almost work. Using Chuck’s known data points for weapon strength in @dr_ishmael’s spreadsheet, I came up with the following values for A and B:
Strength=7.18*x + 6236/(100-x) where x is the level.
This “almost” works for every level. If I plug this into Excel, I get the following:
Level Strength (Chuck)
1 70.17779293
2 77.99888736
3 85.83323648
4 93.6812545
5 101.5433731
6 109.4200422
7 117.3117313
8 125.2189301
9 133.1421499
10 141.0819248
11 149.0388128
12 157.0133973
13 165.0062886
14 173.0181251
15 181.0495757
16 189.1013407
17 197.1741545
18 205.2687872
19 213.3860467
20 221.5267817
21 229.6918837
22 237.8822897
23 246.0989857
24 254.3430094
25 262.615454
26 270.9174717
27 279.2502777
28 287.6151549
29 296.0134585
30 304.446621
31 312.916158
32 321.4236743
33 329.9708704
34 338.55955
35 347.1916277
36 355.8691377
37 364.5942435
38 373.3692482
39 382.1966058
40 391.0789339
41 400.0190276
It’s slightly off compared to the data from @dr_ishmael, but it’s very close! And the value for level 33 seems totally wrong (332). Looks like @angryjohnny provided that data point. You sure about that one, @angryjohnny?
I haven’t done the other birds and I haven’t done off-hands either. If someone could take a look at this and see if that makes sense, I’d appreciate it.
I do have one problem with what I just did: I don’t see a programmer at Rovio picking the values I calculated out of thin air. There must be some reasoning behind them. These values may themselves be derived from something else within the game. Who knows…