Jump to content

Recommended Posts

  • Premium

I don't really understand your problem, but just delete the usage of the UNIQUE_GROUP_RING_OF_LANGUAGE or replace the IsEquipUniqueGroup event to this:

bool CHARACTER::IsEquipUniqueGroup(DWORD dwGroupVnum) const
{
	if (dwGroupVnum == UNIQUE_GROUP_RING_OF_LANGUAGE)
		return true;

	{
		LPITEM u = GetWear(WEAR_UNIQUE1);

		if (u && u->GetSpecialGroup() == (int) dwGroupVnum)
			return true;
	}

	{
		LPITEM u = GetWear(WEAR_UNIQUE2);

		if (u && u->GetSpecialGroup() == (int) dwGroupVnum)
			return true;
	}

	return false;
}
  • Love 1
Link to comment
Share on other sites

  • 7 months later...

 

I don't really understand your problem, but just delete the usage of the UNIQUE_GROUP_RING_OF_LANGUAGE or replace the IsEquipUniqueGroup event to this:

bool CHARACTER::IsEquipUniqueGroup(DWORD dwGroupVnum) const
{
	if (dwGroupVnum == UNIQUE_GROUP_RING_OF_LANGUAGE)
		return true;

	{
		LPITEM u = GetWear(WEAR_UNIQUE1);

		if (u && u->GetSpecialGroup() == (int) dwGroupVnum)
			return true;
	}

	{
		LPITEM u = GetWear(WEAR_UNIQUE2);

		if (u && u->GetSpecialGroup() == (int) dwGroupVnum)
			return true;
	}

	return false;
}

hello sorry if disorder, can you tell me where I find this UNIQUE_GROUP_RING_OF_LANGUAGE or this IsEquipUniqueGroup

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



  • Similar Content

  • 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.