Jump to content

Type 33 - Ring FIX


Recommended Posts

Hello.

I can wear 2 item type 33. Look mu function:

    if (item->GetWearFlag() & WEARABLE_UNIQUE)
    {
        if ((GetWear(WEAR_UNIQUE1) && GetWear(WEAR_UNIQUE1)->IsSameSpecialGroup(item)) ||
            (GetWear(WEAR_UNIQUE2) && GetWear(WEAR_UNIQUE2)->IsSameSpecialGroup(item)) ||
            (GetWear(WEAR_COSTUME_MOUNT) && GetWear(WEAR_COSTUME_MOUNT)->IsSameSpecialGroup(item)))
        {
            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("?? ??? ??? ??? ? ?? ??? ??? ? ????."));
            return false;
        }
        if (item->GetType() & ITEM_RING)
        {
            if ((GetWear(WEAR_RING1) && GetWear(WEAR_RING1)->IsSameSpecialGroup(item)) || (GetWear(WEAR_RING2) && GetWear(WEAR_RING2)->IsSameSpecialGroup(item)))
            {
            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("NOT WORKING IDIOT"));
            return false;
            }
        }
        if (marriage::CManager::instance().IsMarriageUniqueItem(item->GetVnum()) && 
            !marriage::CManager::instance().IsMarried(GetPlayerID()))
        {
            ChatPacket(CHAT_TYPE_INFO, LC_TEXT("???? ?? ???? ??? ??? ? ????."));
            return false;
        }

    }
}

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

Announcements



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