/// <summary> /// 行走 /// </summary> /// <param name="note"></param> protected void WalkTo(UserNote note) { PlayerBusiness player = note.Player; //战斗状态或已加入队伍的队员不能自己行走(队长和离队的可以走) if (player.AState == ActionState.Fight || player.TeamJob == TeamJob.Member) { return; } double value = note.GetDouble(0); if (value == player.Point) { return; } //if (WalkEvent(player)) //{ // CallAllExcludeOne(player, player.WalkTo(value)); //} CallAllExcludeOne(player, player.WalkTo(value)); WalkEvent(player); }