protected override bool PlayerExit(PlayerBusiness player) { //扣除玩家经验. if (m_lost > 0) { player.LostExperience(m_lost, FinanceType.PKLost); } if (m_protectTime > 0) { player.LastPK = DateTime.UtcNow.AddSeconds(m_protectTime); } return base.PlayerExit(player); }