Beispiel #1
0
 public ArachnidSlayerTarget(ArachnidSlayerDeed deed) : base(1, false, TargetFlags.None)
 {
     m_Deed = deed;
 }
		public ArachnidSlayerTarget( ArachnidSlayerDeed deed ) : base( 1, false, TargetFlags.None )
		{
			m_Deed = deed;
		}
        public override void OnResponse( NetState state, RelayInfo info ) 
		{
			Mobile from = state.Mobile;

			switch ( info.ButtonID )
			{
				case 0: 
				{
					//Cancel
					from.SendMessage( "You decide not to choose a Slayer Deed." );
					SuperSlayerDeeds SuperSlayerDeeds = new SuperSlayerDeeds();
					from.AddToBackpack( SuperSlayerDeeds );
				}
				break;
				case 1: 
                    {
					ArachnidSlayerDeed ArachnidSlayerDeedX = new ArachnidSlayerDeed();
					from.AddToBackpack( ArachnidSlayerDeedX );
					from.SendMessage( "Your choice has been added to your backpack!" );
				}
				break;
				case 2: 
				{
					DemonSlayerDeed DemonSlayerDeedX = new DemonSlayerDeed();
					from.AddToBackpack( DemonSlayerDeedX );
					from.SendMessage( "Your choice has been added to your backpack!" );
				}
				break;
				case 3:
				{
					ElementalSlayerDeed ElementalSlayerDeedX = new ElementalSlayerDeed();
					from.AddToBackpack( ElementalSlayerDeedX );
					from.SendMessage( "Your choice has been added to your backpack!" );
				}
				break;
				case 4:
				{
					FeySlayerDeed FeySlayerDeedX = new FeySlayerDeed();
					from.AddToBackpack( FeySlayerDeedX );
					from.SendMessage( "Your choice has been added to your backpack!" );
				}
				break;
				case 5:
				{
					RepondSlayerDeed RepondSlayerDeedX = new RepondSlayerDeed();
					from.AddToBackpack( RepondSlayerDeedX );
					from.SendMessage( "Your choice has been added to your backpack!" );
				}
				break;
				case 6:
				{
					ReptileSlayerDeed ReptileSlayerDeedX = new ReptileSlayerDeed();
					from.AddToBackpack( ReptileSlayerDeedX );
					from.SendMessage( "Your choice has been added to your backpack!" );
				}
				break;
				case 7:
				{
					UndeadSlayerDeed UndeadSlayerDeedX = new UndeadSlayerDeed();
					from.AddToBackpack( UndeadSlayerDeedX );
					from.SendMessage( "Your choice has been added to your backpack!" );
				}
				break;
			}
		}