hooperk 3 месяцев назад
Родитель
Сommit
5f91e20002
1 измененных файлов с 4 добавлено и 2 удалено
  1. 4 2
      Assets/Scripts/CardEffect/BT25/Green/BT25_058.cs

+ 4 - 2
Assets/Scripts/CardEffect/BT25/Green/BT25_058.cs

@@ -147,6 +147,8 @@ namespace DCGO.CardEffects.BT25
 
                 bool IsOpponentsDigimon(Permanent permanent) => CardEffectCommons.IsPermanentExistsOnOpponentBattleAreaDigimon(permanent, card);
 
+                bool IsBattleTarget(Permanent permanent) => IsOpponentsDigimon(permanent) && permanent.TopCard.HasDP;
+
                 bool CanActivateCondition(Hashtable hashtable) => CardEffectCommons.IsExistOnBattleArea(card);
 
                 IEnumerator ActivateCoroutine(Hashtable hashtable)
@@ -173,13 +175,13 @@ namespace DCGO.CardEffects.BT25
                     }
                     #endregion
                     #region May Battle
-                    if (CardEffectCommons.HasMatchConditionOpponentsPermanent(card, IsOpponentsDigimon))
+                    if (CardEffectCommons.HasMatchConditionOpponentsPermanent(card, IsBattleTarget))
                     {
                         SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
 
                         selectPermanentEffect.SetUp(
                             selectPlayer: card.Owner,
-                            canTargetCondition: IsOpponentsDigimon,
+                            canTargetCondition: IsBattleTarget,
                             canTargetCondition_ByPreSelecetedList: null,
                             canEndSelectCondition: null,
                             maxCount: 1,