x89rt2 4 месяцев назад
Родитель
Сommit
c994e8fd76
1 измененных файлов с 3 добавлено и 1 удалено
  1. 3 1
      Assets/Scripts/CardEffect/ST24/Green/ST22_14.cs

+ 3 - 1
Assets/Scripts/CardEffect/ST24/Green/ST22_14.cs

@@ -148,6 +148,8 @@ namespace DCGO.CardEffects.ST24
                         new List<Permanent>() { card.PermanentOfThisCard() },
                         CardEffectCommons.CardEffectHashtable(activateClass)).Tap());
 
+                    int maxCount = Math.Min(1, CardEffectCommons.MatchConditionPermanentCount(CanSelectPermanentCondition));
+
                     SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
 
                     selectPermanentEffect.SetUp(
@@ -155,7 +157,7 @@ namespace DCGO.CardEffects.ST24
                         canTargetCondition: CanSelectPermanentCondition,
                         canTargetCondition_ByPreSelecetedList: null,
                         canEndSelectCondition: null,
-                        maxCount: 1,
+                        maxCount: maxCount,
                         canNoSelect: false,
                         canEndNotMax: false,
                         selectPermanentCoroutine: null,