Welcome, Guest. Please login or register.
Did you miss your activation email?
November 26, 2024, 07:51:24 am *

Login with username, password and session length
Pages: 1 2 [3]
Print
Author Topic: White Damage on Epics  (Read 16298 times)
lerxst2112
Hero Member
*****
Posts: 724


View Profile
« Reply #30 on: January 01, 2013, 07:22:18 pm »

I don't know how damage can overflow at 16.7M due to being a signed 32 bit integer, yet we have bosses with 100-200MHP (or probably way more in Anguish). Damage pobably just needs a variable type changed to 64 bit.

As I said before, it isn't the amount of damage, it is the way the formulas are implemented.  Also, a 32-bit signed integer can hold +- 2.1 billion, not +- 16.7 million, more than enough for mob hit points.
Logged
Felony
Sr. Member
****
Posts: 394

Trump it


View Profile
« Reply #31 on: January 01, 2013, 07:46:33 pm »

Damage is already sint32 for the max_damage field but there are other aspects to the math and I am a novice at figuring it out.
Logged


If we judged them by the content of their character, they'd be begging us to judge them by the color of their skin
Pages: 1 2 [3]
Print
Jump to:  

Recent

Stats

Members
  • Total Members: 6156
  • Latest: Rin1
Stats
  • Total Posts: 65127
  • Total Topics: 5066
  • Online Today: 370
  • Online Ever: 8678
  • (December 19, 2022, 02:32:09 pm)
Users Online
Users: 0
Guests: 362
Total: 362
TinyPortal v1.0 beta 4 © Bloc