[Admin] tierrilopes Posted November 16, 2015 at 10:35 PM Share Posted November 16, 2015 at 10:35 PM Ir até ao char_item.cpp Procurar por: case ITEM_SKILLBOOK: Deverá estar assim: Substituir os dois: ITEM_MANAGER::instance().RemoveItem(item); Por isto: item->SetCount(item->GetCount() - 1); Deverá ficar assim (comentei o anterior para ser mais visivel onde modificar): Pode-se utilizar o mesmo para outros itens que ao serem utilizados removam o stack inteiro. Para reduzir a quantidade do stack em 1 ao invés de remover o stack inteiro noutros itens, basta procurar pelos mesmos na source e substituir: ITEM_MANAGER::instance().RemoveItem(item); Por isto: item->SetCount(item->GetCount() - 1); 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