Jump to content

Is it actually possible to do more than 65535 damage in one hit?


SteveBob7

Recommended Posts

This has to do with data types. If you look here you'll see the different datatypes one can use while programming in C++.

 

Since the game uses an unsigned short (int16) for damage it shouldn't be possible to deal more damage. They use a short instead of a long long or something like that to save precious bytes (which is memory).

 

Actually you should be able to deal more damage if you have enchantments or other perks since you can only put 65535 damage on a weapon (I presume) but it might have another short for enchantments and then finally a formula putting it all together and then dealing the damage

Edited by DavidD
Link to comment
Share on other sites

What are you trying to kill that has more than 65535 hit points? How many times are you going to have to hit it? How many hits will it take this enemy take to kill you?
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...