瀏覽代碼

Update BT25_015.cs

x89rt2 3 月之前
父節點
當前提交
1451d46cb4
共有 1 個文件被更改,包括 7 次插入7 次删除
  1. 7 7
      Assets/Scripts/CardEffect/BT25/Red/BT25_015.cs

+ 7 - 7
Assets/Scripts/CardEffect/BT25/Red/BT25_015.cs

@@ -54,15 +54,15 @@ namespace DCGO.CardEffects.BT25
                 return $"[{tag}] Delete 1 of your opponent's Digimon with 6000 DP or less.";
             }
 
-            bool CanSelectPermanentCondition(Permanent permanent)
-            {
-                return CardEffectCommons.IsPermanentExistsOnOpponentBattleAreaDigimon(permanent, card)
-                    &&permanent.HasDP
-                    && permanent.DP <= 6000;
-            }
-
             IEnumerator SharedActivateCoroutine(Hashtable _hashtable, ActivateClass activateClass)
             {
+                bool CanSelectPermanentCondition(Permanent permanent)
+                {
+                    return CardEffectCommons.IsPermanentExistsOnOpponentBattleAreaDigimon(permanent, card)
+                        && permanent.HasDP
+                        && permanent.DP <= card.Owner.MaxDP_DeleteEffect(6000, activateClass);
+                }
+
                 if (CardEffectCommons.HasMatchConditionPermanent(CanSelectPermanentCondition))
                 {
                     SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();