Jump to content

Recommended Posts

  • Replies 2
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Drop time:

 

Common item drop time: item.h 

StartDestroyEvent(int iSec=300);

Change 300 to someting

 

Only by player's dropped item time: char_item.cpp

pkItemToDrop->StartDestroyEvent();

change 30second example:

pkItemToDrop->StartDestroyEvent(30);

 

Sorry i can't remember where is the bonus switch time

 

 

Link to comment
Share on other sites

Bonus scwitch time delete (char_item.cpp)

 

 
if (pPC)
{
DWORD dwNowMin = get_global_time() / 60;
 
DWORD dwLastChangeItemAttrMin = pPC->GetFlag(msc_szLastChangeItemAttrFlag);
 
if (dwLastChangeItemAttrMin + dwChangeItemAttrCycle > dwNowMin)
{
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("ĽÓĽşŔ» ąŮ˛ŰÁö %dşĐ ŔĚł»żˇ´Â ´Ů˝Ă şŻ°ćÇŇ Ľö ľř˝Ŕ´Ď´Ů.(%d şĐ ł˛Ŕ˝)"),
dwChangeItemAttrCycle, dwChangeItemAttrCycle - (dwNowMin - dwLastChangeItemAttrMin));
return false;
}
 
pPC->SetFlag(msc_szLastChangeItemAttrFlag, dwNowMin);
}
}
 
change to:
 
if (pPC)
{
DWORD dwNowMin = get_global_time() / 60;
pPC->SetFlag(msc_szLastChangeItemAttrFlag, dwNowMin);
}
}

 

 

Edit: Sorry for double post..

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.