My source will differ from yours, modified it some. But in your attack.cpp you will have a routine
Code:
bool Client::Attack(Mob* other, int Hand, bool bRiposte, bool IsStrikethrough, bool IsFromSpell, ExtraAttackOptions *opts)
Look somewhere around line 1500~1600 and you will see this.
Code:
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.
}
I would think you could change the one line to read something like this.