Browse Source

1.5.6 build

mbunch_kascope 1 year ago
parent
commit
5856dc6cba

+ 3 - 19
Assets/CardEffect/BT18/Black/Machinedramon_BT18_073.cs

@@ -66,20 +66,9 @@ namespace DCGO.CardEffects.BT18
                 {
                 {
                     if (cardSource != null)
                     if (cardSource != null)
                     {
                     {
-                        if (CardEffectCommons.IsExistOnHand(cardSource))
+                        if (cardSource.PayingCost(SelectCardEffect.Root.Hand, null, checkAvailability: false) > cardSource.Owner.MaxMemoryCost)
                         {
                         {
-                            if (cardSource.PayingCost(SelectCardEffect.Root.Hand, null, checkAvailability: false) > cardSource.Owner.MaxMemoryCost)
-                            {
-                                return false;
-                            }
-                        }
-
-                        if (CardEffectCommons.IsExistOnTrash(cardSource))
-                        {
-                            if (cardSource.PayingCost(SelectCardEffect.Root.Trash, null, checkAvailability: false) > cardSource.Owner.MaxMemoryCost)
-                            {
-                                return false;
-                            }
+                            return false;
                         }
                         }
                     }
                     }
 
 
@@ -150,12 +139,7 @@ namespace DCGO.CardEffects.BT18
                                 {
                                 {
                                     if (PermanentsCondition(targetPermanents))
                                     if (PermanentsCondition(targetPermanents))
                                     {
                                     {
-                                        int targetCost = 0;
-
-                                        if (CardEffectCommons.HasMatchConditionPermanent(HasCompositeTraitInPlay))
-                                            targetCost += 4;
-
-                                        Cost -= targetCost;
+                                        Cost -= 4;
                                     }
                                     }
                                 }
                                 }
                             }
                             }

+ 2 - 2
Assets/CardEffect/BT19/Yellow/DynasmonXAntibody_BT19_042.cs

@@ -41,7 +41,7 @@ namespace DCGO.CardEffects.BT19
                 ActivateClass activateClass = new ActivateClass();
                 ActivateClass activateClass = new ActivateClass();
                 activateClass.SetUpICardEffect("Trash top security card to trash opponents top security and gain +6000 DP", CanUseCondition, card);
                 activateClass.SetUpICardEffect("Trash top security card to trash opponents top security and gain +6000 DP", CanUseCondition, card);
                 activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, 1, true, EffectDiscription());
                 activateClass.SetUpActivateClass(CanActivateCondition, ActivateCoroutine, 1, true, EffectDiscription());
-                activateClass.SetHashString("TrashSecurity_DysnasmonXAntibody_BT19_042");
+                activateClass.SetHashString("TrashSecurity_DynasmonXAntibody_BT19_042");
                 cardEffects.Add(activateClass);
                 cardEffects.Add(activateClass);
 
 
                 string EffectDiscription()
                 string EffectDiscription()
@@ -66,7 +66,7 @@ namespace DCGO.CardEffects.BT19
                 {
                 {
                     if (CardEffectCommons.IsExistOnBattleAreaDigimon(card))
                     if (CardEffectCommons.IsExistOnBattleAreaDigimon(card))
                     {
                     {
-                        if (card.PermanentOfThisCard().DigivolutionCards.Count((cardSource) => cardSource.EqualsCardName("Dynasmon") || cardSource.Equals("X Antibody")) >= 1)
+                        if (card.PermanentOfThisCard().DigivolutionCards.Count((cardSource) => cardSource.EqualsCardName("Dynasmon") || cardSource.EqualsCardName("X Antibody")) >= 1)
                         {
                         {
                             if (card.Owner.SecurityCards.Count >= 1)
                             if (card.Owner.SecurityCards.Count >= 1)
                             {
                             {

+ 1 - 1
Assets/CardEffect/BT19/Yellow/LucemonXAntibody_BT19_043.cs

@@ -61,7 +61,7 @@ namespace DCGO.CardEffects.BT19
                 {
                 {
                     if (CardEffectCommons.IsExistOnBattleAreaDigimon(card))
                     if (CardEffectCommons.IsExistOnBattleAreaDigimon(card))
                     {
                     {
-                        if (card.PermanentOfThisCard().DigivolutionCards.Count((cardSource) => cardSource.CardNames.Contains("Lucemon")) >= 1)
+                        if (card.PermanentOfThisCard().DigivolutionCards.Count((cardSource) => cardSource.ContainsCardName("Lucemon")) >= 1)
                         {
                         {
                             if (card.Owner.SecurityCards.Count >= 1 && card.Owner.Enemy.SecurityCards.Count >= 1)
                             if (card.Owner.SecurityCards.Count >= 1 && card.Owner.Enemy.SecurityCards.Count >= 1)
                                 return true;
                                 return true;

+ 1 - 1
ProjectSettings/ProjectSettings.asset

@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
 version https://git-lfs.github.com/spec/v1
-oid sha256:a7efd7b2994283beaac1d74a6d49a356b5003370c1e98991f9e7cc1585f48bf5
+oid sha256:fe74d5fa53d39c191d45e613bfeb6c6a066730e65e61e67dc518377352e6ca9b
 size 20166
 size 20166