Selaa lähdekoodia

alter B, 3 great angles, deck name bug

mbunch_kascope 2 vuotta sitten
vanhempi
sitoutus
3bf6c50e03

+ 7 - 7
Assets/CardEffect/EX4/Black/OmegamonAlterB_EX4_073.cs

@@ -234,7 +234,7 @@ public class OmegamonAlterB_EX4_073 : CEntity_Effect
 
             bool CanActivateCondition(Hashtable hashtable)
             {
-                if (CardEffectCommons.IsExistOnBattleArea(card))
+                if (CardEffectCommons.IsExistOnBattleAreaDigimon(card))
                 {
                     if (card.PermanentOfThisCard().DigivolutionCards.Count(CanSelectCardCondition) >= 1)
                     {
@@ -247,7 +247,7 @@ public class OmegamonAlterB_EX4_073 : CEntity_Effect
 
             IEnumerator ActivateCoroutine(Hashtable _hashtable)
             {
-                if (CardEffectCommons.IsExistOnBattleArea(card))
+                if (CardEffectCommons.IsExistOnBattleAreaDigimon(card))
                 {
                     Permanent selectedPermanent = card.PermanentOfThisCard();
 
@@ -314,7 +314,7 @@ public class OmegamonAlterB_EX4_073 : CEntity_Effect
                         {
                             for(int i = 0; i < trashCount; i++)
                             {
-                                int maxCount = Math.Min(trashCount-i, card.Owner.Enemy.GetBattleAreaPermanents().Count(CanSelectPermanentCondition));
+                                int maxCount = Math.Min(1, card.Owner.Enemy.GetBattleAreaPermanents().Count(CanSelectPermanentCondition));
 
                                 SelectPermanentEffect selectPermanentEffect = GManager.instance.GetComponent<SelectPermanentEffect>();
 
@@ -338,10 +338,10 @@ public class OmegamonAlterB_EX4_073 : CEntity_Effect
                         if (trashCount == 3)
                         {
                             yield return ContinuousController.instance.StartCoroutine(new IDestroySecurity(
-                    player: card.Owner.Enemy,
-                    destroySecurityCount: 2,
-                    cardEffect: activateClass,
-                    fromTop: true).DestroySecurity());
+                                player: card.Owner.Enemy,
+                                destroySecurityCount: 2,
+                                cardEffect: activateClass,
+                                fromTop: true).DestroySecurity());
                         }
                     }
                 }

+ 1 - 1
Assets/CardEffect/EX6/Yellow/Descent_of_the_Three_Great_Angels_EX6_068.cs

@@ -118,7 +118,7 @@ namespace DCGO.CardEffects.EX6
                     if (CardEffectCommons.IsPermanentExistsOnOwnerBattleAreaDigimon(permanent, card))
                     {
                         if (permanent.TopCard.CardTraits.Contains("Angel") ||
-                            permanent.TopCard.CardTraits.Contains("Archangel")
+                            permanent.TopCard.CardTraits.Contains("Archangel"))
                         {
                             return true;
                         }

+ 1 - 1
Assets/Scripts/DeckData.cs

@@ -177,7 +177,7 @@ public class DeckData
                     .Take(11)
                     .ToList().ForEach(e => builder.Append(e));
 
-                return builder.ToString();
+                _deckID = builder.ToString();
             }
 
             return _deckID;