Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this.rolls = (this.rand.nextInt(10000) + 1);
- if(this.rolls > -1 && this.rolls <= 400) {this.SlotItem.setTypeId(5840);this.SlotName = "[Unidentified][Sword]"; }
- if(this.rolls > 400 && this.rolls <= 800) {this.SlotItem.setTypeId(5687);this.SlotName = "[Unidentified][Axe]"; }
- if(this.rolls > 800 && this.rolls <= 1200) {this.SlotItem.setTypeId(5845);this.SlotName = "[Unidentified][Bow]"; }
- if(this.rolls > 1200 && this.rolls <= 1600) {this.SlotItem.setTypeId(6049);this.SlotName = "[Unidentified][Mace]"; }
- if(this.rolls > 1600 && this.rolls <= 2000) {this.SlotItem.setTypeId(340);this.SlotName = "[Unidentified][Book]"; }
- if(this.rolls > 2000 && this.rolls <= 2666) {this.SlotItem.setTypeId(6344);this.SlotName = "[Unidentified][Cloth][Earing]"; }
- if(this.rolls > 2666 && this.rolls <= 3332) {this.SlotItem.setTypeId(6342);this.SlotName = "[Unidentified][Leather][Earing]"; }
- if(this.rolls > 3332 && this.rolls <= 3998) {this.SlotItem.setTypeId(6346);this.SlotName = "[Unidentified][Plate][Earing]"; }
- if(this.rolls > 3998 && this.rolls <= 4664) {this.SlotItem.setTypeId(6337);this.SlotName = "[Unidentified][Cloth][Chest]"; }
- if(this.rolls > 4664 && this.rolls <= 5330) {this.SlotItem.setTypeId(6338);this.SlotName = "[Unidentified][Leather][Chest]"; }
- if(this.rolls > 5330 && this.rolls <= 5996) {this.SlotItem.setTypeId(6339);this.SlotName = "[Unidentified][Plate][Chest]"; }
- if(this.rolls > 5996 && this.rolls <= 6662) {this.SlotItem.setTypeId(6347);this.SlotName = "[Unidentified][Cloth][Legs]"; }
- if(this.rolls > 6662 && this.rolls <= 7328) {this.SlotItem.setTypeId(6343);this.SlotName = "[Unidentified][Leather][Legs]"; }
- if(this.rolls > 7328 && this.rolls <= 7996) {this.SlotItem.setTypeId(6345);this.SlotName = "[Unidentified][Plate][Legs]"; }
- if(this.rolls > 7996 && this.rolls <= 8662) {this.SlotItem.setTypeId(6336);this.SlotName = "[Unidentified][Cloth][Boots]"; }
- if(this.rolls > 8662 && this.rolls <= 9328) {this.SlotItem.setTypeId(6340);this.SlotName = "[Unidentified][Leather][Boots]"; }
- if(this.rolls > 9328 && this.rolls <= 10001) {this.SlotItem.setTypeId(6341);this.SlotName = "[Unidentified][Plate][Boots]"; }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement