View Single Post
  #18  
Old 03-05-2013, 12:55 AM
lerxst2112
Demi-God
 
Join Date: Aug 2010
Posts: 1,742
Default

It isn't there, it's somewhere else the value is being used.

Here's an example from Client::Death()
Code:
	// now we apply the exp loss, unmem their spells, and make a corpse
	// unless they're a GM (or less than lvl 10
	if(!GetGM())
	{
		if(exploss > 0) {
			int32 newexp = GetEXP();
			if(exploss > newexp) {
				//lost more than we have... wtf..
				newexp = 1;
			} else {
				newexp -= exploss;
			}
			SetEXP(newexp, GetAAXP());
			//m_epp.perAA = 0;	//reset to no AA exp on death.
		}
There may be more that are less obvious. Some of the rez and sacrifice code is suspect, but I'm too lazy to do the math.
Reply With Quote