Thread:FixSRwiki/@comment-46261745-20201002230402/@comment-46261745-20201003140623

Oh! Great! I forgot that part, sorry...

... Had to make a number of adjuustments to those initial formulas...

I was hoping to jusut do basica algebra, but the rounding at each step makes it all so much more complicated to reverse engineer...

So first, if I reduce things with the rounding and 7 allied INT, we get a simplified formula like this

min( troopCount, (( max(10, ( (eINT * 10  + (5-10) ) - aINT * 0.7) * 770) / 100) * 0.5) = X

((max(10, ( (eINT * 10  + (0) ) - 4) * 770) / 100) * 0.5 = X

((max(10, ((eINT * 10) - 4) * 770) / 100) * 0.5 = X

And here's an example of how the rounding gets reduced @ 1 enemy INT

((max(10, ((1 * 10) - 4) * 770) / 100) * 0.5 = X

((max(10, 6) * 770) / 100) * 0.5 = X

77 * 0.5 = X

Damage @ 1 eINT = 38

So here would be the table of expected values per enemy INT

Damage @ 2 eINT = 61

Damage @ 3 eINT = 100 -- but we got 98 damage.........??? So my formula is still wrong somewhere...

Damage @ 4 eINT = 138