Render Target
Tipologie server: PVM
*Resursă folosită: Zearth
*ServerFiles utilizat: Zearth
*Syserr: nu e cazul
Poză: -
*Detalii suplimentare: Daca m-ar putea ajuta cineva cu ceva informatii as fi foarte recunoscator. Multumesc!
- FALLEN1
-

- Mesaje: 585
- Membru din: 14 Noi 2015, 20:12
- Server: Dark-Fusion2
- Regat: Chunjo
- Aprecieri: 366
- Mulţumiri: 758
- Rezolvări prob.: 2
- Discord: Copiază ID
Cauta:
Cod: Selectaţi tot
def BINARY_LoverInfo(self, name, lovePoint):Cod: Selectaţi tot
def OnIMEReturn(self):
if app.IsPressed(app.DIK_LSHIFT):
self.interface.OpenWhisperDialogWithoutTarget()
else:
self.interface.ToggleChat()
return TrueCauta:
Cod: Selectaţi tot
elif app.IsPressed(app.DIK_LALT):
link = player.GetItemLink(itemSlotIndex)
ime.PasteString(link)Cod: Selectaţi tot
elif app.IsPressed(app.DIK_LSHIFT):
itemCount = player.GetItemCount(itemSlotIndex)
if itemCount > 1:
self.dlgPickMoney.SetTitleName(localeInfo.PICK_ITEM_TITLE)
self.dlgPickMoney.SetAcceptEvent(ui.__mem_func__(self.OnPickItem))
self.dlgPickMoney.Open(itemCount)
self.dlgPickMoney.itemGlobalSlotIndex = itemSlotIndexCauta:
Cod: Selectaţi tot
bHasRealtimeFlag = 0Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT):
if -cenzurat- != 0:
if itemSubType == 0: #body
self.__ModelPreview(itemVnum, 0, item.GetValue(1))Cod: Selectaţi tot
self.AppendSpace(10)
self.AppendTextLine(localeInfo.VIZUALIZER_COSTUME_VIEW, 0xffFFFFFF)Cod: Selectaţi tot
elif item.ITEM_TYPE_WEAPON == itemType:Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT):
if -cenzurat- != 0:
if item.WEAPON_SWORD == itemSubType:
if player.GetRace() != 7 and player.GetRace() != 3:
self.__ModelPreview(itemVnum, 3, player.GetRace())
if item.WEAPON_DAGGER == itemSubType or item.WEAPON_BOW == itemSubType:
if player.GetRace() == 5 or player.GetRace() == 1:
self.__ModelPreview(itemVnum, 3, player.GetRace())
if item.WEAPON_TWO_HANDED == itemSubType:
if player.GetRace() == 0 or player.GetRace() == 4:
self.__ModelPreview(itemVnum, 3, player.GetRace())
if item.WEAPON_BELL == itemSubType or item.WEAPON_FAN == itemSubType:
if player.GetRace() == 7 or player.GetRace() == 3:
self.__ModelPreview(itemVnum, 3, player.GetRace()) Cod: Selectaţi tot
self.__AppendMagicDefenceInfo()
self.__AppendAffectInformation()
self.__AppendAttributeInformation(attrSlot)Cod: Selectaţi tot
elif item.ITEM_TYPE_ARMOR == itemType:Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT):
if -cenzurat- != 0 and itemSubType == 0:
if self.__ItemGetRace() == player.GetRace():
self.__ModelPreview(itemVnum, 2, player.GetRace())Cod: Selectaţi tot
elif 0 != isCostumeItem:
self.__AppendLimitInformation()Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT):
if -cenzurat- != 0 and not itemVnum == 71136 and not itemVnum == 71143:
if isCostumeHair:
if itemVnum >= 1 and itemVnum <= 9999999999:
self.__ModelPreview(item.GetValue(3), 1, self.__ItemGetRace())
else:
if itemVnum >= 1 and itemVnum <= 9999999999:
self.__ModelPreview(itemVnum, 2, self.__ItemGetRace())
if itemSubType == 3: #Mount
self.__ModelPreview(itemVnum, 0, item.GetValue(1))
elif itemSubType == 5: #pet
self.__ModelPreview(itemVnum, 3, player.GetRace())Cod: Selectaţi tot
else:
self.__AppendAffectInformation()
self.__AppendAttributeInformation(attrSlot)Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT):
if itemVnum >= 85001 and itemVnum <= 86058:
self.__ModelPreview(itemVnum, 4, self.__ItemGetRace())Multumesc mult! O sa incerc. Revin cu un raspuns. if app.IsPressed(app.DIK_LSHIFT):FALLEN1 scrie: ↑05 Mai 2021, 14:39 game.py
Cauta:Adauga deasupra:Cod: Selectaţi tot
def BINARY_LoverInfo(self, name, lovePoint):
uiinventory.pyCod: Selectaţi tot
def OnIMEReturn(self): if app.IsPressed(app.DIK_LSHIFT): self.interface.OpenWhisperDialogWithoutTarget() else: self.interface.ToggleChat() return True
Cauta:
Adauga sub:Cod: Selectaţi tot
elif app.IsPressed(app.DIK_LALT): link = player.GetItemLink(itemSlotIndex) ime.PasteString(link)
uitooltyp.pyCod: Selectaţi tot
elif app.IsPressed(app.DIK_LSHIFT): itemCount = player.GetItemCount(itemSlotIndex) if itemCount > 1: self.dlgPickMoney.SetTitleName(localeInfo.PICK_ITEM_TITLE) self.dlgPickMoney.SetAcceptEvent(ui.__mem_func__(self.OnPickItem)) self.dlgPickMoney.Open(itemCount) self.dlgPickMoney.itemGlobalSlotIndex = itemSlotIndex
Cauta:
Adauga deasupra:Cod: Selectaţi tot
bHasRealtimeFlag = 0
Cauta:Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if -cenzurat- != 0: if itemSubType == 0: #body self.__ModelPreview(itemVnum, 0, item.GetValue(1))
Se afla inCod: Selectaţi tot
self.AppendSpace(10) self.AppendTextLine(localeInfo.VIZUALIZER_COSTUME_VIEW, 0xffFFFFFF)Adauga:Cod: Selectaţi tot
elif item.ITEM_TYPE_WEAPON == itemType:
Cauta:Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if -cenzurat- != 0: if item.WEAPON_SWORD == itemSubType: if player.GetRace() != 7 and player.GetRace() != 3: self.__ModelPreview(itemVnum, 3, player.GetRace()) if item.WEAPON_DAGGER == itemSubType or item.WEAPON_BOW == itemSubType: if player.GetRace() == 5 or player.GetRace() == 1: self.__ModelPreview(itemVnum, 3, player.GetRace()) if item.WEAPON_TWO_HANDED == itemSubType: if player.GetRace() == 0 or player.GetRace() == 4: self.__ModelPreview(itemVnum, 3, player.GetRace()) if item.WEAPON_BELL == itemSubType or item.WEAPON_FAN == itemSubType: if player.GetRace() == 7 or player.GetRace() == 3: self.__ModelPreview(itemVnum, 3, player.GetRace())
Se afla in :Cod: Selectaţi tot
self.__AppendMagicDefenceInfo() self.__AppendAffectInformation() self.__AppendAttributeInformation(attrSlot)Adauga:Cod: Selectaţi tot
elif item.ITEM_TYPE_ARMOR == itemType:Cauta:Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if -cenzurat- != 0 and itemSubType == 0: if self.__ItemGetRace() == player.GetRace(): self.__ModelPreview(itemVnum, 2, player.GetRace())
Adauga sub:Cod: Selectaţi tot
elif 0 != isCostumeItem: self.__AppendLimitInformation()
Cauta:Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if -cenzurat- != 0 and not itemVnum == 71136 and not itemVnum == 71143: if isCostumeHair: if itemVnum >= 1 and itemVnum <= 9999999999: self.__ModelPreview(item.GetValue(3), 1, self.__ItemGetRace()) else: if itemVnum >= 1 and itemVnum <= 9999999999: self.__ModelPreview(itemVnum, 2, self.__ItemGetRace()) if itemSubType == 3: #Mount self.__ModelPreview(itemVnum, 0, item.GetValue(1)) elif itemSubType == 5: #pet self.__ModelPreview(itemVnum, 3, player.GetRace())
Adauga deasupra:Cod: Selectaţi tot
else: self.__AppendAffectInformation() self.__AppendAttributeInformation(attrSlot)
Ai si pt mount/pet esarfa sper ca te prinziCod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if itemVnum >= 85001 and itemVnum <= 86058: self.__ModelPreview(itemVnum, 4, self.__ItemGetRace())
if -cenzurat- != 0: (imi poti spune ce e aici? vad ca e cenzurat si nu-mi dau seama)
if itemSubType == 0: #body
self.__ModelPreview(itemVnum, 0, item.GetValue(1))
- FALLEN1
-

- Mesaje: 585
- Membru din: 14 Noi 2015, 20:12
- Server: Dark-Fusion2
- Regat: Chunjo
- Aprecieri: 366
- Mulţumiri: 758
- Rezolvări prob.: 2
- Discord: Copiază ID
Ah, e s.l.o.b.o.zemi996 scrie: ↑05 Mai 2021, 15:03Multumesc mult! O sa incerc. Revin cu un raspuns. if app.IsPressed(app.DIK_LSHIFT):FALLEN1 scrie: ↑05 Mai 2021, 14:39 game.py
Cauta:Adauga deasupra:Cod: Selectaţi tot
def BINARY_LoverInfo(self, name, lovePoint):
uiinventory.pyCod: Selectaţi tot
def OnIMEReturn(self): if app.IsPressed(app.DIK_LSHIFT): self.interface.OpenWhisperDialogWithoutTarget() else: self.interface.ToggleChat() return True
Cauta:
Adauga sub:Cod: Selectaţi tot
elif app.IsPressed(app.DIK_LALT): link = player.GetItemLink(itemSlotIndex) ime.PasteString(link)
uitooltyp.pyCod: Selectaţi tot
elif app.IsPressed(app.DIK_LSHIFT): itemCount = player.GetItemCount(itemSlotIndex) if itemCount > 1: self.dlgPickMoney.SetTitleName(localeInfo.PICK_ITEM_TITLE) self.dlgPickMoney.SetAcceptEvent(ui.__mem_func__(self.OnPickItem)) self.dlgPickMoney.Open(itemCount) self.dlgPickMoney.itemGlobalSlotIndex = itemSlotIndex
Cauta:
Adauga deasupra:Cod: Selectaţi tot
bHasRealtimeFlag = 0
Cauta:Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if -cenzurat- != 0: if itemSubType == 0: #body self.__ModelPreview(itemVnum, 0, item.GetValue(1))
Se afla inCod: Selectaţi tot
self.AppendSpace(10) self.AppendTextLine(localeInfo.VIZUALIZER_COSTUME_VIEW, 0xffFFFFFF)Adauga:Cod: Selectaţi tot
elif item.ITEM_TYPE_WEAPON == itemType:
Cauta:Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if -cenzurat- != 0: if item.WEAPON_SWORD == itemSubType: if player.GetRace() != 7 and player.GetRace() != 3: self.__ModelPreview(itemVnum, 3, player.GetRace()) if item.WEAPON_DAGGER == itemSubType or item.WEAPON_BOW == itemSubType: if player.GetRace() == 5 or player.GetRace() == 1: self.__ModelPreview(itemVnum, 3, player.GetRace()) if item.WEAPON_TWO_HANDED == itemSubType: if player.GetRace() == 0 or player.GetRace() == 4: self.__ModelPreview(itemVnum, 3, player.GetRace()) if item.WEAPON_BELL == itemSubType or item.WEAPON_FAN == itemSubType: if player.GetRace() == 7 or player.GetRace() == 3: self.__ModelPreview(itemVnum, 3, player.GetRace())
Se afla in :Cod: Selectaţi tot
self.__AppendMagicDefenceInfo() self.__AppendAffectInformation() self.__AppendAttributeInformation(attrSlot)Adauga:Cod: Selectaţi tot
elif item.ITEM_TYPE_ARMOR == itemType:Cauta:Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if -cenzurat- != 0 and itemSubType == 0: if self.__ItemGetRace() == player.GetRace(): self.__ModelPreview(itemVnum, 2, player.GetRace())
Adauga sub:Cod: Selectaţi tot
elif 0 != isCostumeItem: self.__AppendLimitInformation()
Cauta:Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if -cenzurat- != 0 and not itemVnum == 71136 and not itemVnum == 71143: if isCostumeHair: if itemVnum >= 1 and itemVnum <= 9999999999: self.__ModelPreview(item.GetValue(3), 1, self.__ItemGetRace()) else: if itemVnum >= 1 and itemVnum <= 9999999999: self.__ModelPreview(itemVnum, 2, self.__ItemGetRace()) if itemSubType == 3: #Mount self.__ModelPreview(itemVnum, 0, item.GetValue(1)) elif itemSubType == 5: #pet self.__ModelPreview(itemVnum, 3, player.GetRace())
Adauga deasupra:Cod: Selectaţi tot
else: self.__AppendAffectInformation() self.__AppendAttributeInformation(attrSlot)
Ai si pt mount/pet esarfa sper ca te prinziCod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if itemVnum >= 85001 and itemVnum <= 86058: self.__ModelPreview(itemVnum, 4, self.__ItemGetRace())
if -cenzurat- != 0: (imi poti spune ce e aici? vad ca e cenzurat si nu-mi dau seama)
if itemSubType == 0: #body
self.__ModelPreview(itemVnum, 0, item.GetValue(1))
Minte stricata, poti sa iti pui ce cuvant vrei, doar sa editezi peste tot un intalnesti cenzurat
Nu gasesc aceasta functie la mine in uitooltip.py: self.AppendSpace(10)FALLEN1 scrie: ↑05 Mai 2021, 14:39 game.py
Cauta:Adauga deasupra:Cod: Selectaţi tot
def BINARY_LoverInfo(self, name, lovePoint):
uiinventory.pyCod: Selectaţi tot
def OnIMEReturn(self): if app.IsPressed(app.DIK_LSHIFT): self.interface.OpenWhisperDialogWithoutTarget() else: self.interface.ToggleChat() return True
Cauta:
Adauga sub:Cod: Selectaţi tot
elif app.IsPressed(app.DIK_LALT): link = player.GetItemLink(itemSlotIndex) ime.PasteString(link)
uitooltyp.pyCod: Selectaţi tot
elif app.IsPressed(app.DIK_LSHIFT): itemCount = player.GetItemCount(itemSlotIndex) if itemCount > 1: self.dlgPickMoney.SetTitleName(localeInfo.PICK_ITEM_TITLE) self.dlgPickMoney.SetAcceptEvent(ui.__mem_func__(self.OnPickItem)) self.dlgPickMoney.Open(itemCount) self.dlgPickMoney.itemGlobalSlotIndex = itemSlotIndex
Cauta:
Adauga deasupra:Cod: Selectaţi tot
bHasRealtimeFlag = 0
Cauta:Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if -cenzurat- != 0: if itemSubType == 0: #body self.__ModelPreview(itemVnum, 0, item.GetValue(1))
Se afla inCod: Selectaţi tot
self.AppendSpace(10) self.AppendTextLine(localeInfo.VIZUALIZER_COSTUME_VIEW, 0xffFFFFFF)Adauga:Cod: Selectaţi tot
elif item.ITEM_TYPE_WEAPON == itemType:
Cauta:Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if -cenzurat- != 0: if item.WEAPON_SWORD == itemSubType: if player.GetRace() != 7 and player.GetRace() != 3: self.__ModelPreview(itemVnum, 3, player.GetRace()) if item.WEAPON_DAGGER == itemSubType or item.WEAPON_BOW == itemSubType: if player.GetRace() == 5 or player.GetRace() == 1: self.__ModelPreview(itemVnum, 3, player.GetRace()) if item.WEAPON_TWO_HANDED == itemSubType: if player.GetRace() == 0 or player.GetRace() == 4: self.__ModelPreview(itemVnum, 3, player.GetRace()) if item.WEAPON_BELL == itemSubType or item.WEAPON_FAN == itemSubType: if player.GetRace() == 7 or player.GetRace() == 3: self.__ModelPreview(itemVnum, 3, player.GetRace())
Se afla in :Cod: Selectaţi tot
self.__AppendMagicDefenceInfo() self.__AppendAffectInformation() self.__AppendAttributeInformation(attrSlot)Adauga:Cod: Selectaţi tot
elif item.ITEM_TYPE_ARMOR == itemType:Cauta:Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if -cenzurat- != 0 and itemSubType == 0: if self.__ItemGetRace() == player.GetRace(): self.__ModelPreview(itemVnum, 2, player.GetRace())
Adauga sub:Cod: Selectaţi tot
elif 0 != isCostumeItem: self.__AppendLimitInformation()
Cauta:Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if -cenzurat- != 0 and not itemVnum == 71136 and not itemVnum == 71143: if isCostumeHair: if itemVnum >= 1 and itemVnum <= 9999999999: self.__ModelPreview(item.GetValue(3), 1, self.__ItemGetRace()) else: if itemVnum >= 1 and itemVnum <= 9999999999: self.__ModelPreview(itemVnum, 2, self.__ItemGetRace()) if itemSubType == 3: #Mount self.__ModelPreview(itemVnum, 0, item.GetValue(1)) elif itemSubType == 5: #pet self.__ModelPreview(itemVnum, 3, player.GetRace())
Adauga deasupra:Cod: Selectaţi tot
else: self.__AppendAffectInformation() self.__AppendAttributeInformation(attrSlot)
Ai si pt mount/pet esarfa sper ca te prinziCod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if itemVnum >= 85001 and itemVnum <= 86058: self.__ModelPreview(itemVnum, 4, self.__ItemGetRace())
self.AppendTextLine(localeInfo.VIZUALIZER_COSTUME_VIEW, 0xffFFFFFF) si nu gasesc nici asta: elif item.ITEM_TYPE_ARMOR == itemType:
- FALLEN1
-

- Mesaje: 585
- Membru din: 14 Noi 2015, 20:12
- Server: Dark-Fusion2
- Regat: Chunjo
- Aprecieri: 366
- Mulţumiri: 758
- Rezolvări prob.: 2
- Discord: Copiază ID
Ar trebuii sa ai ITEM_TYPE_ARMOR inemi996 scrie: ↑07 Mai 2021, 22:26Nu gasesc aceasta functie la mine in uitooltip.py: self.AppendSpace(10)FALLEN1 scrie: ↑05 Mai 2021, 14:39 game.py
Cauta:Adauga deasupra:Cod: Selectaţi tot
def BINARY_LoverInfo(self, name, lovePoint):
uiinventory.pyCod: Selectaţi tot
def OnIMEReturn(self): if app.IsPressed(app.DIK_LSHIFT): self.interface.OpenWhisperDialogWithoutTarget() else: self.interface.ToggleChat() return True
Cauta:
Adauga sub:Cod: Selectaţi tot
elif app.IsPressed(app.DIK_LALT): link = player.GetItemLink(itemSlotIndex) ime.PasteString(link)
uitooltyp.pyCod: Selectaţi tot
elif app.IsPressed(app.DIK_LSHIFT): itemCount = player.GetItemCount(itemSlotIndex) if itemCount > 1: self.dlgPickMoney.SetTitleName(localeInfo.PICK_ITEM_TITLE) self.dlgPickMoney.SetAcceptEvent(ui.__mem_func__(self.OnPickItem)) self.dlgPickMoney.Open(itemCount) self.dlgPickMoney.itemGlobalSlotIndex = itemSlotIndex
Cauta:
Adauga deasupra:Cod: Selectaţi tot
bHasRealtimeFlag = 0
Cauta:Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if -cenzurat- != 0: if itemSubType == 0: #body self.__ModelPreview(itemVnum, 0, item.GetValue(1))
Se afla inCod: Selectaţi tot
self.AppendSpace(10) self.AppendTextLine(localeInfo.VIZUALIZER_COSTUME_VIEW, 0xffFFFFFF)Adauga:Cod: Selectaţi tot
elif item.ITEM_TYPE_WEAPON == itemType:
Cauta:Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if -cenzurat- != 0: if item.WEAPON_SWORD == itemSubType: if player.GetRace() != 7 and player.GetRace() != 3: self.__ModelPreview(itemVnum, 3, player.GetRace()) if item.WEAPON_DAGGER == itemSubType or item.WEAPON_BOW == itemSubType: if player.GetRace() == 5 or player.GetRace() == 1: self.__ModelPreview(itemVnum, 3, player.GetRace()) if item.WEAPON_TWO_HANDED == itemSubType: if player.GetRace() == 0 or player.GetRace() == 4: self.__ModelPreview(itemVnum, 3, player.GetRace()) if item.WEAPON_BELL == itemSubType or item.WEAPON_FAN == itemSubType: if player.GetRace() == 7 or player.GetRace() == 3: self.__ModelPreview(itemVnum, 3, player.GetRace())
Se afla in :Cod: Selectaţi tot
self.__AppendMagicDefenceInfo() self.__AppendAffectInformation() self.__AppendAttributeInformation(attrSlot)Adauga:Cod: Selectaţi tot
elif item.ITEM_TYPE_ARMOR == itemType:Cauta:Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if -cenzurat- != 0 and itemSubType == 0: if self.__ItemGetRace() == player.GetRace(): self.__ModelPreview(itemVnum, 2, player.GetRace())
Adauga sub:Cod: Selectaţi tot
elif 0 != isCostumeItem: self.__AppendLimitInformation()
Cauta:Cod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if -cenzurat- != 0 and not itemVnum == 71136 and not itemVnum == 71143: if isCostumeHair: if itemVnum >= 1 and itemVnum <= 9999999999: self.__ModelPreview(item.GetValue(3), 1, self.__ItemGetRace()) else: if itemVnum >= 1 and itemVnum <= 9999999999: self.__ModelPreview(itemVnum, 2, self.__ItemGetRace()) if itemSubType == 3: #Mount self.__ModelPreview(itemVnum, 0, item.GetValue(1)) elif itemSubType == 5: #pet self.__ModelPreview(itemVnum, 3, player.GetRace())
Adauga deasupra:Cod: Selectaţi tot
else: self.__AppendAffectInformation() self.__AppendAttributeInformation(attrSlot)
Ai si pt mount/pet esarfa sper ca te prinziCod: Selectaţi tot
if app.IsPressed(app.DIK_LSHIFT): if itemVnum >= 85001 and itemVnum <= 86058: self.__ModelPreview(itemVnum, 4, self.__ItemGetRace())
self.AppendTextLine(localeInfo.VIZUALIZER_COSTUME_VIEW, 0xffFFFFFF) si nu gasesc nici asta: elif item.ITEM_TYPE_ARMOR == itemType:
Cod: Selectaţi tot
def AddItemData(self, itemVnum, metinSlot, attrSlot = 0, flags = 0 ):
In caz ca nu le ai
Cod: Selectaţi tot
elif item.ITEM_TYPE_WEAPON == itemType:
self.__AppendLimitInformation()
self.AppendSpace(5)
## 부채일 경우 마공을 먼저 표시한다.
if item.WEAPON_FAN == itemSubType:
self.__AppendMagicAttackInfo()
self.__AppendAttackPowerInfo()
else:
self.__AppendAttackPowerInfo()
self.__AppendMagicAttackInfo()
self.__AppendAffectInformation()
self.__AppendAttributeInformation(attrSlot)
if app.ENABLE_CHANGELOOK_SYSTEM:
self.AppendTransmutation(window_type, slotIndex, transmutation)
self.AppendWearableInformation()
self.__AppendMetinSlotInfo(metinSlot)
self.AppendSpace(10)
self.AppendTextLine(localeInfo.VIZUALIZER_COSTUME_VIEW, 0xffFFFFFF)
if app.IsPressed(app.DIK_LSHIFT):
if -cenzurat- != 0:
if item.WEAPON_SWORD == itemSubType:
if player.GetRace() != 7 and player.GetRace() != 3:
self.__ModelPreview(itemVnum, 3, player.GetRace())
if item.WEAPON_DAGGER == itemSubType or item.WEAPON_BOW == itemSubType:
if player.GetRace() == 5 or player.GetRace() == 1:
self.__ModelPreview(itemVnum, 3, player.GetRace())
if item.WEAPON_TWO_HANDED == itemSubType:
if player.GetRace() == 0 or player.GetRace() == 4:
self.__ModelPreview(itemVnum, 3, player.GetRace())
if item.WEAPON_BELL == itemSubType or item.WEAPON_FAN == itemSubType:
if player.GetRace() == 7 or player.GetRace() == 3:
self.__ModelPreview(itemVnum, 3, player.GetRace()) Cod: Selectaţi tot
### Armor ###
elif item.ITEM_TYPE_ARMOR == itemType:
self.__AppendLimitInformation()
## 방어력
defGrade = item.GetValue(1)
defBonus = item.GetValue(5)*2 ## 방어력 표시 잘못 되는 문제를 수정
if defGrade > 0:
self.AppendSpace(5)
self.AppendTextLine(localeInfo.TOOLTIP_ITEM_DEF_GRADE % (defGrade+defBonus), self.GetChangeTextLineColor(defGrade))
self.__AppendMagicDefenceInfo()
self.__AppendAffectInformation()
self.__AppendAttributeInformation(attrSlot)
if app.IsPressed(app.DIK_LSHIFT):
if -cenzurat- != 0 and itemSubType == 0:
if self.__ItemGetRace() == player.GetRace():
self.__ModelPreview(itemVnum, 2, player.GetRace())
if app.ENABLE_CHANGELOOK_SYSTEM:
self.AppendTransmutation(window_type, slotIndex, transmutation)
self.AppendWearableInformation()
if itemSubType in (item.ARMOR_WRIST, item.ARMOR_NECK, item.ARMOR_EAR):
self.__AppendAccessoryMetinSlotInfo(metinSlot, constInfo.GET_ACCESSORY_MATERIAL_VNUM(itemVnum, itemSubType))
else:
self.__AppendMetinSlotInfo(metinSlot)
self.AppendSpace(10)
if not itemSubType in (item.ARMOR_WRIST, item.ARMOR_NECK, item.ARMOR_EAR, item.ARMOR_SHIELD, item.ARMOR_HEAD, item.ARMOR_FOOTS):
self.AppendTextLine(localeInfo.VIZUALIZER_COSTUME_VIEW, 0xffFFFFFF)Ar trebuii sa arate cam asa
Cod: Selectaţi tot
def AddItemData(self, itemVnum, metinSlot, attrSlot = 0, flags = 0 cuvantul_tau = 1):
Facts!
Aici doar adaugi cuvantul tau deoarece poti sa mai ai chestii in + sau in --
- Informaţie
-
Cine este conectat
Utilizatori ce ce navighează pe acest forum: Niciun utilizator înregistrat și 26 vizitatori


