Jump to content

Ymir potions affect fix 1.0.0

   (0 reviews)
Sign in to follow this  

About This File

sistema para não usar poções 2x ou mais

fix que em conjunto com o download abaixo deixa 99% protegido contra o bug de poções zodiaco, ataque deus dragão etc.

descompacte o root e abra todos arquivos e dê um ctrl f e procure por essa linha


return ACCESSORY_MATERIAL_LIST

adicione abaixo

##Valeria2fix
	def IS_BLOCKED_TASK_ITEM(itemVnum):
		return TASK_BLOCK_LIST(itemVnum)

	def TASK_BLOCK_LIST(itemVnum):
		if itemVnum == 71027:
		return 1
	elif itemVnum == 71028:
		return 1
	elif itemVnum == 71029:
		return 1
	elif itemVnum == 71030:
		return 1
	elif itemVnum == 71031:
		return 1
	elif itemVnum == 71044:
		return 1
	elif itemVnum == 71045:
		return 1

	return 0
##Valeria2fix

devemos, claro, atribuir a função para TASK_BLOCK_LIST. 
procure por:

def canAddQuickSlot (self, Type, slotNumber):

e substitua por:

def canAddQuickSlot(self, Type, slotNumber):
	if player.SLOT_TYPE_INVENTORY == Type:
		itemIndex = player.GetItemIndex(slotNumber)
		if constInfo.IS_BLOCKED_TASK_ITEM(itemIndex):
		return FALSE
		return item.CanAddToQuickSlotItem(itemIndex)
	return TRUE

 




User Feedback

You may only provide a review once you have downloaded the file.

There are no reviews to display.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.

Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.
You will be able to see content when you disable your adblocker and enable javascript.