到IronWall
This commit is contained in:
@@ -219,8 +219,8 @@ namespace Continentis.MainGame.Combat
|
||||
List<CardInstance> cardToRetain = handPile.Where(card => card.cardLogic.HasKeyword("Retain")).ToList(); //含有“保留”关键词的卡牌
|
||||
List<CardInstance> cardToExhaust = handPile.Where(card => card.cardLogic.HasKeyword("Ethereal")).ToList(); //含有“虚无”关键词的卡牌
|
||||
List<CardInstance> cardsToDiscard = handPile.Except(cardToRetain).Except(cardToExhaust).ToList(); //其他卡牌,默认丢弃
|
||||
playerHero.deckSubmodule.ExhaustCards(cardToExhaust);
|
||||
playerHero.deckSubmodule.DiscardCards(cardsToDiscard);
|
||||
CommandQueueManager.Instance.AddCommand(playerHero.deckSubmodule.ExhaustCards(cardToExhaust));
|
||||
CommandQueueManager.Instance.AddCommand(playerHero.deckSubmodule.DiscardCards(cardsToDiscard));
|
||||
}
|
||||
|
||||
characterController.actionOrderList.Remove(currentCharacter);
|
||||
|
||||
Reference in New Issue
Block a user