Added game files from TMP4

This commit is contained in:
2023-07-21 21:55:58 +03:00
parent bb44b31af9
commit eb47a22455
9325 changed files with 276198 additions and 69890 deletions

View File

@ -37,14 +37,14 @@ class AttachMetinDialog(ui.ScriptWindow):
oldToolTip = uiToolTip.ItemToolTip()
oldToolTip.SetParent(self)
oldToolTip.SetPosition(15, 38)
oldToolTip.SetFollow(FALSE)
oldToolTip.SetFollow(False)
oldToolTip.Show()
self.oldToolTip = oldToolTip
newToolTip = uiToolTip.ItemToolTip()
newToolTip.SetParent(self)
newToolTip.SetPosition(230 + 20, 38)
newToolTip.SetFollow(FALSE)
newToolTip.SetFollow(False)
newToolTip.Show()
self.newToolTip = newToolTip
@ -63,11 +63,11 @@ class AttachMetinDialog(ui.ScriptWindow):
def CanAttachMetin(self, slot, metin):
if item.METIN_NORMAL == metin:
if player.METIN_SOCKET_TYPE_SILVER == slot or player.METIN_SOCKET_TYPE_GOLD == slot:
return TRUE
return True
elif item.METIN_GOLD == metin:
if player.METIN_SOCKET_TYPE_GOLD == slot:
return TRUE
return True
def Open(self, metinItemPos, targetItemPos):
self.metinItemPos = metinItemPos