This commit is contained in:
SoulliesOfficial
2025-12-13 23:47:42 -05:00
parent 467e385991
commit c260d0740c
4 changed files with 6 additions and 8 deletions

View File

@@ -222,12 +222,11 @@ namespace Continentis.MainGame.Combat
CommandQueueManager.Instance.AddCommand(new Cmd_Function(() =>
{
currentCharacter.combatBuffSubmodule.ActionEnd();
if (currentCharacter is PlayerHero playerHero)
{
playerHero.combatBuffSubmodule.ActionEnd();
Debug.Log(currentCharacter.data.className + " 结束行动,整理手牌。");
//Debug.Log(currentCharacter.data.className + " 结束行动,整理手牌。");
List<CardInstance> handPile = new List<CardInstance>(playerHero.deckSubmodule.HandPile);
List<CardInstance> cardToRetain = handPile.Where(card => card.HasKeyword("Retain")).ToList(); //含有“保留”关键词的卡牌
List<CardInstance> cardToExhaust = handPile.Where(card => card.HasKeyword("Ethereal")).ToList(); //含有“虚无”关键词的卡牌