Prechádzať zdrojové kódy

fixed naming and added tamers

dp101428 1 rok pred
rodič
commit
acbd826d92
35 zmenil súbory, kde vykonal 442 pridanie a 25 odobranie
  1. 0 3
      Assets/CardBaseEntity/ST20/Black/Digimon/ST20_010.asset
  2. 3 0
      Assets/CardBaseEntity/ST20/Black/Digimon/ST20_10.asset
  3. 0 0
      Assets/CardBaseEntity/ST20/Black/Digimon/ST20_10.asset.meta
  4. 8 0
      Assets/CardBaseEntity/ST20/Black/Tamer.meta
  5. 3 0
      Assets/CardBaseEntity/ST20/Black/Tamer/ST20_13.asset
  6. 8 0
      Assets/CardBaseEntity/ST20/Black/Tamer/ST20_13.asset.meta
  7. 0 3
      Assets/CardBaseEntity/ST20/Red/Digimon/ST20_002.asset
  8. 0 3
      Assets/CardBaseEntity/ST20/Red/Digimon/ST20_003.asset
  9. 0 3
      Assets/CardBaseEntity/ST20/Red/Digimon/ST20_004.asset
  10. 3 0
      Assets/CardBaseEntity/ST20/Red/Digimon/ST20_02.asset
  11. 0 0
      Assets/CardBaseEntity/ST20/Red/Digimon/ST20_02.asset.meta
  12. 3 0
      Assets/CardBaseEntity/ST20/Red/Digimon/ST20_03.asset
  13. 0 0
      Assets/CardBaseEntity/ST20/Red/Digimon/ST20_03.asset.meta
  14. 3 0
      Assets/CardBaseEntity/ST20/Red/Digimon/ST20_04.asset
  15. 0 0
      Assets/CardBaseEntity/ST20/Red/Digimon/ST20_04.asset.meta
  16. 8 0
      Assets/CardBaseEntity/ST20/Red/Tamer.meta
  17. 3 0
      Assets/CardBaseEntity/ST20/Red/Tamer/ST20_12.asset
  18. 8 0
      Assets/CardBaseEntity/ST20/Red/Tamer/ST20_12.asset.meta
  19. 0 3
      Assets/CardBaseEntity/ST20/Yellow/Digimon/ST20_005.asset
  20. 3 0
      Assets/CardBaseEntity/ST20/Yellow/Digimon/ST20_05.asset
  21. 0 0
      Assets/CardBaseEntity/ST20/Yellow/Digimon/ST20_05.asset.meta
  22. 2 2
      Assets/CardEffect/ST20/Black/ST20_10.cs
  23. 0 0
      Assets/CardEffect/ST20/Black/ST20_10.cs.meta
  24. 169 0
      Assets/CardEffect/ST20/Black/ST20_13.cs
  25. 11 0
      Assets/CardEffect/ST20/Black/ST20_13.cs.meta
  26. 2 2
      Assets/CardEffect/ST20/Red/ST20_02.cs
  27. 0 0
      Assets/CardEffect/ST20/Red/ST20_02.cs.meta
  28. 2 2
      Assets/CardEffect/ST20/Red/ST20_03.cs
  29. 0 0
      Assets/CardEffect/ST20/Red/ST20_03.cs.meta
  30. 2 2
      Assets/CardEffect/ST20/Red/ST20_04.cs
  31. 0 0
      Assets/CardEffect/ST20/Red/ST20_04.cs.meta
  32. 188 0
      Assets/CardEffect/ST20/Red/ST20_12.cs
  33. 11 0
      Assets/CardEffect/ST20/Red/ST20_12.cs.meta
  34. 2 2
      Assets/CardEffect/ST20/Yellow/ST20_05.cs
  35. 0 0
      Assets/CardEffect/ST20/Yellow/ST20_05.cs.meta

+ 0 - 3
Assets/CardBaseEntity/ST20/Black/Digimon/ST20_010.asset

@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:26ab8627e6e96bc4c5f6c366135f693bed2c587ae1c0f7b5edd23a8a6abac554
-size 1026

+ 3 - 0
Assets/CardBaseEntity/ST20/Black/Digimon/ST20_10.asset

@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:38cf0c4030ac95e82e2c3577afe49254db00d954354098cba316b98f7b791808
+size 1350

+ 0 - 0
Assets/CardBaseEntity/ST20/Black/Digimon/ST20_010.asset.meta → Assets/CardBaseEntity/ST20/Black/Digimon/ST20_10.asset.meta


+ 8 - 0
Assets/CardBaseEntity/ST20/Black/Tamer.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 99c8b2a4a631e8e4d936811466b8e3c0
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 3 - 0
Assets/CardBaseEntity/ST20/Black/Tamer/ST20_13.asset

@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:392f94abe09568a6a548c7f862f672162ab975bdd97842786cd678fec86e33d7
+size 1283

+ 8 - 0
Assets/CardBaseEntity/ST20/Black/Tamer/ST20_13.asset.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 725a2d7adefe10448bfd8bd9d57a0677
+NativeFormatImporter:
+  externalObjects: {}
+  mainObjectFileID: 11400000
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 0 - 3
Assets/CardBaseEntity/ST20/Red/Digimon/ST20_002.asset

@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:b8e2a1eb4a06ea25ef5b01e5b990796cf2706aa9ac371862b8980496009dc36e
-size 1277

+ 0 - 3
Assets/CardBaseEntity/ST20/Red/Digimon/ST20_003.asset

@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:387460dc334b7cd2fbd92909ef0742e1fa06a6d6479f04c4e2ec5fb6a29a97a9
-size 1306

+ 0 - 3
Assets/CardBaseEntity/ST20/Red/Digimon/ST20_004.asset

@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:dac0a71e7642f3cacc7583538719d99f968e68bba771596650c073f2e5dfa29f
-size 1634

+ 3 - 0
Assets/CardBaseEntity/ST20/Red/Digimon/ST20_02.asset

@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:f8bfeb39694fd2d7b2b4ebbac0e72eeca3578486e941a36c36114f864a3a34c2
+size 1276

+ 0 - 0
Assets/CardBaseEntity/ST20/Red/Digimon/ST20_002.asset.meta → Assets/CardBaseEntity/ST20/Red/Digimon/ST20_02.asset.meta


+ 3 - 0
Assets/CardBaseEntity/ST20/Red/Digimon/ST20_03.asset

@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:35a55a677b64b17926fa2b88ad25ea1e613013c2cc58e2bfd34932f2467c982c
+size 1305

+ 0 - 0
Assets/CardBaseEntity/ST20/Red/Digimon/ST20_003.asset.meta → Assets/CardBaseEntity/ST20/Red/Digimon/ST20_03.asset.meta


+ 3 - 0
Assets/CardBaseEntity/ST20/Red/Digimon/ST20_04.asset

@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:03f4db3f4836125f0710c9194513e65cea53fcd16b45c42f3e6595db124f4d51
+size 1473

+ 0 - 0
Assets/CardBaseEntity/ST20/Red/Digimon/ST20_004.asset.meta → Assets/CardBaseEntity/ST20/Red/Digimon/ST20_04.asset.meta


+ 8 - 0
Assets/CardBaseEntity/ST20/Red/Tamer.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: 8754ba9d133e33d4f9cbe5b0d528f50a
+folderAsset: yes
+DefaultImporter:
+  externalObjects: {}
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 3 - 0
Assets/CardBaseEntity/ST20/Red/Tamer/ST20_12.asset

@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:4088ce18a83652f08e91d629768036d33e1bf4fff85258a0075e1b9ac8d5d551
+size 1299

+ 8 - 0
Assets/CardBaseEntity/ST20/Red/Tamer/ST20_12.asset.meta

@@ -0,0 +1,8 @@
+fileFormatVersion: 2
+guid: e8902e9b2ea9f5544bb89f15ff763614
+NativeFormatImporter:
+  externalObjects: {}
+  mainObjectFileID: 11400000
+  userData: 
+  assetBundleName: 
+  assetBundleVariant: 

+ 0 - 3
Assets/CardBaseEntity/ST20/Yellow/Digimon/ST20_005.asset

@@ -1,3 +0,0 @@
-version https://git-lfs.github.com/spec/v1
-oid sha256:bbab3513d6e5c969b2e80fca7f2ebe3e6c19aabf759e8f2d556a65583fbad8a9
-size 1332

+ 3 - 0
Assets/CardBaseEntity/ST20/Yellow/Digimon/ST20_05.asset

@@ -0,0 +1,3 @@
+version https://git-lfs.github.com/spec/v1
+oid sha256:14389ce8e6c25e432e0a817e095962d2fdc2a3d51a44cbbb19f0b4ba2d64d876
+size 1331

+ 0 - 0
Assets/CardBaseEntity/ST20/Yellow/Digimon/ST20_005.asset.meta → Assets/CardBaseEntity/ST20/Yellow/Digimon/ST20_05.asset.meta


+ 2 - 2
Assets/CardEffect/ST20/Black/ST20_010.cs → Assets/CardEffect/ST20/Black/ST20_10.cs

@@ -1,10 +1,10 @@
 using System.Collections;
 using System.Collections.Generic;
 
-//ST20-010 Agumon
+//ST20-10 Agumon
 namespace DCGO.CardEffects.ST20
 {
-    public class ST20_010 : CEntity_Effect
+    public class ST20_10 : CEntity_Effect
     {
         public override List<ICardEffect> CardEffects(EffectTiming timing, CardSource card)
         {

+ 0 - 0
Assets/CardEffect/ST20/Black/ST20_010.cs.meta → Assets/CardEffect/ST20/Black/ST20_10.cs.meta


+ 169 - 0
Assets/CardEffect/ST20/Black/ST20_13.cs

@@ -0,0 +1,169 @@
+using System.Collections;
+using System.Collections.Generic;
+
+//ST20 Tai & Izzy
+namespace DCGO.CardEffects.ST20
+{
+    public class ST20_13 : CEntity_Effect
+    {
+        public override List<ICardEffect> CardEffects(EffectTiming timing, CardSource card)
+        {
+            List<ICardEffect> cardEffects = new List<ICardEffect>();
+
+            #region Cost reduction
+            if (timing == EffectTiming.BeforePayCost)
+            {
+                ActivateClass activateClass = new ActivateClass();
+                activateClass.SetUpICardEffect("Reduce Play Cost", CanUseCondition, card);
+                activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, -1, true, EffectDiscription());
+                cardEffects.Add(activateClass);
+
+                string EffectDiscription()
+                {
+                    return "[Your Turn] When any Digimon cards with the [ADVENTURE] trait would be played from your hand, by suspending this Tamer, reduce the play cost by 1.";
+                }
+                bool PlayCardCondition(CardSource cardSource)
+                {
+                    if (CardEffectCommons.IsExistOnHand(cardSource))
+                    {
+                        return cardSource.EqualsTraits("ADVENTURE");
+                    }
+
+                    return false;
+                }
+
+                bool CanUseCondition(Hashtable hashtable)
+                {
+                    if (CardEffectCommons.IsExistOnBattleArea(card))
+                    {
+                        return CardEffectCommons.CanTriggerWhenPermanentWouldPlay(hashtable, PlayCardCondition);
+                    }
+                    return false;
+                }
+
+                bool CanActivateCondition(Hashtable hashtable)
+                {
+                    if (CardEffectCommons.IsOwnerTurn(card))
+                    {
+                        if (CardEffectCommons.IsExistOnBattleArea(card))
+                        {
+                            if (CardEffectCommons.CanActivateSuspendCostEffect(card))
+                            {
+                                return true;
+                            }
+                        }
+                    }
+                    return false;
+                }
+
+                IEnumerator ActivateCoroutine(Hashtable _hashtable)
+                {
+                    if (CardEffectCommons.IsExistOnBattleArea(card))
+                    {
+                        if (!card.PermanentOfThisCard().IsSuspended && card.PermanentOfThisCard().CanSuspend)
+                        {
+                            yield return ContinuousController.instance.StartCoroutine(new SuspendPermanentsClass(
+                            new List<Permanent>() { card.PermanentOfThisCard() },
+                            CardEffectCommons.CardEffectHashtable(activateClass)).Tap());
+
+                            if (card.PermanentOfThisCard().IsSuspended)
+                            {
+                                ContinuousController.instance.PlaySE(GManager.instance.GetComponent<Effects>().BuffSE);
+
+                                ChangeCostClass changeCostClass = new ChangeCostClass();
+                                changeCostClass.SetUpICardEffect("Cost -1", CanUseChangeCostCondition, card);
+                                changeCostClass.SetUpChangeCostClass(changeCostFunc: ChangeCost, cardSourceCondition: CardSourceCondition, rootCondition: RootCondition, isUpDown: isUpDown, isCheckAvailability: () => false, isChangePayingCost: () => true);
+                                card.Owner.UntilCalculateFixedCostEffect.Add((_timing) => changeCostClass);
+
+                                yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.ShowReducedCost(_hashtable));
+
+                                bool CanUseChangeCostCondition(Hashtable hashtable)
+                                {
+                                    return true;
+                                }
+
+                                int ChangeCost(CardSource cardSource, int Cost, SelectCardEffect.Root root, List<Permanent> targetPermanents)
+                                {
+                                    if (CardSourceCondition(cardSource))
+                                    {
+                                        if (RootCondition(root))
+                                        {
+                                            if (PermanentsCondition(targetPermanents))
+                                            {
+                                                Cost -= 1;
+                                            }
+                                        }
+                                    }
+
+                                    return Cost;
+                                }
+
+                                bool PermanentsCondition(List<Permanent> targetPermanents)
+                                {
+                                    return targetPermanents != null;
+                                }
+
+                                bool CardSourceCondition(CardSource cardSource)
+                                {
+                                    if (cardSource != null)
+                                    {
+                                        return cardSource.Owner == card.Owner;
+                                    }
+
+                                    return false;
+                                }
+
+                                bool RootCondition(SelectCardEffect.Root root)
+                                {
+                                    return true;
+                                }
+
+                                bool isUpDown()
+                                {
+                                    return true;
+                                }
+                            }
+                        }
+                    }
+                }
+            }
+            #endregion
+
+            #region Blocker gain
+            if (timing == EffectTiming.None)
+            {
+                bool CanUseCondition()
+                {
+                    return CardEffectCommons.IsExistOnBattleArea(card) && CardEffectCommons.IsOpponentTurn(card);
+                }
+
+                bool PermanentCondition(Permanent permanent)
+                {
+                    if (CardEffectCommons.IsPermanentExistsOnOwnerBattleAreaDigimon(permanent, card))
+                    {
+                        if (permanent.TopCard.EqualsTraits("ADVENTURE"))
+                        {
+                            return true;
+                        }
+                    }
+
+                    return false;
+                }
+
+                cardEffects.Add(CardEffectFactory.BlockerStaticEffect(
+                    permanentCondition: PermanentCondition,
+                    isInheritedEffect: false,
+                    card: card,
+                    condition: CanUseCondition));
+            }
+            #endregion  
+
+            if (timing == EffectTiming.SecuritySkill)
+            {
+                cardEffects.Add(CardEffectFactory.PlaySelfTamerSecurityEffect(card));
+            }
+
+            return cardEffects;
+        }
+    }
+}

+ 11 - 0
Assets/CardEffect/ST20/Black/ST20_13.cs.meta

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

+ 2 - 2
Assets/CardEffect/ST20/Red/ST20_002.cs → Assets/CardEffect/ST20/Red/ST20_02.cs

@@ -1,10 +1,10 @@
 using System.Collections;
 using System.Collections.Generic;
 
-// ST20-002 biyomon
+// ST20-02 biyomon
 namespace DCGO.CardEffects.ST20
 {
-    public class ST20 : CEntity_Effect
+    public class ST20_02 : CEntity_Effect
     {
         public override List<ICardEffect> CardEffects(EffectTiming timing, CardSource card)
         {

+ 0 - 0
Assets/CardEffect/ST20/Red/ST20_002.cs.meta → Assets/CardEffect/ST20/Red/ST20_02.cs.meta


+ 2 - 2
Assets/CardEffect/ST20/Red/ST20_003.cs → Assets/CardEffect/ST20/Red/ST20_03.cs

@@ -1,10 +1,10 @@
 using System.Collections;
 using System.Collections.Generic;
 
-//ST20-003 Garudamon
+//ST20-03 Garudamon
 namespace DCGO.CardEffects.ST20
 {
-    public class ST20_003 : CEntity_Effect
+    public class ST20_03 : CEntity_Effect
     {
         public override List<ICardEffect> CardEffects(EffectTiming timing, CardSource card)
         {

+ 0 - 0
Assets/CardEffect/ST20/Red/ST20_003.cs.meta → Assets/CardEffect/ST20/Red/ST20_03.cs.meta


+ 2 - 2
Assets/CardEffect/ST20/Red/ST20_004.cs → Assets/CardEffect/ST20/Red/ST20_04.cs

@@ -1,10 +1,10 @@
 using System.Collections;
 using System.Collections.Generic;
 using System.Linq;
-//ST20-004 garudamon
+//ST20-04 garudamon
 namespace DCGO.CardEffects.ST20
 {
-    public class NewEntityEffect : CEntity_Effect
+    public class ST20_04 : CEntity_Effect
     {
         public override List<ICardEffect> CardEffects(EffectTiming timing, CardSource card)
         {

+ 0 - 0
Assets/CardEffect/ST20/Red/ST20_004.cs.meta → Assets/CardEffect/ST20/Red/ST20_04.cs.meta


+ 188 - 0
Assets/CardEffect/ST20/Red/ST20_12.cs

@@ -0,0 +1,188 @@
+using System.Collections;
+using System.Collections.Generic;
+
+//ST20 Sora & Kari
+namespace DCGO.CardEffects.ST20
+{
+    public class ST20_12 : CEntity_Effect
+    {
+        public override List<ICardEffect> CardEffects(EffectTiming timing, CardSource card)
+        {
+            List<ICardEffect> cardEffects = new List<ICardEffect>();
+
+            #region Start of main mem gain
+            if (timing == EffectTiming.OnStartMainPhase)
+            {
+                ActivateClass activateClass = new ActivateClass();
+                activateClass.SetUpICardEffect("Memory +1", CanUseCondition, card);
+                activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, -1, false, EffectDescription());
+                cardEffects.Add(activateClass);
+
+                string EffectDescription()
+                {
+                    return "[Start of Your Main Phase] If you have a Digimon with the [ADVENTURE] trait, gain 1 memory.";
+                }
+
+                bool CanUseCondition(Hashtable hashtable)
+                {
+                    if (CardEffectCommons.IsExistOnBattleArea(card))
+                    {
+                        if (CardEffectCommons.IsOwnerTurn(card))
+                        {
+                            return true;
+                        }
+                    }
+                        
+                    return false;
+                }
+
+                bool CanActivateCondition(Hashtable hashtable)
+                {
+                    if (CardEffectCommons.IsExistOnBattleArea(card))
+                    {
+                        if (card.Owner.CanAddMemory(activateClass))
+                        {
+                            if (CardEffectCommons.HasMatchConditionOwnersPermanent(card, permanent => permanent.IsDigimon && permanent.TopCard.EqualsTraits("ADVENTURE"))){
+                                return true;
+                            }
+                        }
+                    }
+
+                    return false;
+                }
+
+                IEnumerator ActivateCoroutine(Hashtable hashtable)
+                {
+                    yield return ContinuousController.instance.StartCoroutine(card.Owner.AddMemory(1, activateClass));
+                }
+            }
+            #endregion
+
+            #region Cost reduction
+            if (timing == EffectTiming.BeforePayCost)
+            {
+                ActivateClass activateClass = new ActivateClass();
+                activateClass.SetUpICardEffect("Reduce Play Cost", CanUseCondition, card);
+                activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, -1, true, EffectDiscription());
+                cardEffects.Add(activateClass);
+
+                string EffectDiscription()
+                {
+                    return "[Your Turn] When any Digimon cards with the [ADVENTURE] trait would be played from your hand, by suspending this Tamer, reduce the play cost by 1.";
+                }
+                bool PlayCardCondition(CardSource cardSource)
+                {
+                    if (CardEffectCommons.IsExistOnHand(cardSource))
+                    {
+                        return cardSource.EqualsTraits("ADVENTURE");
+                    }
+
+                    return false;
+                }
+
+                bool CanUseCondition(Hashtable hashtable)
+                {
+                    if (CardEffectCommons.IsExistOnBattleArea(card))
+                    {
+                        return CardEffectCommons.CanTriggerWhenPermanentWouldPlay(hashtable, PlayCardCondition);
+                    }
+                    return false;
+                }
+
+                bool CanActivateCondition(Hashtable hashtable)
+                {
+                    if (CardEffectCommons.IsOwnerTurn(card))
+                    {
+                        if (CardEffectCommons.IsExistOnBattleArea(card))
+                        {
+                            if (CardEffectCommons.CanActivateSuspendCostEffect(card))
+                            {
+                                return true;
+                            }
+                        }
+                    }
+                    return false;
+                }
+
+                IEnumerator ActivateCoroutine(Hashtable _hashtable)
+                {
+                    if (CardEffectCommons.IsExistOnBattleArea(card))
+                    {
+                        if (!card.PermanentOfThisCard().IsSuspended && card.PermanentOfThisCard().CanSuspend)
+                        {
+                            yield return ContinuousController.instance.StartCoroutine(new SuspendPermanentsClass(
+                            new List<Permanent>() { card.PermanentOfThisCard() },
+                            CardEffectCommons.CardEffectHashtable(activateClass)).Tap());
+
+                            if (card.PermanentOfThisCard().IsSuspended)
+                            {
+                                ContinuousController.instance.PlaySE(GManager.instance.GetComponent<Effects>().BuffSE);
+
+                                ChangeCostClass changeCostClass = new ChangeCostClass();
+                                changeCostClass.SetUpICardEffect("Cost -1", CanUseChangeCostCondition, card);
+                                changeCostClass.SetUpChangeCostClass(changeCostFunc: ChangeCost, cardSourceCondition: CardSourceCondition, rootCondition: RootCondition, isUpDown: isUpDown, isCheckAvailability: () => false, isChangePayingCost: () => true);
+                                card.Owner.UntilCalculateFixedCostEffect.Add((_timing) => changeCostClass);
+
+                                yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.ShowReducedCost(_hashtable));
+
+                                bool CanUseChangeCostCondition(Hashtable hashtable)
+                                {
+                                    return true;
+                                }
+
+                                int ChangeCost(CardSource cardSource, int Cost, SelectCardEffect.Root root, List<Permanent> targetPermanents)
+                                {
+                                    if (CardSourceCondition(cardSource))
+                                    {
+                                        if (RootCondition(root))
+                                        {
+                                            if (PermanentsCondition(targetPermanents))
+                                            {
+                                                Cost -= 1;
+                                            }
+                                        }
+                                    }
+
+                                    return Cost;
+                                }
+
+                                bool PermanentsCondition(List<Permanent> targetPermanents)
+                                {
+                                    return targetPermanents != null;
+                                }
+
+                                bool CardSourceCondition(CardSource cardSource)
+                                {
+                                    if (cardSource != null)
+                                    {
+                                        return cardSource.Owner == card.Owner;
+                                    }
+
+                                    return false;
+                                }
+
+                                bool RootCondition(SelectCardEffect.Root root)
+                                {
+                                    return true;
+                                }
+
+                                bool isUpDown()
+                                {
+                                    return true;
+                                }
+                            }
+                        }
+                    }
+                }
+            }
+            #endregion
+
+            if (timing == EffectTiming.SecuritySkill)
+            {
+                cardEffects.Add(CardEffectFactory.PlaySelfTamerSecurityEffect(card));
+            }
+
+            return cardEffects;
+        }
+    }
+}

+ 11 - 0
Assets/CardEffect/ST20/Red/ST20_12.cs.meta

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

+ 2 - 2
Assets/CardEffect/ST20/Yellow/ST20_005.cs → Assets/CardEffect/ST20/Yellow/ST20_05.cs

@@ -1,10 +1,10 @@
 using System.Collections;
 using System.Collections.Generic;
 using System;
-//ST20-005 Gatomon
+//ST20-05 Gatomon
 namespace DCGO.CardEffects.ST20
 {
-    public class ST20_005 : CEntity_Effect
+    public class ST20_05 : CEntity_Effect
     {
         public override List<ICardEffect> CardEffects(EffectTiming timing, CardSource card)
         {

+ 0 - 0
Assets/CardEffect/ST20/Yellow/ST20_005.cs.meta → Assets/CardEffect/ST20/Yellow/ST20_05.cs.meta