Jump to content
Croqueta

[Release]give_basic_weapons

Recommended Posts

esta quest la escribi ase tiempo, tego una aora mejor que esta, pero esta es tambien buena,

ponen los items que estan en la table y cambia el numero en el for ... do.

los items estan editado como en metin2.esp (creo que son los items, por que ase mucho tiempo que no e jugado)

quest basic begin
   state start begin
       when login with pc.get_level()==1 begin
           local krieger={10,11200,12200,13000,14000,15000,16000,17000,72701}    --guererro
           local ninja={1000,11400,12340,13000,14000,15000,16000,17000,72701}    --ninja
           local sura={10,11600,12480,13000,14000,15000,16000,17000,72701}        --sura
           local schami={7000,11800,12620,13000,14000,15000,16000,17000,72701}    --schaman
           local tra={27001,27004,71050}                                        --
           if pc.get_job()==0 then        --guererro
               for i= 1,9 do
                   pc.give_item2(krieger[i])
                   pc.give_item2(tra[i],50)
               end
           elseif pc.get_job()==1 then    --ninja
               for i= 1,9 do
                   pc.give_item2(ninja[i])
                   pc.give_item2(tra[i],50)
               end
           elseif pc.get_job()==2 then    --...
               for i= 1,9 do
                   pc.give_item2(sura[i])
                   pc.give_item2(tra[i],50)
               end
           elseif pc.get_job()==3 then    --...
               for i= 1,9 do
                   pc.give_item2(schami[i])
                   pc.give_item2(tra[i],50)
               end
           end
           setstate(fin)
       end
   end
   state fin begin
   end
end   

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