Endymionek

Untitled

Mar 9th, 2014
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.46 KB | None | 0 0
  1.         when kill with not npc.is_pc() and pc.get_map_index() >= 206*10000 and pc.get_map_index() < 207*10000 and d.getf("klucz") == 0 begin
  2.             local sks = d.getf("klucz")
  3.             d.setf("klucz", sks+1)
  4.             if sks==80 and d.getf("sksgedroppt")==0 then
  5.                 d.setf("sksgedroppt", 1)
  6.                 chat("Tak! Ten potwór miał przy sobie klucz!")
  7.                 game.drop_item_with_ownership(30311, 1)
  8.                 d.setf("klucz", 1)
  9.             else
  10.                 chat("Ten potwór nie miał przy sobie klucza...")
  11.             end
  12.         end
Advertisement
Add Comment
Please, Sign In to add comment