Secrets
04-26-2010, 04:50 PM
This will fix mana being displayed on the client above the max value of an sint16 (32767). Why would you need that much mana? I don't know, but here's a fix.
Index: mob.h
================================================== =================
--- mob.h (revision 1423)
+++ mob.h (working copy)
@@ -154,7 +154,7 @@
sint32 MaxHP;
sint32 ManaRegen;
sint32 EnduranceRegen;
- sint16 Mana;
+ sint32 Mana;
sint32 Endurance;
sint16 ATK;
//would it be worth it to create a Stat_Struct?
http://i42.tinypic.com/efhpop.png
Index: mob.h
================================================== =================
--- mob.h (revision 1423)
+++ mob.h (working copy)
@@ -154,7 +154,7 @@
sint32 MaxHP;
sint32 ManaRegen;
sint32 EnduranceRegen;
- sint16 Mana;
+ sint32 Mana;
sint32 Endurance;
sint16 ATK;
//would it be worth it to create a Stat_Struct?
http://i42.tinypic.com/efhpop.png