Jump to content

Fix Change Equipment with Full Inventory


ATAG

Recommended Posts

  • Active Member

Hi!

 

I don't know if it is a perfect solution, but it works fine for me.

 

Open game/char_item.cpp and find this:

if (false == CanUnequipNow(item2) || false == CanEquipNow(item1))

Replace to this:

		//if (false == CanUnequipNow(item2) || false == CanEquipNow(item1))
		if (false == CanEquipNow(item1))
			return false;
		if (item2->IsDragonSoul() && false == CanUnequipNow(item2))
			return false;

Then compile and run...

  • Love 21
Link to comment
Share on other sites

  • 4 months later...
  • 9 years later...

Open game/char_item.cpp and find this:

if (false == CanUnequipNow(item2) || false == CanEquipNow(item1))

Replace to this:

        if (item2->IsDragonSoul() || item2->GetType() == ITEM_BELT)
        {
            if (false == CanUnequipNow(item2) || false == CanEquipNow(item1))
                return false;
        }

#Fix

Link to comment
Share on other sites

Announcements



  • Similar Content

  • Similar Content

  • Similar Content

  • Tags

  • Activity

    1. 5

      Effect weapons

    2. 3

      Crystal Metinstone

    3. 3

      Feeding game source to LLM

    4. 113

      Ulthar SF V2 (TMP4 Base)

    5. 3

      Feeding game source to LLM

    6. 0

      Target Information System

    7. 3

      Feeding game source to LLM

    8. 2

      anti exp explanation pls

  • Recently Browsing

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.