- Katılım
- 6 Kas 2021
- Mesajlar
- 3,276
- Tepkime puanı
- 4,783
- Puanları
- 113
- Yaş
- 31
- Konum
- Türkiye
- Dc
- fatihbulut
Cevher socket sayınız kaç ise constInfo.ACCESSORY_SOCKET_MAX_SIZE bu kısmı ona göre değiştirin.
uiToolTip.py aç ve arat;
Kod bloğundan sonra ekle;
Arat;
Değiştir
locale_game.txt aç ekle;
uiToolTip.py aç ve arat;
Python:
def __AppendRodInformation(self, curLevel, curEXP, maxEXP):
Kod bloğundan sonra ekle;
Python:
def __AppendOreIcon(self, materialVnum):
itemImage = ui.ImageBox()
itemImage.SetParent(self)
itemImage.LoadImage("icon/item/%d.tga" % materialVnum)
itemImage.Show()
imageWidth = itemImage.GetWidth()
indentX = (self.toolTipWidth - imageWidth) / 2
itemImage.SetPosition(indentX, self.toolTipHeight)
self.toolTipHeight += itemImage.GetHeight()
self.childrenList.append(itemImage)
self.ResizeToolTip()
Python:
if itemSubType in (item.ARMOR_WRIST, item.ARMOR_NECK, item.ARMOR_EAR):
Python:
if itemSubType in (item.ARMOR_WRIST, item.ARMOR_NECK, item.ARMOR_EAR):
materialVnum = constInfo.GET_ACCESSORY_MATERIAL_VNUM(itemVnum, itemSubType)
self.__AppendAccessoryMetinSlotInfo(metinSlot, materialVnum)
cur = min(metinSlot[0] if len(metinSlot) > 0 else 0, constInfo.ACCESSORY_SOCKET_MAX_SIZE)
end = min(metinSlot[1] if len(metinSlot) > 1 else 0, constInfo.ACCESSORY_SOCKET_MAX_SIZE)
if materialVnum > 0 and (cur == 0 or end == 0):
self.AppendSpace(2)
self.AppendTextLine(localeInfo.POSSIBLE_ORE, 0xFFFFFFD3)
item.SelectItem(materialVnum)
ore_name = item.GetItemName()
self.AppendTextLine(ore_name, 0xFFEA7D00)
self.__AppendOreIcon(materialVnum)
Python:
POSSIBLE_ORE Uygun Cevher: