Most visitors online was 17251 , on 24 May 2024
Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!
Join Today! BOOL bAdjDropRate = TRUE; // ÀϹÝÀûÀ¸·Ð ·¹º§Â÷¿¡ ÀÇÇÑ µå¶ø·üÀúÇÏ°¡ ÀÌ·ïÁø´Ù.
if( GetIndex() == MI_CLOCKWORK1 ) //·¹º§Â÷¿¡ÀÇÇÑ µå¶ø·üÀúÇÏ°¡ ¾ø´Ù.
bAdjDropRate = FALSE;
if( GetIndex() == MI_DEMIAN5 || GetIndex() == MI_KEAKOON5 || GetIndex() == MI_MUFFRIN5 )
bAdjDropRate = FALSE; // À̺¥Æ®¸÷µéµµ ·¹º§Â÷¿¡ÀÇÇÑ µå¶ø·ü ÀúÇÏ°¡ ¾ø´Ù.
#ifdef __EVENT_MONSTER
if( CEventMonster::GetInstance()->SetEventMonster( lpMoverProp->dwID ) )
bAdjDropRate = FALSE;
#endif // __EVENT_MONSTER
#ifdef __EVENTLUA_SPAWN
if( prj.m_EventLua.IsEventSpawnMonster( lpMoverProp->dwID ) )
bAdjDropRate = FALSE;
#endif // __EVENTLUA_SPAWN
if( bAdjDropRate )
{
int d = pAttacker->m_nLevel - (int)lpMoverProp->dwLevel;
if( d <= 1 ) { nProbability = 100; nPenyaRate = 100; }
else if( d <= 2 ) { nProbability = 80; nPenyaRate = 100; }
else if( d <= 4 ) { nProbability = 60; nPenyaRate = 80; }
else if( d <= 7 ) { nProbability = 30; nPenyaRate = 65; }
else { nProbability = 10; nPenyaRate = 50; }
}