Look Title name/Guckt im Titelnamen^^
PHP
- quest give_basic_weapon begin
- state start begin
- when login with pc.get_level() < 2 and pc.getqf("first_login")==0 begin
- -- JOB_WARRIOR, JOB_ASSASSIN, JOB_SURA, JOB_SHAMAN
- eq ={{12209, 11209, 19}, {12349, 11409, 1009, 2009}, {11609, 19, 12489}, {12629, 11809, 7009}} --Job Items..
- r = {13009, 14009, 15009, 16009, 17009} --Not Job Items
- n = {72702, 70038, 71124, 39039, 39042} --Other items
- for i=1, table.getn(eq[pc.get_job()+1]), 1 do
- pc.give_item2(eq[pc.get_job()+1][i], 1)
- end
- for i=1, table.getn(r), 1 do
- pc.give_item2(r[i], 1)
- end
- for i=1, table.getn(n), 1 do
- pc.give_item2(n[i], 1)
- end
- while pc.get_level()< 2 do
- pc.give_exp2(pc.get_next_exp())
- end
- pc.setqf("first_login", 1)
- end
- end
- end