Jump to content

Equipment viewer for weaponcostume


Recommended Posts

  • 1 year later...
  • Active+ Member

Fix View Equipment Weapon costume

Because some people are stupid and say "Solved" without giving the solution:

 

Search

 

    def RefreshSlot(self):
        equipmentDict = self.wndEquipment.itemDataDict
        for i in [11, 12]:
            if equipmentDict.has_key(i):
                self.wndCostumeEquipmentSlot.SetItemSlot(i, equipmentDict[i][0], equipmentDict[i][1])

Add at--  for i in [11, 12, number of weapon costume index]

 

For example mine is index 13 so I will add

 

    def RefreshSlot(self):
        equipmentDict = self.wndEquipment.itemDataDict
        for i in [11, 12, 13]:
            if equipmentDict.has_key(i):
                self.wndCostumeEquipmentSlot.SetItemSlot(i, equipmentDict[i][0], equipmentDict[i][1])

 

Extend the list with other indexes for costume_mount, rings, etc.
 

  • Metin2 Dev 1
  • Love 1

spacer.png

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



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