Jump to content

Damage stats being rounded incorrectly


Samus

Recommended Posts

Just noticed this, but in the war.zip, the damages are being rounded down regardless if the closest whole number is higher.

 

So for example, this war:

 

http://www.cybernations.net/war_information.asp?ID=782509

 

You can see that Iron Helix lost 47.91% and dealt 52.09% damage.

 

But in the war.zip, this comes out as 47 & 52. Evidently the closest whole number is 48, this makes the individual damage calculations turn up inaccurate as we're only dealing with 99% of the damage rather than the full 100%

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...