Jump to content
�Alejandro&Sara�Tkm

[QUEST]Sistema de Puntos

Recommended Posts

Ola Metin2Zone aki traigo una quest para el foro Disfrutenla

 

quest guerra begin
state start begin
when kill with npc.is_pc()and pc.get_map_index() == 181 begin
   local ciao = pc . getqf ( "PuntosZone" )
   pc . setqf ( "PuntosZone" , pc . getqf ( "PuntosZone" ) + 1  )
   chat("Ha ganado un punto Zone")
   chat("Ahora usted tiene " .. ciao.. " puntos Zone")
  end
when 20094.chat."Puntos Zone" begin
   say_title ( "Canjea tus puntos Zone" )
   say("hola "..pc.get_name.." veo que has ganado puntos")
   say("de de guerras Zone")
   say("aqui los podras cabiar")
local actual_PuntosZone = pc . getqf ( "PuntosZone" )
local p = select ( "Caja jefe orco" , "Cofre tigre amarillo" , "Cofre reaper")
if p == 1 then
if pc . getqf ( "PuntosZone" ) <= 59 then
say ( "Lo siento necesitas mas puntos" )
return
end
local actual_PuntosZone = pc . getqf ( "PuntosZone" )
pc . setqf ( "PuntosZone" , actual_PuntosZone - 60 )
say ( "Has recibido caja jefe orco" )
pc . give_item2 ( "50070" , 1 )
return
elseif p == 2 then
if pc . getqf ( "PuntosZone" ) <= 59 then
say ( "Lo siento necesitas mas puntos" )
return
end
local actual_PuntosZone = pc . getqf ( "PuntosZone" )
pc . setqf ( "PuntosZone" , actual_PuntosZone - 60 )
say ( "Has recibido cofre de tigre amarillo" )
pc . give_item2 ( "50078" , 1 )
return
elseif p == 3 then
if pc . getqf ( "PuntosZone" ) <= 59 then
say ( "Lo siento necesitas mas puntos" )
return
end
local actual_PuntosZone = pc . getqf ( "PuntosZone" )
pc . setqf ( "PuntosZone" , actual_PuntosZone - 60 )
say ( "Has recibido cofre de reaper" )
pc . give_item2 ( "50082" , 1 )
return
end
end
end
end

Creditos:Santy

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.

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