Jump to content

iShadoW

Inactive Member
  • Posts

    35
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by iShadoW

  1. On 6/8/2015 at 1:46 PM, LeNnT said:
    
    	def RefreshBagSlotWindow(self):
    		getItemVNum=player.GetItemIndex
    		getItemCount=player.GetItemCount
    		setItemVNum=self.wndItem.SetItemSlot
    		for i in xrange(player.INVENTORY_PAGE_SIZE*4):
    			slotNumber = self.__InventoryLocalSlotPosToGlobalSlotPos(i)
    			
    			itemCount = getItemCount(slotNumber)
    			if 0 == itemCount:
    				self.wndItem.ClearSlot(i)
    				continue
    			elif 1 == itemCount:
    				itemCount = 0
    			
    			itemVnum = getItemVNum(slotNumber)
    			setItemVNum(i, itemVnum, itemCount)
    			if constInfo.IS_AUTO_POTION(itemVnum):
    				metinSocket = [player.GetItemMetinSocket(slotNumber, j) for j in xrange(player.METIN_SOCKET_MAX_NUM)]
    				if slotNumber >= player.INVENTORY_PAGE_SIZE:
    					slotNumber -= player.INVENTORY_PAGE_SIZE
    				
    				isActivated = 0 != metinSocket[0]
    				if isActivated:
    					self.wndItem.ActivateSlot(i)
    					potionType = 0;
    					if constInfo.IS_AUTO_POTION_HP(itemVnum):
    						potionType = player.AUTO_POTION_TYPE_HP
    					elif constInfo.IS_AUTO_POTION_SP(itemVnum):
    						potionType = player.AUTO_POTION_TYPE_SP						
    					
    					usedAmount = int(metinSocket[1])
    					totalAmount = int(metinSocket[2])					
    					player.SetAutoPotionInfo(potionType, isActivated, (totalAmount - usedAmount), totalAmount, self.__InventoryLocalSlotPosToGlobalSlotPos(i))
    				else:
    					self.wndItem.DeactivateSlot(i)
    		
    		self.wndItem.RefreshSlot()
    		if self.wndBelt:
    			self.wndBelt.RefreshSlot()

     

    i still have  the problem with active slot it moves very fast

  2. Hi guys

    i have a problem with sash system, at absorbtion

    [IMG]

    it looks good , at absorbtion , did it ok , but when i put sash on me , and i'm looking at bonuses, bonus grow from 60 to 61 , at power , half humans,  in generally at all , wut can it be?

    it took just 1% of all bonuses, for each absorbtion rate , it looks like it;s good , but it doesnt offer these bonuses , just 1% from each , i mean 1 power , 1 crit 1 dex 1 mobs 2 half(cause it is 2 times), ty for helping and srsly sorry for my bad english

×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.