Possible Pent Calculation Bug

Please report any glitches or bugs you find about the game, forum or website

Moderators: Gods, Imps, Architect, Guardian

Post Reply
kevrlet
Private
Private
Posts: 6
Joined: Fri Dec 30, 2016 12:38 am

Possible Pent Calculation Bug

Post by kevrlet »

I was looking through the original V2 code to see how easy Lazy's suggested pent change would be to implement. I found that pent value is calculated with a divisor of 8, instead of 7 like the code shows.

The formula in the code is (v*v)/7 + 1. So pent 154 should give 3,389 EXP. Instead it gives 2965, which is what it would give if the formula were calculated out of order, or like this (v*v)/(7+1).


This may be intentional, of course, but I find it more than a little curious that the formula would intentionally be changed to exactly what it would be if a minor order of operations error were to occur.
Lurker
Colonel
Colonel
Posts: 270
Joined: Fri Sep 02, 2016 10:27 pm

Post by Lurker »

IIRC a long time ago they made a change to the pents math.
Post Reply