mbunch_kascope 1 год назад
Родитель
Сommit
3ccba976f6
2 измененных файлов с 6 добавлено и 14 удалено
  1. 2 0
      Assets/CardEffect/ST21/Purple/ST21_11.cs
  2. 4 14
      Assets/CardEffect/ST21/Yellow/ST21_06.cs

+ 2 - 0
Assets/CardEffect/ST21/Purple/ST21_11.cs

@@ -139,6 +139,7 @@ namespace DCGO.CardEffects.ST21
                 ActivateClass activateClass = new ActivateClass();
                 activateClass.SetUpICardEffect("Play level 4", CanUseCondition, card);
                 activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, 1, true, EffectDescription());
+                activateClass.SetHashString("WA_ST21-11");
                 cardEffects.Add(activateClass);
                 
                 string EffectDescription()
@@ -211,6 +212,7 @@ namespace DCGO.CardEffects.ST21
                 }
             }
             #endregion
+
             return cardEffects;
         }
     }

+ 4 - 14
Assets/CardEffect/ST21/Yellow/ST21_06.cs

@@ -93,13 +93,8 @@ namespace DCGO.CardEffects.ST21
 
                     IEnumerator SelectPermanentCoroutine(Permanent permanent)
                     {
-                        if (!permanent.IsToken)
-                        {
-                            Player selectedOwner = permanent.TopCard.Owner;
-                            yield return ContinuousController.instance.StartCoroutine(new IPutSecurityPermanent(permanent, CardEffectCommons.CardEffectHashtable(activateClass), toTop: true).PutSecurity());
-                        }
-
-                        yield return null;
+                        Player selectedOwner = permanent.TopCard.Owner;
+                        yield return ContinuousController.instance.StartCoroutine(new IPutSecurityPermanent(permanent, CardEffectCommons.CardEffectHashtable(activateClass), toTop: true).PutSecurity());
                     }
                 }
             }
@@ -161,13 +156,8 @@ namespace DCGO.CardEffects.ST21
 
                     IEnumerator SelectPermanentCoroutine(Permanent permanent)
                     {
-                        if (!permanent.IsToken)
-                        {
-                            Player selectedOwner = permanent.TopCard.Owner;
-                            yield return ContinuousController.instance.StartCoroutine(new IPutSecurityPermanent(permanent, CardEffectCommons.CardEffectHashtable(activateClass), toTop: true).PutSecurity());
-                        }
-
-                        yield return null;
+                        Player selectedOwner = permanent.TopCard.Owner;
+                        yield return ContinuousController.instance.StartCoroutine(new IPutSecurityPermanent(permanent, CardEffectCommons.CardEffectHashtable(activateClass), toTop: true).PutSecurity());
                     }
                 }
             }