Procházet zdrojové kódy

Remove some warnings by removing assigned but unused code.

x89rt2 před 4 měsíci
rodič
revize
5ba3512b11
38 změnil soubory, kde provedl 25 přidání a 196 odebrání
  1. 0 13
      Assets/Scripts/CardEffect/BT14/Blue/BT14_029.cs
  2. 0 2
      Assets/Scripts/CardEffect/BT15/Black/BT15_096.cs
  3. 0 16
      Assets/Scripts/CardEffect/BT16/Yellow/BT16_101.cs
  4. 0 13
      Assets/Scripts/CardEffect/BT18/Blue/BT18_029.cs
  5. 0 2
      Assets/Scripts/CardEffect/BT19/Black/BT19_062.cs
  6. 0 2
      Assets/Scripts/CardEffect/BT19/Black/BT19_065.cs
  7. 0 2
      Assets/Scripts/CardEffect/BT19/Purple/BT19_099.cs
  8. 0 2
      Assets/Scripts/CardEffect/BT20/Purple/BT20_071.cs
  9. 0 4
      Assets/Scripts/CardEffect/BT20/Yellow/BT20_036.cs
  10. 0 13
      Assets/Scripts/CardEffect/BT21/Purple/BT21_073.cs
  11. 0 10
      Assets/Scripts/CardEffect/BT23/Black/BT23_056.cs
  12. 0 2
      Assets/Scripts/CardEffect/BT23/Green/BT23_095.cs
  13. 0 2
      Assets/Scripts/CardEffect/BT23/Purple/BT23_069.cs
  14. 0 2
      Assets/Scripts/CardEffect/BT23/Purple/BT23_087.cs
  15. 0 1
      Assets/Scripts/CardEffect/BT24/Blue/BT24_020.cs
  16. 0 1
      Assets/Scripts/CardEffect/BT24/Green/BT24_043.cs
  17. 0 2
      Assets/Scripts/CardEffect/BT24/Purple/BT24_066.cs
  18. 0 1
      Assets/Scripts/CardEffect/BT24/Purple/BT24_068.cs
  19. 0 1
      Assets/Scripts/CardEffect/BT24/Red/BT24_018.cs
  20. 0 1
      Assets/Scripts/CardEffect/EX6/Black/EX6_042.cs
  21. 0 9
      Assets/Scripts/CardEffect/EX6/Purple/EX6_006.cs
  22. 1 14
      Assets/Scripts/CardEffect/EX6/Yellow/EX6_023.cs
  23. 1 11
      Assets/Scripts/CardEffect/EX6/Yellow/EX6_024.cs
  24. 1 1
      Assets/Scripts/CardEffect/EX7/Blue/EX7_015.cs
  25. 0 13
      Assets/Scripts/CardEffect/LM/Black/LM_031.cs
  26. 0 2
      Assets/Scripts/CardEffect/LM/Black/LM_043.cs
  27. 0 2
      Assets/Scripts/CardEffect/LM/Yellow/LM_020.cs
  28. 0 13
      Assets/Scripts/CardEffect/P/Blue/P_171.cs
  29. 0 1
      Assets/Scripts/CardEffect/P/Purple/P_193.cs
  30. 0 2
      Assets/Scripts/CardEffect/P/Purple/P_223.cs
  31. 0 2
      Assets/Scripts/CardEffect/P/Yellow/P_135.cs
  32. 0 13
      Assets/Scripts/CardEffect/P/Yellow/P_172.cs
  33. 0 8
      Assets/Scripts/CardEffect/ST17/Green/ST17_04.cs
  34. 0 2
      Assets/Scripts/CardEffect/ST17/Green/ST17_11.cs
  35. 0 6
      Assets/Scripts/CardEffect/ST18/Green/ST18_09.cs
  36. 0 5
      Assets/Scripts/CardEffect/ST22/Yellow/ST22_10.cs
  37. 11 0
      Assets/Scripts/CardEffect/ST23/Black/ST23_11.cs.meta
  38. 11 0
      Assets/Scripts/CardEffect/ST23/Yellow/ST23_03.cs.meta

+ 0 - 13
Assets/Scripts/CardEffect/BT14/Blue/BT14_029.cs

@@ -84,19 +84,6 @@ namespace DCGO.CardEffects.BT14
                     return "[When Attacking][Once Per Turn] If your opponent has no Digimon with as many or more digivolution cards than this Digimon, unsuspend this Digimon.";
                 }
 
-                bool PermanentCondition(Permanent permanent)
-                {
-                    if (CardEffectCommons.IsPermanentExistsOnOpponentBattleAreaDigimon(permanent, card))
-                    {
-                        if (CardEffectCommons.IsExistOnBattleArea(card))
-                        {
-                            return true;
-                        }
-                    }
-
-                    return false;
-                }
-
                 bool CanUseCondition(Hashtable hashtable)
                 {
                     return CardEffectCommons.CanTriggerOnAttack(hashtable, card);

+ 0 - 2
Assets/Scripts/CardEffect/BT15/Black/BT15_096.cs

@@ -231,8 +231,6 @@ namespace DCGO.CardEffects.BT15
 
                         if (card.Owner.HandCards.Count(CanSelectCardCondition) >= 1)
                         {
-                            Permanent selectedPermanent = null;
-
                             List<CardSource> selectedCards = new List<CardSource>();
 
                             int maxCount = 1;

+ 0 - 16
Assets/Scripts/CardEffect/BT16/Yellow/BT16_101.cs

@@ -52,22 +52,6 @@ namespace DCGO.CardEffects.BT16
                     return "[When Digivolving] Suspend all of your opponent's Digimon. Then, this Digimon may attack.";
                 }
 
-                bool CanSelectPermanentCondition(Permanent permanent)
-                {
-                    if (CardEffectCommons.IsPermanentExistsOnOpponentBattleAreaDigimon(permanent, card))
-                    {
-                        if (!permanent.TopCard.CanNotBeAffected(activateClass))
-                        {
-                            if (permanent.IsDigimon)
-                            {
-                                return true;
-                            }
-                        }
-                    }
-
-                    return false;
-                }
-
                 bool CanUseCondition(Hashtable hashtable)
                 {
                     return CardEffectCommons.CanTriggerWhenDigivolving(hashtable, card);

+ 0 - 13
Assets/Scripts/CardEffect/BT18/Blue/BT18_029.cs

@@ -279,19 +279,6 @@ namespace DCGO.CardEffects.BT18
                     return false;
                 }
 
-                bool CanSelectPermanentCondition(Permanent permanent)
-                {
-                    if (CardEffectCommons.IsPermanentExistsOnOwnerBattleAreaDigimon(permanent, card))
-                    {
-                        if (permanent == card.PermanentOfThisCard())
-                        {
-                            return true;
-                        }
-                    }
-
-                    return false;
-                }
-
                 bool CanUseCondition(Hashtable hashtable)
                 {
                     if (CardEffectCommons.IsExistOnBattleAreaDigimon(card))

+ 0 - 2
Assets/Scripts/CardEffect/BT19/Black/BT19_062.cs

@@ -74,8 +74,6 @@ namespace DCGO.CardEffects.BT19
 
                 IEnumerator ActivateCoroutine(Hashtable hashtable)
                 {
-                    Permanent selectedPermanent = null;
-
                     SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
 
                     selectPermanentEffect.SetUp(

+ 0 - 2
Assets/Scripts/CardEffect/BT19/Black/BT19_065.cs

@@ -239,8 +239,6 @@ namespace DCGO.CardEffects.BT19
 
                 IEnumerator ActivateCoroutine(Hashtable hashtable)
                 {
-                    CardSource playedSource = null;
-
                     SelectCardEffect selectCardEffect = GManager.instance.GetComponent<SelectCardEffect>();
 
                     selectCardEffect.SetUp(

+ 0 - 2
Assets/Scripts/CardEffect/BT19/Purple/BT19_099.cs

@@ -182,8 +182,6 @@ namespace DCGO.CardEffects.BT19
             #region All Turns - Delay
             if (timing == EffectTiming.WhenRemoveField)
             {
-                int playCostValue = -1;
-
                 ActivateClass activateClass = new ActivateClass();
                 activateClass.SetUpICardEffect("Play 1 [Wicked God] trait Digimon card from hand or trash", CanUseCondition, card);
                 activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, -1, true, EffectDiscription());

+ 0 - 2
Assets/Scripts/CardEffect/BT20/Purple/BT20_071.cs

@@ -292,8 +292,6 @@ namespace DCGO.CardEffects.BT20
 
                 IEnumerator ActivateCoroutine(Hashtable hashtable)
                 {
-                    Permanent selectedPermanent = null;
-
                     SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
 
                     selectPermanentEffect.SetUp(

+ 0 - 4
Assets/Scripts/CardEffect/BT20/Yellow/BT20_036.cs

@@ -282,8 +282,6 @@ namespace DCGO.CardEffects.BT20
 
                 IEnumerator ActivateCoroutine(Hashtable hashtable)
                 {
-                    Permanent selectedPermanent = null;
-
                     SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
 
                     selectPermanentEffect.SetUp(
@@ -365,8 +363,6 @@ namespace DCGO.CardEffects.BT20
 
                 IEnumerator ActivateCoroutine(Hashtable hashtable)
                 {
-                    Permanent selectedPermanent = null;
-
                     SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
 
                     selectPermanentEffect.SetUp(

+ 0 - 13
Assets/Scripts/CardEffect/BT21/Purple/BT21_073.cs

@@ -474,19 +474,6 @@ namespace DCGO.CardEffects.BT21
                     
                 }
 
-                bool CanSelectPermanentCondition(Permanent permanent)
-                {
-                    if (permanent == card.PermanentOfThisCard())
-                    {
-                        if (permanent.LinkedCards.Count(CanSelectCardCondition) >= 1)
-                        {
-                            return true;
-                        }
-                    }
-
-                    return false;
-                }
-
                 bool CanSelectCardCondition(CardSource cardSource)
                 {
                     return true;

+ 0 - 10
Assets/Scripts/CardEffect/BT23/Black/BT23_056.cs

@@ -204,11 +204,6 @@ namespace DCGO.CardEffects.BT23
                         && CardEffectCommons.HasMatchConditionPermanent(IsCsTamer)
                         && CardEffectCommons.HasMatchConditionPermanent(SharedCanSelectPermamentCondition);
                 }
-
-                IEnumerator ActivateCoroutine(Hashtable hashtable)
-                {
-                    yield return null;
-                }
             }
 
             #endregion
@@ -239,11 +234,6 @@ namespace DCGO.CardEffects.BT23
                         && CardEffectCommons.HasMatchConditionPermanent(IsCsTamer)
                         && CardEffectCommons.HasMatchConditionPermanent(SharedCanSelectPermamentCondition);
                 }
-
-                IEnumerator ActivateCoroutine(Hashtable hashtable)
-                {
-                    yield return null;
-                }
             }
 
             #endregion

+ 0 - 2
Assets/Scripts/CardEffect/BT23/Green/BT23_095.cs

@@ -67,8 +67,6 @@ namespace DCGO.CardEffects.BT23
 
                 if (CardEffectCommons.HasMatchConditionPermanent(CanSelectPermanentCondition))
                 {
-                    Permanent selectedPermanent = null;
-
                     SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
                     int maxCount = Math.Min(1, CardEffectCommons.MatchConditionPermanentCount(CanSelectPermanentCondition));
 

+ 0 - 2
Assets/Scripts/CardEffect/BT23/Purple/BT23_069.cs

@@ -142,8 +142,6 @@ namespace DCGO.CardEffects.BT23
 
             if (timing == EffectTiming.OnAllyAttack)
             {
-                Permanent attackingPermament = null;
-
                 ActivateClass activateClass = new ActivateClass();
                 activateClass.SetUpICardEffect("By deleting this digimon, delete 1 level 6 or lower digimon. if you didn't delete, you may end the attack", CanUseCondition, card);
                 activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, -1, false, EffectDiscription());

+ 0 - 2
Assets/Scripts/CardEffect/BT23/Purple/BT23_087.cs

@@ -142,8 +142,6 @@ namespace DCGO.CardEffects.BT23
 
             if (timing == EffectTiming.OnEnterFieldAnyone)
             {
-                Permanent DigivolvingDigimon = null;
-
                 ActivateClass activateClass = new ActivateClass();
                 activateClass.SetUpICardEffect("By suspending this tamer, gain <Rush>", CanUseCondition, card);
                 activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, -1, true, EffectDiscription());

+ 0 - 1
Assets/Scripts/CardEffect/BT24/Blue/BT24_020.cs

@@ -67,7 +67,6 @@ namespace DCGO.CardEffects.BT24
 
                 IEnumerator ActivateCoroutine(Hashtable _hashtable)
                 {
-                    bool addedCard = false;
                     yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.SimplifiedRevealDeckTopCardsAndSelect(
                         revealCount: 3,
                         simplifiedSelectCardConditions:

+ 0 - 1
Assets/Scripts/CardEffect/BT24/Green/BT24_043.cs

@@ -66,7 +66,6 @@ namespace DCGO.CardEffects.BT24
 
                 IEnumerator ActivateCoroutine(Hashtable _hashtable)
                 {
-                    bool addedCard = false;
                     yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.SimplifiedRevealDeckTopCardsAndSelect(
                         revealCount: 3,
                         simplifiedSelectCardConditions:

+ 0 - 2
Assets/Scripts/CardEffect/BT24/Purple/BT24_066.cs

@@ -62,8 +62,6 @@ namespace DCGO.CardEffects.BT24
 
                 IEnumerator ActivateCoroutine(Hashtable _hashtable)
                 {
-                    bool addedCard = false;
-
                     yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.SimplifiedRevealDeckTopCardsAndSelect(
                         revealCount: 3,
                         simplifiedSelectCardConditions:

+ 0 - 1
Assets/Scripts/CardEffect/BT24/Purple/BT24_068.cs

@@ -48,7 +48,6 @@ namespace DCGO.CardEffects.BT24
 
                 IEnumerator ActivateCoroutine(Hashtable _hashtable)
                 {
-                    bool addedCard = false;
                     yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.SimplifiedRevealDeckTopCardsAndSelect(
                         revealCount: 3,
                         simplifiedSelectCardConditions:

+ 0 - 1
Assets/Scripts/CardEffect/BT24/Red/BT24_018.cs

@@ -299,7 +299,6 @@ namespace DCGO.CardEffects.BT24
                 IEnumerator ActivateCoroutine(Hashtable hashtable)
                 {
                     #region By Deleting Lowest Opponent's DP Digimon
-                    bool deletedCard = false;
                     if (CardEffectCommons.HasMatchConditionPermanent(CanDeleteCondition))
                     {
                         SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();

+ 0 - 1
Assets/Scripts/CardEffect/EX6/Black/EX6_042.cs

@@ -82,7 +82,6 @@ namespace DCGO.CardEffects.EX6
                 IEnumerator ActivateCoroutine(Hashtable hashtable)
                 {
                     Permanent selectedPermanent = null;
-                    Permanent selectedEnemy = null;
 
                     yield return ContinuousController.instance.StartCoroutine(card.Owner.AddMemory(-2, activateClass));
 

+ 0 - 9
Assets/Scripts/CardEffect/EX6/Purple/EX6_006.cs

@@ -651,15 +651,6 @@ namespace DCGO.CardEffects.EX6
                     return "[Breeding] [End of Opponent's Turn] By deleting this Digimon with 7 or more cards with different names in it's digivolution cards, you may play 1 [Ogudomon] from your trash without paying the cost";
                 }
 
-                bool CanSelectPermanentCondition(Permanent permanent)
-                {
-                    if (permanent == card.PermanentOfThisCard())
-                    {
-                        return true;
-                    }
-                    return false;
-                }
-
                 bool CanSelectOgudomonInTrash(CardSource cardSource)
                 {
                     if (cardSource.CardNames.Contains("Ogudomon"))

+ 1 - 14
Assets/Scripts/CardEffect/EX6/Yellow/EX6_023.cs

@@ -231,20 +231,7 @@ namespace DCGO.CardEffects.EX6
                 bool CanUseCondition(Hashtable hashtable)
                 {
                     return CardEffectCommons.CanTriggerOnAttack(hashtable, card);
-                }
-                
-                bool CanSelectOpponentPermanentCondition(Permanent permanent)
-                {
-                    if (CardEffectCommons.IsPermanentExistsOnOpponentBattleAreaDigimon(permanent, card))
-                    {
-                        if (permanent.DP <= card.Owner.MaxDP_DeleteEffect(6000, activateClass))
-                        {
-                            return true;
-                        }
-                    }
-                    
-                    return false;
-                }
+                }              
                 
                 bool CanActivateCondition(Hashtable hashtable)
                 {

+ 1 - 11
Assets/Scripts/CardEffect/EX6/Yellow/EX6_024.cs

@@ -272,17 +272,7 @@ namespace DCGO.CardEffects.EX6
                 bool CanUseCondition(Hashtable hashtable)
                 {
                     return CardEffectCommons.CanTriggerOnAttack(hashtable, card);
-                }
-                
-                bool CanSelectOpponentPermanentCondition(Permanent permanent)
-                {
-                    if (CardEffectCommons.IsPermanentExistsOnOpponentBattleArea(permanent, card))
-                    {
-                        return permanent.IsDigimon || permanent.IsTamer;
-                    }
-                    
-                    return false;
-                }
+                }               
                 
                 bool CanActivateCondition(Hashtable hashtable)
                 {

+ 1 - 1
Assets/Scripts/CardEffect/EX7/Blue/EX7_015.cs

@@ -44,7 +44,7 @@ namespace DCGO.CardEffects.EX7
                     cardCondition: CardCondition);
                 cardEffects.Add(cannotReduceCostClass);
                 
-                string EffectDiscription()
+                string EffectDescription()
                 {
                     return "[All Turns] Players can't reduce play costs.";
                 }

+ 0 - 13
Assets/Scripts/CardEffect/LM/Black/LM_031.cs

@@ -140,19 +140,6 @@ namespace DCGO.CardEffects.LM
                            CardEffectCommons.CanDeclareOptionDelayEffect(card);
                 }
 
-                bool CanActivateCondition(Hashtable hashtable)
-                {
-                    if (CardEffectCommons.IsExistOnBattleArea(card))
-                    {
-                        if (card.Owner.Enemy.GetBattleAreaDigimons().Count >= 1)
-                        {
-                            return true;
-                        }
-                    }
-
-                    return false;
-                }
-
                 IEnumerator ActivateCoroutine(Hashtable hashtable)
                 {
                     bool deleted = false;

+ 0 - 2
Assets/Scripts/CardEffect/LM/Black/LM_043.cs

@@ -96,7 +96,6 @@ namespace DCGO.CardEffects.LM
                 {
                     if (CardEffectCommons.HasMatchConditionOpponentsPermanent(card, CanSelectPermanentDeDigi))
                     {
-                        Permanent selectedPermanent = null;
                         int maxCount = Math.Min(1, CardEffectCommons.MatchConditionPermanentCount(CanSelectPermanentDeDigi));
                         SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
 
@@ -176,7 +175,6 @@ namespace DCGO.CardEffects.LM
                 {
                     if (CardEffectCommons.HasMatchConditionOpponentsPermanent(card, CanSelectPermanentDeDigi))
                     {
-                        Permanent selectedPermanent = null;
                         int maxCount = Math.Min(1, CardEffectCommons.MatchConditionPermanentCount(CanSelectPermanentDeDigi));
                         SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
 

+ 0 - 2
Assets/Scripts/CardEffect/LM/Yellow/LM_020.cs

@@ -61,8 +61,6 @@ namespace DCGO.CardEffects.LM
 
                 IEnumerator ActivateCoroutine(Hashtable _hashtable)
                 {
-                    bool placedToSecurity = false;
-
                     SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
 
                     selectPermanentEffect.SetUp(

+ 0 - 13
Assets/Scripts/CardEffect/P/Blue/P_171.cs

@@ -153,19 +153,6 @@ namespace DCGO.CardEffects.P
                     return false;
                 }
 
-                bool CanNoSelect(CardSource cardSource)
-                {
-                    if (cardSource != null)
-                    {
-                        if (cardSource.PayingCost(SelectCardEffect.Root.Hand, null, checkAvailability: false) > cardSource.Owner.MaxMemoryCost)
-                        {
-                            return false;
-                        }
-                    }
-
-                    return true;
-                }
-
                 bool CanUseCondition(Hashtable hashtable)
                 {
                     return CardEffectCommons.CanTriggerWhenPermanentWouldPlay(hashtable, CardCondition);

+ 0 - 1
Assets/Scripts/CardEffect/P/Purple/P_193.cs

@@ -120,7 +120,6 @@ namespace DCGO.CardEffects.P
                     {
                         if (CardEffectCommons.HasMatchConditionOwnersPermanent(card, CanSelectPermanentCondition))
                         {
-                            bool destroyed = false;
                             List<Permanent> deletedPermanents = new List<Permanent>();
 
                             SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();

+ 0 - 2
Assets/Scripts/CardEffect/P/Purple/P_223.cs

@@ -287,8 +287,6 @@ namespace DCGO.CardEffects.P
                 {
                     List<CardSource> selectedCards = new List<CardSource>();
 
-                    int maxCount = 1;
-
                     #region #region User Selection - Select Card Location
 
                     if (canSelectHand && canSelectTrash)

+ 0 - 2
Assets/Scripts/CardEffect/P/Yellow/P_135.cs

@@ -40,8 +40,6 @@ namespace DCGO.CardEffects.P
 
                 IEnumerator ActivateCoroutine(Hashtable hashtable)
                 {
-                    Permanent selectedPermanent = null;
-
                     SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
 
                     selectPermanentEffect.SetUp(

+ 0 - 13
Assets/Scripts/CardEffect/P/Yellow/P_172.cs

@@ -152,19 +152,6 @@ namespace DCGO.CardEffects.P
                     return false;
                 }
 
-                bool CanNoSelect(CardSource cardSource)
-                {
-                    if (cardSource != null)
-                    {
-                        if (cardSource.PayingCost(SelectCardEffect.Root.Hand, null, checkAvailability: false) > cardSource.Owner.MaxMemoryCost)
-                        {
-                            return false;
-                        }
-                    }
-
-                    return true;
-                }
-
                 bool CanUseCondition(Hashtable hashtable)
                 {
                     return CardEffectCommons.CanTriggerWhenPermanentWouldPlay(hashtable, CardCondition);

+ 0 - 8
Assets/Scripts/CardEffect/ST17/Green/ST17_04.cs

@@ -262,18 +262,10 @@ public class ST17_04 : CEntity_Effect
 
             IEnumerator ActivateCoroutine(Hashtable _hashtable)
             {
-                Permanent selectedPermanent;
-
                 if (CardEffectCommons.HasMatchConditionPermanent(CanSelectPermanentCondition))
                 {
                     int maxCount = Math.Min(1, CardEffectCommons.MatchConditionPermanentCount(CanSelectPermanentCondition));
 
-                    bool deletedOwn = false;
-
-                    Permanent deletedCard = null;
-
-                    int deleteCount = 1;
-
                     SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
 
                     selectPermanentEffect.SetUp(

+ 0 - 2
Assets/Scripts/CardEffect/ST17/Green/ST17_11.cs

@@ -154,8 +154,6 @@ namespace DCGO.CardEffects.ST17
                     {
                         if (card.Owner.HandCards.Count(CanSelectCardCondition) >= 1)
                         {
-                            Permanent selectedPermanent = null;
-
                             List<CardSource> selectedCards = new List<CardSource>();
 
                             int maxCount = 1;

+ 0 - 6
Assets/Scripts/CardEffect/ST18/Green/ST18_09.cs

@@ -41,12 +41,6 @@ namespace DCGO.CardEffects.ST18
                     return CardEffectCommons.CanTriggerOnDeletion(hashtable, card);
                 }
 
-                bool CanSelectPermanentCondition(Permanent permanent)
-                {
-                    return CardEffectCommons.IsPermanentExistsOnBattleArea(permanent) &&
-                           permanent.IsDigimon;
-                }
-
                 bool CanSelectCardCondition(CardSource cardSource)
                 {
                     return cardSource.IsDigimon &&

+ 0 - 5
Assets/Scripts/CardEffect/ST22/Yellow/ST22_10.cs

@@ -144,11 +144,6 @@ namespace DCGO.CardEffects.ST22
                             permanent.TopCard.ContainsCardName("Sakuyamon"));
                 }
 
-                bool CanSelectPermament(Permanent permanent)
-                {
-                    return removedPermanents.Contains(permanent);
-                }
-
                 IEnumerator ActivateCoroutine(Hashtable hashtable)
                 {
                     #region Trash Card from security

+ 11 - 0
Assets/Scripts/CardEffect/ST23/Black/ST23_11.cs.meta

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

+ 11 - 0
Assets/Scripts/CardEffect/ST23/Yellow/ST23_03.cs.meta

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