public override void OnDeath(Container c) { for (int i = 0; i < 10; i++) { var suit = new LordBritishSuit(); suit.AccessLevel = AccessLevel.Player; suit.LootType = LootType.Regular; c.DropItem(suit); } Engines.ZombieEvent.ZombieEvent.AddItem(c); base.OnDeath(c); }
private void CreateClassic() { m_MoveSound = 1055; m_CaptureSound = 1068; m_DeathSound = 0; m_CheckSound = 1086; m_CheckMateSound = 1088; m_Piece.Female = false; m_Piece.BodyValue = 0x190; m_Piece.AccessLevel = AccessLevel.GameMaster; m_Piece.NameHue = 0x3B2; if ( m_BChessboard.OverrideMinorHue ) { m_Piece.Hue = Hue; } else { m_Piece.Hue = m_BChessboard.SkinHue; } Item item = null; if ( m_Color == ChessColor.White ) { item = new LordBritishSuit(); m_Piece.AddItem( item ); item = new OrderShield(); m_Piece.AddItem( item ); item = new Longsword(); m_Piece.AddItem( item ); } else { item = new LordBlackthorneSuit(); m_Piece.AddItem( item ); item = new ChaosShield(); m_Piece.AddItem( item ); item = new Longsword(); m_Piece.AddItem( item ); } }