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