Jump to content

Ver bonus de la mascota "Files WoM2"


Pegasus

Recommended Posts

Buenas tardes zoneros.

 

Para todas aquellas personas que de seguro les ha pasado como a mi, que an agregado alguna mascota pero no se le ve el bonus que otorga. Os vengo a decir como hacer que si salga 

Es muy sencillo solo basta con que hagan lo siguiente

Van a su archivo constinfo.py de la carpeta root y buscan esto

def IS_PET_SEAL_OLD(itemVnum):

Aca veran un listado con una serie de vnums "Esos vnum son los items que invocan a cada pet"

Ahora para que en el nuevo pet que implementaron si le aparezcan los bonus agregan la siguiente linea debajo de la anterior

	elif itemVnum >= 61484 and itemVnum <= 61506:
		return 1

Quedando asi

def IS_PET_SEAL_OLD(itemVnum):
	if itemVnum == 38200 or itemVnum == 38201:
		return 1
	elif itemVnum >= 53006 and itemVnum <= 53283:
		return 1
	elif itemVnum == 48301 or itemVnum == 48311 or itemVnum == 48321:
		return 1
	elif itemVnum >= 61484 and itemVnum <= 61506:
		return 1
  
  El 61484 es el minimo vnum del pet que implementaron
  
  Por ejemplo si implementan 2 pets y ponen 61484 y al siguiente le ponen 61485 quedaria tal que asi
  
  	elif itemVnum >= 61484 and itemVnum <= 61485:
		return 1
  
  Luego si meten por ejemplo 30 pets y el ultimo termina en 61520 y el primero empieza por 61480 seria tal que asi
  
    	elif itemVnum >= 61480 and itemVnum <= 61520:
		return 1
  
 Los pets que sean mas de 61480 y menos que 61520 si se le apareceran los bonus que ustedes pusieron
  Ahora si el pet tiene 61521 y ustedes pusieron 61520 como en este caso. El pet aparecera sin bonus.
  
  "QUIERO ACLARAR QUE ESTA GUIA ESTA EXPLICADA PARA LOS FILES WOM2"

 

Espero que esta guia les haya servido y no tengan mas problemas con las pets.

 

Adjunto foto para que vean que si funciona.

 

WhatsApp Image 2022-06-24 at 5.13.18 PM.jpeg

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...