Jump to content
Sign in to follow this  

[PETICIÓN] Quest de equipamiento.

Recommended Posts

Buenas, quería solicitar si alguien me podría modificar una quest que cuando se conecte un nuevo personaje en el servidor se le ejecute el comando "do_item_full_set" sin necesidad de tener GM.


quest give_basic_weapon begin
	state start begin
		function basic_item(job,index)
			item_list[0] = {50187} 
			item_list[1] = {50212}
			item_list[2] = {50187}
			item_list[3] = {50213}
			return  item_list[job][index]

		when login begin
			if pc.getqf("basic_weapon") == 0 then
				pc.setqf("basic_weapon", 1)

				if pc.countitem(item) == 0 and pc.weapon != item then
					pc.give_item2(give_basic_weapon.basic_item(pc.job,1) )


Saludos y gracias de antemano!

Share this post

Link to post
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.

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.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...