Register  |  FAQ  |  Search  |  Memberlist  |  Usergroups  |  Log in 
Reply to topic
 Possible Pent Calculation Bug 
kevrlet
Private
Private

Joined: 30 Dec 2016
Posts: 6
Reply with quote
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.
View user's profile Send private message
  
Lurker
Colonel
Colonel

Joined: 02 Sep 2016
Posts: 270
Reply with quote
IIRC a long time ago they made a change to the pents math.
View user's profile Send private message
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic