Guest User

Untitled

a guest
Feb 10th, 2014
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.28 KB | None | 0 0
  1. quest drop_bar begin
  2.     state start begin
  3.         when kill with !npc.is_pc() begin
  4.             local prc = number(1, 10)
  5.             if prc == 1 then
  6.                 pc.give_item2(ID1, 1)
  7.             elseif prc == 2 then
  8.                 pc.give_item2(ID2, 1)
  9.             elseif prc == 3 then
  10.                 pc.give_item2(ID3, 1)
  11.             end
  12.         end
  13.     end
  14. end
Advertisement
Add Comment
Please, Sign In to add comment