Explorar el Código

Update EX12_052.cs

x89rt2 hace 1 mes
padre
commit
1901efbad7
Se han modificado 1 ficheros con 6 adiciones y 1 borrados
  1. 6 1
      Assets/Scripts/CardEffect/EX12/Green/EX12_052.cs

+ 6 - 1
Assets/Scripts/CardEffect/EX12/Green/EX12_052.cs

@@ -126,6 +126,11 @@ namespace DCGO.CardEffects.EX12
                     whenAttacking: true,
                     counter: true);
 
+            bool CanSelectBattlePermanentCondition(Permanent permanent)
+            {
+                return CardEffectCommons.IsPermanentExistsOnOpponentBattleAreaDigimon(permanent, card);
+            }
+
             IEnumerator SharedActivateCoroutine(Hashtable hashtable, ActivateClass activateClass)
             {
                 bool isUsed = false;
@@ -169,7 +174,7 @@ namespace DCGO.CardEffects.EX12
 
                         selectPermanentEffect.SetUp(
                             selectPlayer: card.Owner,
-                            canTargetCondition: CanSelectPermanentCondition,
+                            canTargetCondition: CanSelectBattlePermanentCondition,
                             canTargetCondition_ByPreSelecetedList: null,
                             canEndSelectCondition: null,
                             maxCount: 1,