Пример #1
0
        public Item GetRandomDrop()
        {
            Item item = null;

            switch (Utility.Random(17))
            {
            case 0:
            case 1:
            case 2:
            case 3:
            case 4:
            case 5:
            case 6:
                item = new Stalagmite();
                break;

            case 7:
            case 8:
            case 9:
            case 10:
                item = new Flowstone();
                break;

            case 11:
                item = new CanvaslessEasel();
                break;

            case 12:
                item = new HangingChainmailLegs();
                break;

            case 13:
                item = new HangingRingmailTunic();
                break;

            case 14:
                item = new PluckedChicken();
                break;

            case 15:
                item = new ColorfulTapestry();
                break;

            case 16:
                item = new TwoStoryBanner();
                break;
            }

            return(item);
        }
Пример #2
0
		public Item GetRandomDrop()
		{
			Item item = null;
			
			switch(Utility.Random(17))
			{
				case 0: case 1: case 2: case 3: case 4: case 5: case 6:
					item = new Stalagmite();
					break;
				case 7: case 8: case 9: case 10:
					item = new Flowstone();
					break;
                case 11:
                    item = new CanvaslessEasel();
                    break;
				case 12:
					item = new HangingChainmailLegs();
					break;
				case 13:
					item = new HangingRingmailTunic();
					break;
				case 14: 
					item = new PluckedChicken();
                    break;
				case 15:
					item = new ColorfulTapestry();
					break;
				case 16:
					item = new TwoStoryBanner();
                    break;
			}
			
			return item;
		}