Advertisement
Guest User

Untitled

a guest
Nov 18th, 2018
92
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.62 KB | None | 0 0
  1. when 92014.use with item.get_id() begin
  2. local x = item.get_cell()
  3. local y = item.select_cell(x)
  4. if y >= 0 then
  5. pc.remove_item(item.vnum, 1)
  6. end
  7. local bronie = {
  8. -- Sword 1 - 15 lv max
  9. 10, 11, 12, 13, 14, 15, 16,
  10. 20, 21, 22, 23, 24, 25, 26,
  11. 30, 31, 32, 33, 34, 35, 36,
  12. 40, 41, 42, 43, 44, 45, 46,
  13. -- 2hand 1 - 15 lv max
  14. 3000, 3001, 3002, 3003, 3004, 3005, 3006,
  15. 3010, 3011, 3012, 3013, 3014, 3015, 3016,
  16. 3020, 3021, 3022, 3023, 3024, 3025, 3026,
  17. 3030, 3031, 3032, 3033, 3034, 3035, 3036,
  18. -- dagger 1 - 15 lv max
  19. 1000, 1001, 1002, 1003, 1004, 1005, 1006,
  20. 4000, 4001, 4002, 4003, 4004, 4005, 4006,
  21. 1010, 1011, 1012, 1013, 1014, 1015, 1016,
  22. 4010, 4011, 4012, 4013, 4014, 4015, 4016,
  23. 4020, 4021, 4022, 4023, 4024, 4025, 4026,
  24. -- bow 1 - 15 lv max
  25. 2000, 2001, 2002, 2003, 2004, 2005, 2006,
  26. 2010, 2011, 2012, 2013, 2014, 2015, 2016,
  27. 2020, 2021, 2022, 2023, 2024, 2025, 2026,
  28. 2030, 2031, 2032, 2033, 2034, 2035, 2036,
  29. -- bell 1 - 15 lv max
  30. 5000, 5001, 5002, 5003, 5004, 5005, 5006,
  31. 5010, 5011, 5012, 5013, 5014, 5015, 5016,
  32. -- fan 1 - 15 lv max
  33. 7000, 7001, 7002, 7003, 7004, 7005, 7006,
  34. 7010, 7011, 7012, 7013, 7014, 7015, 7016,
  35. 7020, 7021, 7022, 7023, 7024, 7025, 7026,
  36. 7030, 7031, 7032, 7033, 7034, 7035, 7036,
  37. }
  38. local a = math.random(table.getn(bronie))
  39. chest_weapon_15_max.give_item_bonus(bronie[a])
  40. setskin(0)
  41. end
  42. end
  43. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement