Home › Forums › Angry Birds Epic Forum › Golden Pig Machine › Reply To: Golden Pig Machine
@eric2203 Everything else I’ve investigated in this game has relatively simple linear scaling, and I don’t expect the set items to be different enough that they need an inverse factor. What I meant by a “multiple-step calculation” is that there are multiple points where intermediary results are rounded, which introduces a variance that makes the final results deviate from a strict linear formula.
An example of this that I’ve actually worked out is the Wealthy Rogue’s health. (I’ve been tracking pig stats in all the castles since level 17 on my alt account; WR appears in the Cobalt castle.) I was able to approximate WR’s health with a linear formula, except that every 8 levels starting from 20 I’d be high by 1, and every 8 levels starting from 22 I’d be low by 1. This annoyed the hell out of me… until I finally realized that WR’s health was always exactly half of the Big Boss’s health. Now, BB I could calculate exactly with the formula Health = Bround(74.75 * (Level+3)). All I had to do was add a second rounding step to it as Health = Bround(0.5 * Bround(74.75 * (Level+3))), and I now had the WR’s health calculated exactly at all levels.
(Bround = banker’s rounding function, i.e. “round to even” as I’ve described previously.)
That was actually the first thing I tried to do for set item stats, but it doesn’t appear to work for this case. Another possible multi-step form is adding the rounded results from two separate linear formulas – that’s why I had attempted to work it out as an offset from the standard item values. Just now I tried an offset from the base bird stats. Nothing is working out, though.