Closed SafeteeWoW closed 6 years ago
I suppose WoW only emulates bigger numbers using 32 bit ints - I remember they had to make Garrosh Hellscream regen health several times, as his health pool exceeded their number cap.
A very fine solution though!
~Some tricks are used to deal with 64bit integer.~ Because WoW does not offer full support to 64bit integer, and I am worrying that overflow would occur if the user uses 32bit OS, I decide to use string type to store 64bit number instead of number type.Code to confirm WoW can handle 64 bit integer. No print if test passes. Lots of print if the value of exp is changed to 65. The result shows WoW is capable to store and do integer math on 64bit integer. Integer with more bits are not supported.