Exemplo n.º 1
0
		public override void GiveGift( Mobile mob )
		{
			HalloweenBag2007 bag = new HalloweenBag2007();

			bag.DropItem( new HalloweenLantern2007() );

			switch ( Utility.Random( 4 ) )
			{      	
				case 0: bag.DropItem(new HalloweenCloak2007()); break;
				case 1: bag.DropItem(new HalloweenTunic2007()); break;
				case 2: bag.DropItem(new HalloweenDoublet2007()); break;
				case 3: bag.DropItem(new HalloweenBoots2007()); break;
			}

			if ( 0.1 > Utility.RandomDouble() )
			{
				bag.DropItem( new HalloweenOuiJaBoard2007() );
			}

			switch ( GiveGift( mob, bag ) )
			{
				case GiftResult.Backpack:
					mob.SendMessage( 0x482, "Happy Halloween from Tannis and Victoria!  Gift items have been placed in your backpack." );
					break;
				case GiftResult.BankBox:
					mob.SendMessage( 0x482, "Happy Halloween ffrom Tannis and Victoria!  Gift items have been placed in your bank box." );
					break;
			}
		}
Exemplo n.º 2
0
		public override void GiveGift( Mobile mob )
		{
			HalloweenBag2007 bag = new HalloweenBag2007();

			bag.DropItem( new TrickOrTreatBag() );
			bag.DropItem( new TrickOrTreatBag() );
			bag.DropItem( new HalloweenOuiJaBoard2007() );
			bag.DropItem( new SkullGiftCandle() );
			bag.DropItem( new HalloweenMug() );

			bag.DropItem( new PumpkinBombS() );
			bag.DropItem( new PumpkinBombS() );
			bag.DropItem( new PumpkinBombS() );

			bag.DropItem( new PumpkinBombM() );
			bag.DropItem( new PumpkinBombM() );
			bag.DropItem( new PumpkinBombM() );

			bag.DropItem( new PumpkinBombL() );
			bag.DropItem( new PumpkinBombL() );
			bag.DropItem( new PumpkinBombL() );

			bag.DropItem( new SmellyPumpkinBombS() );
			bag.DropItem( new SmellyPumpkinBombS() );
			bag.DropItem( new SmellyPumpkinBombS() );

			bag.DropItem( new SmellyPumpkinBombM() );
			bag.DropItem( new SmellyPumpkinBombM() );
			bag.DropItem( new SmellyPumpkinBombM() );

			bag.DropItem( new SmellyPumpkinBombL() );
			bag.DropItem( new SmellyPumpkinBombL() );
			bag.DropItem( new SmellyPumpkinBombL() );

			switch ( Utility.Random( 4 ) )
			{      	
				case 0: bag.DropItem(new HalloweenCloak2007()); break;
				case 1: bag.DropItem(new HalloweenTunic2007()); break;
				case 2: bag.DropItem(new HalloweenDoublet2007()); break;
				case 3: bag.DropItem(new HalloweenBoots2007()); break;
			}


			switch ( GiveGift( mob, bag ) )
			{
				case GiftResult.Backpack:
					mob.SendMessage( 0x482, "Happy Halloween! Gift items have been placed in your backpack." );
					break;
				case GiftResult.BankBox:
					mob.SendMessage( 0x482, "Happy Halloween! Gift items have been placed in your bank box." );
					break;
			}
		}