Guest User

Untitled

a guest
Feb 8th, 2014
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. quest drop begin
  2. state start begin
  3. when kill with not npc.is_pc() and math.random(100) >= 20 begin
  4. local mob_lvl=npc.get_level()
  5. local player_level=pc.get_level()
  6. if player_level - mob_lvl <= 15 and player_level - mob_lvl >= -15 then
  7. game.drop_item_with_ownership(50042,1)
  8. end
  9. end
  10. end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment