Go Back   EQEmulator Home > EQEmulator Forums > Development > Development::Development

Development::Development Forum for development topics and for those interested in EQEMu development. (Not a support forum)

Reply
 
Thread Tools Display Modes
  #1  
Old 04-30-2009, 12:36 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Quote:
Originally Posted by cavedude View Post
Why do you need more than 32767 damage?!?!
Heh, you'd have to ask KingMort on that one. It's his number crunching that I need to balance stuff around :P

But yeah. That's why I need that much damage; to have mobs that can hit slow but hard. When you have players with 180k HP, sometimes 32767 damage doesn't cut it.

It is either that, or we lower the stats on gear again. If it was up to me, I would have MUCH less numbers, something simple like 36.
Reply With Quote
  #2  
Old 04-30-2009, 12:37 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

It was probably int16 in the struct at sometime in the past and never updated.
Reply With Quote
  #3  
Old 04-30-2009, 12:39 AM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Quote:
Originally Posted by KLS View Post
It was probably int16 in the struct at sometime in the past and never updated.
Ah, gotcha. So it is safe to update these to their proper values?

I guess i'll go try it; though I don't have my devenv set up, which is why I made this post. ><
Reply With Quote
  #4  
Old 04-30-2009, 01:52 AM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Don't see any reason why they couldn't be updated safely.
Reply With Quote
  #5  
Old 05-03-2009, 09:49 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Quote:
Originally Posted by KLS View Post
Don't see any reason why they couldn't be updated safely.
I just updated the value in npc.h and zonedump.h to int32 and I don't have any issues with it. The rest of the source has it listed as int32 already.

Any chance of getting it committed, or is it not needed for any server except my own? :p
Reply With Quote
  #6  
Old 05-03-2009, 10:15 PM
KLS
Administrator
 
Join Date: Sep 2006
Posts: 1,348
Default

Throw a diff on submissions and I'll commit it with the rest of this combat stuff I'm finishing up(if no one else does first)
Reply With Quote
  #7  
Old 05-03-2009, 10:54 PM
Secrets's Avatar
Secrets
Demi-God
 
Join Date: May 2007
Location: b
Posts: 1,449
Default

Quote:
Originally Posted by KLS View Post
Throw a diff on submissions and I'll commit it with the rest of this combat stuff I'm finishing up(if no one else does first)
here you go.

Quote:
Index: npc.h
================================================== =================
--- npc.h (revision 459)
+++ npc.h (working copy)
@@ -324,8 +324,8 @@
void AIDoSpellCast(int8 i, Mob* tar, sint32 mana_cost, int32* oDontDoAgainBefore = 0);


- int16 max_dmg;
- int16 min_dmg;
+ int32 max_dmg;
+ int32 min_dmg;
sint32 accuracy_rating;

//pet crap:
Index: zonedump.h
================================================== =================
--- zonedump.h (revision 459)
+++ zonedump.h (working copy)
@@ -82,8 +82,8 @@
int8 luclinface; // and beard);
int8 beard; // solar: this probably doesn't work right, was missing from here
// int8 aa_title; ////not loaded from DB
- int16 min_dmg;
- int16 max_dmg;
+ int32 min_dmg;
+ int32 max_dmg;
char npc_attacks[30];
// float fixedZ;
int16 d_meele_texture1;
Reply With Quote
Reply

Thread Tools
Display Modes

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 02:36 PM.


 

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