Advertisement
Guest User

FIX TOOLTIP FOR SKILL BOOK NAME IN CHEST DROP INFO

a guest
Feb 14th, 2020
99
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. FIX TOOLTIP FOR SKILL BOOK NAME IN CHEST DROP INFO
  2.  
  3. 1. open root/uiChestdrop.py
  4. 2. search for:
  5. if 0 != self.tooltipItem:
  6. self.tooltipItem.SetItemToolTip(self.chestDrop[self.currentChest][self.currentPage][slotIndex][0])
  7.  
  8. 3. add after:
  9. for key, value in self.chestDrop[self.currentChest][self.currentPage].iteritems():
  10. itemVnum = value[0]
  11. itemCount = value[1]
  12. if itemCount <= 1:
  13. itemCount = 0
  14.  
  15. if 50300 == itemVnum:
  16. self.tooltipItem.AppendTextLine(localeInfo.TOOLTIP_SKILLBOOK_NAME)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement