EQEmulator Forums

EQEmulator Forums (https://www.eqemulator.org/forums/index.php)
-   Development::Development (https://www.eqemulator.org/forums/forumdisplay.php?f=590)
-   -   Exp function? (https://www.eqemulator.org/forums/showthread.php?t=24819)

moydock 04-04-2008 10:22 PM

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?

sdtuasrt, MD 04-29-2008 12:35 PM

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.

sdtuasrt, MD 04-29-2008 01:17 PM

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

It's defined to:

Code:

#define EXP_FORMULA level*level*75*35/10

moydock 04-30-2008 06:36 PM

Thanks for the reply, i actually found it a bit back, just searched EXP and went through EVERYTHING... It was hiding.


All times are GMT -4. The time now is 02:06 PM.

Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.