|
P2 Pet Exp Problem
Hey Guys, i have a small problem with my p2 pet exp
i changed my exp to x10 but i dont get more exp :P could anyone help me?
bool CAPet::AddExpSP( LONGLONG exp, int sp, bool bDirect )
{
if( GetStmLevel() > 1 || GetFaithLevel() > 1 ) // 충성도나 기아 레벨 2 이상이면 경험치 획득 없음
return false;
if( m_level >= MAX_APET_LEVEL )
return false;
if( DEAD(this) )
return false;
LONGLONG add_exp = 1;
if (m_level <= MAX_APET_LEVEL)
add_exp = 10 * exp;
if (m_level >= MAX_APET_LEVEL && m_exp > GetNeedExp())
add_exp = GetNeedExp();
if ( sp > 0 )
m_nSP += sp;
if(bDirect == false)
{
if( add_exp > 0 && m_pOwner->m_assist.m_avAddition.hcPetExpBoost == true )
{
m_pOwner->m_assist.CureByItemIndex(7344);
add_exp = 4 * add_exp;
}
if( m_pOwner->m_assist.m_avAddition.hcCashPetExpUp_2358 == true )
add_exp = 2 * add_exp;
else if( m_pOwner->m_assist.m_avAddition.hcCashPetExpUp_2359 == true )
add_exp = 3 * add_exp;
|