Explorar el Código

Merge pull request #176 from DCGO2/task/ME-bugfix

Mother Eater ESS Bug Fix
Michael8818 hace 1 año
padre
commit
c46b911c70
Se han modificado 1 ficheros con 11 adiciones y 0 borrados
  1. 11 0
      Assets/CardEffect/BT22/White/BT22_007.cs

+ 11 - 0
Assets/CardEffect/BT22/White/BT22_007.cs

@@ -236,10 +236,21 @@ namespace DCGO.CardEffects.BT22
                 {
                     foreach (Permanent permanent in removedPermanents)
                     {
+                        #region Remove Events from Permanent
+
                         permanent.HideDeleteEffect();
                         permanent.HideHandBounceEffect();
                         permanent.HideDeckBounceEffect();
                         permanent.HideWillRemoveFieldEffect();
+
+                        permanent.DestroyingEffect = null;
+                        permanent.IsDestroyedByBattle = false;
+                        permanent.HandBounceEffect = null;
+                        permanent.LibraryBounceEffect = null;
+                        permanent.willBeRemoveField = false;
+
+                        #endregion
+
                         yield return ContinuousController.instance.StartCoroutine(card.PermanentOfThisCard().AddDigivolutionCardsBottom(new List<CardSource>() { permanent.TopCard }, activateClass));
                     }
                 }