Setup custom rates for premium char (SP and EXP)
#1

GameServer/NPCProto.cpp

Line: 87

 

#ifdef PREMIUM_CHAR
//XX - 프리미엄캐릭터 : 몬스터를 죽였을때 획득하는 EXP/SP 10% 증가
int CNPCProto::getExpForPremiumChar( int premium_type )
{
int ori_exp = m_exp;
int exp = 0;

switch (premium_type)
{
case PREMIUM_CHAR_TYPE_FIRST:
exp = (int)(ori_exp * 1.1f); //10% EXP change here
break;

default:
exp = ori_exp;
break;
}

// LOG_DEBUG("TEST (exp) : %d - %d", ori_exp, exp);

return exp;
}

int CNPCProto::getSkillPointForPremiumChar( int premium_type )
{
int ori_skillpoint = m_skillPoint;
int skillpoint = 0;

switch (premium_type)
{
case PREMIUM_CHAR_TYPE_FIRST:
skillpoint = (int)(ori_skillpoint * 1.1f); //10% SP change here
break;

default:
skillpoint = ori_skillpoint;
break;
}

// LOG_DEBUG("TEST (sp) : %d - %d", ori_skillpoint, skillpoint);

return skillpoint;
}
#endif

 

#2

you can also expand that, for example more gold at monsters.

more club points?

Regards

#3

Dont spam in topic. Create new topic in help section. READ RULES!!!

#4


2 hours ago, rondo157 said:




READ RULES!!!




where does it say you can't ask a question in a guide topic? 



#5

I can open up a new topic. 

But personally, I would find it better. When everything is in one place. 

But I'm opening up a new topic. 



Forum Jump:


Users browsing this thread: 1 Guest(s)