//临时的ai操作 public static async Task TempOperationDiscard() { if (Info.AgainstInfo.isDownPass || Info.AgainstInfo.isUpPass) { Command.GameUI.UiCommand.SetCurrentPass(); } else { await CardCommand.DisCard(Info.AgainstInfo.cardSet[Orientation.My][RegionTypes.Hand].CardList[0]); } }
/// <summary> /// 临时的ai操作 /// </summary> /// <returns></returns> public static async Task TempOperationAsync() { if (Info.GlobalBattleInfo.IsPlayer1Pass || Info.GlobalBattleInfo.IsPlayer2Pass) { UiCommand.SetCurrentPass(); } else { await CardCommand.DisCard(Info.RowsInfo.GetMyCardList(RegionTypes.Hand)[0]); } }