public override void OnResponse(NetState state, RelayInfo info) { Mobile from = state.Mobile; PlayerMobile player = from as PlayerMobile; switch (info.ButtonID) { case 0: { player.Profession = 6; player.Level = 1; player.Exp = 0; player.KillExp = 0; player.LevelAt = 200; from.BankBox.DropItem(new BankCheck(500)); from.Str += 25; from.Dex += 15; from.Int += 1; from.Skills.Anatomy.Base = 10; from.Skills.Bushido.Base = 50; from.Skills.Healing.Base = 50; from.Skills.Swords.Base = 50; from.Skills.Tactics.Base = 25; HeavyBoots boots = new HeavyBoots(); boots.Hue = 0; boots.Identified = true; from.AddToBackpack(boots); from.BankBox.DropItem(new BookOfBushido()); from.BankBox.DropItem(new Scissors()); from.BankBox.DropItem(new Bandage(100)); from.Map = Map.Malas; from.Location = new Point3D(1670, 2008, 1); from.PlaySound(0x214); from.FixedEffect(0x376A, 10, 16); World.Broadcast(0x35, true, "Another has chosen thy path of the Samurai!"); from.CloseGump(typeof(SamuraiClassGump)); break; } case 1: { from.SendMessage("You decide that the way of the Samurai is not in your best interests."); from.CloseGump(typeof(SamuraiClassGump)); break; } } }
public override void OnResponse( NetState state, RelayInfo info ) { Mobile from = state.Mobile; PlayerMobile player = from as PlayerMobile; switch( info.ButtonID ) { case 0: { player.Profession = 3; player.Level = 1; player.Exp = 0; player.KillExp = 0; player.LevelAt = 200; from.BankBox.DropItem( new BankCheck( 500 ) ); from.Str += 25; from.Dex += 20; from.Int += 5; from.Skills.ArmsLore.Base = 10; from.Skills.Blacksmith.Base = 50; from.Skills.Carpentry.Base = 25; from.Skills.Cooking.Base = 25; from.Skills.Fletching.Base = 25; from.Skills.Mining.Base = 50; from.Skills.Tailoring.Base = 25; from.Skills.Tinkering.Base = 25; SkullCap hat = new SkullCap(); hat.Hue = 0; hat.Identified = true; from.AddToBackpack( hat ); FormalShirt shirt = new FormalShirt(); shirt.Hue = 0; shirt.Identified = true; from.AddToBackpack( shirt ); ShortPants pants = new ShortPants(); pants.Hue = 0; pants.Identified = true; from.AddToBackpack( pants ); HeavyBoots boots = new HeavyBoots(); boots.Hue = 0; boots.Identified = true; from.AddToBackpack( boots ); HalfApron apron = new HalfApron(); apron.Hue = 0; apron.Identified = true; from.AddToBackpack( apron ); FurCape cloak = new FurCape(); cloak.Hue = 0; cloak.Identified = true; from.AddToBackpack( cloak ); from.AddToBackpack( new CrafterSkillGuide() ); from.BankBox.DropItem( new BagOfComponents() ); from.BankBox.DropItem( new BagOfTools() ); from.BankBox.DropItem( new IronIngot( 200 ) ); from.BankBox.DropItem( new MinersIngotPouch() ); from.Map = Map.Malas; from.Location = new Point3D( 1670, 2008, 1 ); from.PlaySound( 0x214 ); from.FixedEffect( 0x376A, 10, 16 ); World.Broadcast( 0x35, true, "Another has chosen thy path of the Crafter!" ); from.CloseGump( typeof( CrafterClassGump ) ); break; } case 1: { from.SendMessage( "You decide that the way of the Crafter is not in your best interests." ); from.CloseGump( typeof( CrafterClassGump ) ); break; } } }