Jump to content

r00t

Premium
  • Posts

    147
  • Joined

  • Last visited

  • Days Won

    2
  • Feedback

    0%

Community Answers

  1. r00t's post in Reward 2 was marked as the answer   
    quest metin5 begin state start begin when 8001.kill begin local lvlmin= 1 local lvlmax= 10 local reward1 = 50300 local item_table = { 11202 , 11402 , 11602 , 11802 , 21002 } local Irandom = number(1,table.getn(item_table) ) local reward2 = item_table[Irandom] if pc.level >=lvlmin and pc.level <=lvlmax then local r1=number(1, 5) if r1>=2 then game.drop_item_with_ownership(reward1, 1) end local r2=number(1, 3) if r2>=2 then local quantity = number(1,5) local i for i=1,quantity,1 do Irandom = number(1,table.getn(item_table) ) game.drop_item_with_ownership(item_table[Irandom], 1) end end end end end end Try this... now you will drop different item
×
×
  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.