Jump to content

[C++] Stackable stones


tierrilopes
 Share

Recommended Posts

Go to file char_item.cpp
After:

 ITEM_METIN:

Look for:

 ITEM_MANAGER::instance().RemoveItem(item, "REMOVE (METIN)");

Replace with:

item->SetCount(item->GetCount() - 1);

 

Then you can make your stone stackable and it will only remove 1 stone instead of the stack when adding to equip.

 

Note: Not tested, someone test and tell it if worked, thanks.

Edit: tested and working

  • Like 2
Link to comment
Share on other sites

  • 2 weeks later...

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...