ソースを参照

Fix delay chronicle option

Andrej Erdelsky 1 年間 前
コミット
89f0f3ae5b
1 ファイル変更9 行追加0 行削除
  1. 9 0
      Assets/CardEffect/BT20/Black/BT20_095.cs

+ 9 - 0
Assets/CardEffect/BT20/Black/BT20_095.cs

@@ -97,6 +97,15 @@ namespace DCGO.CardEffects.BT20
                 }
 
                 IEnumerator ActivateCoroutine(Hashtable hashtable)
+                {
+                    yield return ContinuousController.instance.StartCoroutine(
+                        CardEffectCommons.DeletePeremanentAndProcessAccordingToResult(
+                            targetPermanents: new List<Permanent>() { card.PermanentOfThisCard() },
+                            activateClass: activateClass, successProcess: _ => SuccessProcess(),
+                            failureProcess: null));
+                }
+
+                IEnumerator SuccessProcess()
                 {
                     if (card.Owner.GetBreedingAreaPermanents().Count(BreedingAreaPermanentCondition) >= 1 &&
                         card.Owner.fieldCardFrames.Count(frame => frame.IsEmptyFrame()) >= 1)