Hi guys,
today I found this guide but I can't add the duration to the item.
// char_item.cpp
// 1.Search:
ChatPacket(CHAT_TYPE_INFO, LC_TEXT("속성을 변경하였습니다."));
// 2.Right below you will find:
item->SetCount(item->GetCount() - 1);
// 3.Replace sintax from point 2. with:
bool bRemoveItemNoTime = false;
for (int i = 0; i < ITEM_LIMIT_MAX_NUM; ++i)
{
if (item->GetLimitType(i) == LIMIT_REAL_TIME)
{
bRemoveItemNoTime = true;
break;
}
}
if(bRemoveItemNoTime == false)
{
item->SetCount(item->GetCount() - 1);
}
// uitooltip.py (for see item time in client)
// 1.Search:
if item.USE_SPECIAL == itemSubType:
// 2.Replace with:
if item.USE_SPECIAL == itemSubType || itemSubType == 18:
// Now just go in item_proto.txHi guys,
Can anyone help me?
Thank you.