PDA

View Full Version : COMMITTED: Mana bug Fix


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

steve
04-27-2010, 05:14 PM
My character on Live has over 33,000 mana with buffs, so it is needed, eventually. SoD really inflated HP/Mana values and Underfoot continues that trend.

Thanks for the fix!