Advertisement
Guest User

Untitled

a guest
Jun 15th, 2019
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. quest user_boss_chest begin
  2. state start begin
  3. when kill with in_table(npc.get_race(), {1095, 8068, 8069}) begin
  4. if npc.get_race() == 1095 then
  5. game.drop_item_with_ownership(66013)
  6. end
  7. if math.random(1, 15) == 1 then
  8. game.drop_item_with_ownership(67053)
  9. end
  10. local s = math.random(1, 100)
  11. if s >= 1 and s < 50 then
  12. game.drop_item_with_ownership(67000 + (math.random(1, 2) * 10))
  13. elseif s >= 50 and s < 85 then
  14. game.drop_item_with_ownership(67001 + (math.random(1, 2) * 10))
  15. else
  16. game.drop_item_with_ownership(67002 + (math.random(1, 2) * 10))
  17. end
  18. end
  19. end
  20. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement