[Admin] tierrilopes Posted December 26, 2015 at 09:43 PM Share Posted December 26, 2015 at 09:43 PM Alterar o número de vezes que se pode utilizar a bússola de metins. Ir até ao ficheiro game/src/char_item.cpp: Procurar por: case 76006: Procurar o seguinte dentro dessa função: if (item->GetSocket(0) >= 6) { ChatPacket(CHAT_TYPE_COMMAND, "StoneDetect %u 0 0", (DWORD)GetVID()); ITEM_MANAGER::instance().RemoveItem(item); } Modificamos o valor onde está o 6. Exemplo caso queiramos que o item permita ser usado 50 vezes: if (item->GetSocket(0) >= 50) { ChatPacket(CHAT_TYPE_COMMAND, "StoneDetect %u 0 0", (DWORD)GetVID()); ITEM_MANAGER::instance().RemoveItem(item); } 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now