Jump to content

How To Add Diamond on Belt


Recommended Posts

Hello,
i can't found here, how add diamond on belt, so:

Find:

Spoiler

def __CanAddAccessorySocket(self, dstSlotPos)

and in this def change:

Spoiler

if item.GetItemType() != item.ITEM_TYPE_ARMOR:

to:

if not item.GetItemType() in (item.ITEM_TYPE_ARMOR, item.ITEM_TYPE_BELT):

 

Spoiler

if not item.GetItemSubType() in (item.ARMOR_WRIST, item.ARMOR_NECK, item.ARMOR_EAR):
            return False

to

if not item.GetItemType() == item.ITEM_TYPE_BELT:
            if not item.GetItemSubType() in (item.ARMOR_WRIST, item.ARMOR_NECK, item.ARMOR_EAR):
                return False

It is all, my "script".

Sorry for english :)

  • Love 2
Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...

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.