Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Server Code Submissions

Reply
 
Thread Tools Display Modes
  #1  
Old 04-26-2010, 04:50 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default COMMITTED: Mana bug Fix

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.

Code:
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?

Reply With Quote
  #2  
Old 04-27-2010, 05:14 PM
steve
Discordant
 
Join Date: Jan 2002
Posts: 305
Default

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!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 04:23 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3