소스 검색

ThunderFlame Crusher bug fix

Albert Vasconcellos 2 년 전
부모
커밋
436647505b
1개의 변경된 파일6개의 추가작업 그리고 4개의 파일을 삭제
  1. 6 4
      Assets/CardEffect/BT16/Purple/ThunderflameCrusher_BT16_100.cs

+ 6 - 4
Assets/CardEffect/BT16/Purple/ThunderflameCrusher_BT16_100.cs

@@ -233,6 +233,7 @@ namespace DCGO.CardEffects.BT16
 
                 IEnumerator ActivateCoroutine(Hashtable hashtable)
                 {
+
                     if (CardEffectCommons.HasMatchConditionPermanent(CanSelectPermanentCondition))
                     {
                         int maxCount = Math.Min(1, CardEffectCommons.MatchConditionPermanentCount(CanSelectPermanentCondition));
@@ -257,10 +258,11 @@ namespace DCGO.CardEffects.BT16
 
                     if(card.Owner.SecurityCards.Count <= 2)
                     {
-                        yield return ContinuousController.instance.StartCoroutine(new IPutSecurityPermanent(
-                            card.PermanentOfThisCard(),
-                            CardEffectCommons.CardEffectHashtable(activateClass),
-                            toTop: false).PutSecurity());
+                        yield return ContinuousController.instance.StartCoroutine(CardObjectController.AddSecurityCard(card, toTop: false));
+
+                        yield return ContinuousController.instance.StartCoroutine(GManager.instance.GetComponent<Effects>().CreateRecoveryEffect(card.Owner));
+
+                        yield return ContinuousController.instance.StartCoroutine(new IAddSecurity(card.Owner).AddSecurity());
                     }
                 }
             }