Jump to content

Sello de 4 monturas


Recommended Posts

Hola a todos, hoy os dejo aqui esta pequeña quest para usar 4 monturas con un unico sello, de modo que cada vez que le des al item te monte en una diferente, y a la cuarta vez (la ultima montu) si le vuelves a dar te vuelve a montar en la primera montura.


quest monturas begin
    state start begin
   when iditem.use begin
  pc.setqf("montura", pc.getqf("montura") + 1)

	    if pc.getqf("montura") == 1 then
		 pc.mount("20110", 60*60*60*60)
	    elseif pc.getqf("montura") == 2 then
		 pc.mount("20111", 60*60*60*60)
	    elseif pc.getqf("montura") == 3 then
		 pc.mount("20112", 60*60*60*60)
	    elseif pc.getqf("montura") == 4 then
		 pc.mount("20113", 60*60*60*60)
		 pc.setqf("montura", pc.getqf("montura") - 4)

Ya veis que no pongo una id de un item para que pongais el que mejor os parezca, y también podeis poner la id de la montu que querais, ahi uso 20110 a 20113.

Link to comment
Share on other sites

  • 3 months later...

Join the conversation

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

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...