Просмотр исходного кода

Update BT25-076 compilation issues

hooperk 3 месяцев назад
Родитель
Сommit
6441c59a41

+ 3 - 3
Assets/Scripts/CardEffect/BT25/Black/BT25_076.cs

@@ -269,7 +269,7 @@ namespace DCGO.CardEffects.BT25
                 return $"[{tag}] Delete 1 of your opponent's Digimon with the lowest play cost. If this effect didn't delete, trash your opponent's top security card.";
             }
 
-            bool CanSelectPermanentCondition(Permanent permanent)
+            bool CanSelectMinCostCondition(Permanent permanent)
             {
                 return CardEffectCommons.IsMinCost(permanent, card.Owner.Enemy, true);
             }
@@ -280,13 +280,13 @@ namespace DCGO.CardEffects.BT25
 
                 bool failedToDelete = true;
 
-                if (CardEffectCommons.HasMatchConditionPermanent(CanSelectPermanentCondition))
+                if (CardEffectCommons.HasMatchConditionPermanent(CanSelectMinCostCondition))
                 {
                     SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
 
                     selectPermanentEffect.SetUp(
                         selectPlayer: card.Owner,
-                        canTargetCondition: CanSelectPermanentCondition,
+                        canTargetCondition: CanSelectMinCostCondition,
                         canTargetCondition_ByPreSelecetedList: null,
                         canEndSelectCondition: null,
                         maxCount: 1,

+ 11 - 0
Assets/Scripts/CardEffect/BT25/Black/BT25_076.cs.meta

@@ -0,0 +1,11 @@
+fileFormatVersion: 2
+guid: e973d0c68c6738245bf04ad4145b93d2
+MonoImporter:
+  externalObjects: {}
+  serializedVersion: 2
+  defaultReferences: []
+  executionOrder: 0
+  icon: {instanceID: 0}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: