forked from metin2/client
Added game files from TMP4
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user