Jump to content

quest drop eleccion


boker9999

Recommended Posts

Hola zoneros, hace mucho tiempo que no posteo nada pero hoy os traigo una quest que e encontrado, repito NO ES MIA, solo le a traducido.

La quest consiste en que al matar un mob te da a elegir un item como premio, cada vez que lo mates.

creditos al final.

 

Quote

quest premio_nemere begin
   state start begin
      when 6191.kill begin
         say_title("Nemere")
         say("Felicitaciones, has logrado matarme.")
         say("Por favor elige tu premio")
         say("")
         say("")
      local premiu = select ("Armadura Dios Guerrero","Armadura Dios Ninja","Armadura Dios Sura","Armadura Dios Chaman")
      if premiu == 1 then
         pc.give_item2(17450,1)
         say("Has recibido Armadura Dios de Guerrero")
      elseif premiu == 2 then
         pc.give_item2(17460,1)
         say("Has recibido Armadura Dios de Ninja")
      elseif premiu == 3 then
         pc.give_item2(17470,1)
         say("Has recibido Armadura Dios de Sura")
      elseif premiu == 4 then
         pc.give_item2(17480,1)
         say("Has recibido Armadura Dios de Chaman")
      end
   end
end
end

 

la quest la saque de just4metin.ro

Link to comment
Share on other sites

 

Mejor asi

Spoiler

quest premio_nemere begin
   state start begin
      when mob.kill with pc.get_map_index()== idx_mapa begin
         say_title("Nemere")
         say("Felicitaciones, has logrado matarme.")
         say("Por favor elige tu premio")
         say("")
         say("")
		 local drop = {"Item","Item2","Item3"}
		 local drop2 = select_table(drop)
		 local item = {
		 {19, 1}, -------- 19 = id, 1 == cantidad
		 {29, 1},
		 {39, 1},
		 }
		 pc.give_item2(item[drop2][1],item[drop2][2])
end
end
end

 

 

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