mbunch_kascope 1 год назад
Родитель
Сommit
7da2f6be96

+ 11 - 8
Assets/CardEffect/EX9/Yellow/EX9_067.cs

@@ -149,14 +149,17 @@ namespace DCGO.CardEffects.EX9
                             yield return null;
                         }
 
-                        yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.PlayPermanentCards(
-                            cardSources: selectedCards,
-                            activateClass: activateClass,
-                            payCost: true,
-                            isTapped: false,
-                            root: SelectCardEffect.Root.Hand,
-                            activateETB: true,
-                            fixedCost: selectedCards[0].BasePlayCostFromEntity - 3));
+                        if(selectedCards.Count > 0)
+                        {
+                            yield return ContinuousController.instance.StartCoroutine(CardEffectCommons.PlayPermanentCards(
+                                cardSources: selectedCards,
+                                activateClass: activateClass,
+                                payCost: true,
+                                isTapped: false,
+                                root: SelectCardEffect.Root.Hand,
+                                activateETB: true,
+                                fixedCost: selectedCards[0].BasePlayCostFromEntity - 3));
+                        }
                     }
                 }
             }

+ 2 - 1
Assets/Scripts/Permanent.cs

@@ -887,7 +887,8 @@ public class Permanent
             {
                 this.cardSources.Insert(1, addedDigivolutionCard);
 
-                addedDigivolutionCard.SetFace("Permanent.AddDigivolutionCardsTop");
+                if (!addedDigivolutionCard.IsFlipped || addedDigivolutionCard.IsBeingRevealed || GManager.instance.turnStateMachine.gameContext.IsSecurityLooking)
+                    addedDigivolutionCard.SetFace("Permanent.AddDigivolutionCardsTop");
 
                 addedCards.Add(addedDigivolutionCard);
             }

+ 2 - 2
ProjectSettings/ProjectSettings.asset

@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:37a589de1646f611804697b3f31d3a7118e4ef3a1f54ab446f93e1b705a24737
-size 20166
+oid sha256:1108a34aea9660991268de5f00f16c3c602201e0e3d69479cc99c0425ba785fc
+size 20168