瀏覽代碼

Update BT25-029

hooperk 3 月之前
父節點
當前提交
25fc9cc816
共有 1 個文件被更改,包括 6 次插入5 次删除
  1. 6 5
      Assets/Scripts/CardEffect/BT25/Blue/BT25_029.cs

+ 6 - 5
Assets/Scripts/CardEffect/BT25/Blue/BT25_029.cs

@@ -45,6 +45,7 @@ namespace DCGO.CardEffects.BT25
                     SharedEffectName,
                     SharedActivateCoroutine,
                     SharedEffectDescription,
+                    maxCountPerTurn: 1,
                     hashValue: SharedHashValue,
                     optional: false,
                     isSkippable: true,
@@ -83,10 +84,11 @@ namespace DCGO.CardEffects.BT25
                     selectPermanentEffect.SetUpCustomMessage("Select 1 opponent's Digimon to return to hand", "The opponent is selecting 1 Digimon to return to hand");
                     yield return ContinuousController.instance.StartCoroutine(selectPermanentEffect.Activate());
 
-                    IEnumerator AfterSelectPermanentCoroutine(List<Permanent> permanent)
+                    IEnumerator AfterSelectPermanentCoroutine(List<Permanent> permanents)
                     {
-                        Used = true;
-                        return null;
+                        if (permanents.Count > 0)
+                            Used = true;
+                        yield return null;
                     }
                 }
 
@@ -119,6 +121,7 @@ namespace DCGO.CardEffects.BT25
 
                     if (selectedPermanent != null)
                     {
+                        Used = true;
                         var cardToTrash = selectedPermanent.DigivolutionCards.Last(x => x.IsFaceDown);
                         yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.TrashDigivolutionCardsAndProcessAccordingToResult(
                         targetPermanent: selectedPermanent,
@@ -148,8 +151,6 @@ namespace DCGO.CardEffects.BT25
                                 selectPermanentEffect.SetUpCustomMessage("Select 1 opponent's lowest level Digimon to return to hand", "The opponent is selecting 1 lowest level Digimon to return to hand");
                                 yield return ContinuousController.instance.StartCoroutine(selectPermanentEffect.Activate());
                             }
-
-                            Used = true;
                         }
                     }
                 }