Tallywa 35 Posted June 12, 2018 Share Posted June 12, 2018 Hello, I would like to block the binding of stones on a weapon compared to two vnum, but I block and it does not work Link to comment Share on other sites More sharing options...
3bd0 181 Posted June 12, 2018 Share Posted June 12, 2018 I don’t have access to any source file right now, so if you just pasted the part that you edited here i could help you Link to comment Share on other sites More sharing options...
Tallywa 35 Posted June 12, 2018 Author Share Posted June 12, 2018 case ITEM_METIN: { LPITEM item2; if (!IsValidItemPosition(DestCell) || !(item2 = GetItem(DestCell))) return false; if (item2->IsExchanging()) return false; if (item2->GetType() == ITEM_PICK) return false; if (item2->GetType() == ITEM_ROD) return false; int i; for (i = 0; i < ITEM_SOCKET_MAX_NUM; ++i) { DWORD dwVnum; if ((dwVnum = item2->GetSocket(i)) <= 2) continue; TItemTable * p = ITEM_MANAGER::instance().GetTable(dwVnum); if (!p) continue; if (item->GetValue(5) == p->alValues[5]) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("°°Àº Á¾·ùÀÇ ¸Þƾ¼®Àº ¿©·¯°³ ºÎÂøÇÒ ¼ö ¾ø½À´Ï´Ù.")); return false; } if (item->GetVnum() == 40159 && item->GetVnum() == 28933) { ChatPacket(CHAT_TYPE_INFO, LC_TEXT("°°Àº Á¾·ùÀÇ ¸Þƾ¼®Àº ¿©·¯°³ ºÎÂøÇÒ ¼ö ¾ø½À´Ï´Ù.")); return false; } } Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now