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-04-2008, 10:22 PM
moydock
Discordant
 
Join Date: Jun 2005
Posts: 286
Default Exp function?

How much does the source have to say about how much exp is gained when an npc is killed? Is there an equation that handles how much exp a character is to gain from an npc based on how much higher or lower level the npc is than him? If so, can someone kindly point me toward where it is done in the source?
__________________
-Croup (the rogue)
Creator of Pandemic (PvP-Racewars)
Reply With Quote
  #2  
Old 04-29-2008, 12:35 PM
sdtuasrt, MD
Fire Beetle
 
Join Date: Dec 2007
Posts: 26
Default

There is a formula. I believe it is #define 'd somewhere. When I get back to my machine with the source on it I'll dig up the location.
Reply With Quote
  #3  
Old 04-29-2008, 01:17 PM
sdtuasrt, MD
Fire Beetle
 
Join Date: Dec 2007
Posts: 26
Default

It's in Zone/features.h -- search for #define EXP_FORMULA.

It's defined to:

Code:
#define EXP_FORMULA level*level*75*35/10
Reply With Quote
  #4  
Old 04-30-2008, 06:36 PM
moydock
Discordant
 
Join Date: Jun 2005
Posts: 286
Default

Thanks for the reply, i actually found it a bit back, just searched EXP and went through EVERYTHING... It was hiding.
__________________
-Croup (the rogue)
Creator of Pandemic (PvP-Racewars)
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 01:17 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