mbunch_kascope 1 ano atrás
pai
commit
225d6edf6e

+ 10 - 2
Assets/CardEffect/BT19/Yellow/BT19_038.cs

@@ -141,7 +141,7 @@ namespace DCGO.CardEffects.BT19
                         DisableEffectClass invalidationClass = new DisableEffectClass();
                         invalidationClass.SetUpICardEffect("Ignore [When Digivolving] Effect", CanUseConditionDebuff, card);
                         invalidationClass.SetUpDisableEffectClass(DisableCondition: InvalidateCondition);
-                        selectedPermanent.UntilOpponentTurnEndEffects.Add(_ => invalidationClass);
+                        selectedPermanent.UntilOwnerTurnEndEffects.Add(_ => invalidationClass);
 
                         bool CanUseConditionDebuff(Hashtable hashtableDebuff)
                         {
@@ -150,20 +150,28 @@ namespace DCGO.CardEffects.BT19
 
                         bool InvalidateCondition(ICardEffect cardEffect)
                         {
+                            UnityEngine.Debug.Log($"DISABLE CLASS: {selectedPermanent.TopCard}");
                             if (selectedPermanent.TopCard != null)
                             {
+                                UnityEngine.Debug.Log($"DISABLE CLASS: {cardEffect}");
                                 if (cardEffect != null)
                                 {
+                                    UnityEngine.Debug.Log($"DISABLE CLASS: {cardEffect.EffectSourceCard}");
                                     if (cardEffect.EffectSourceCard != null)
                                     {
+                                        UnityEngine.Debug.Log($"DISABLE CLASS: {isExistOnField(cardEffect.EffectSourceCard)}");
                                         if (isExistOnField(cardEffect.EffectSourceCard))
                                         {
+                                            UnityEngine.Debug.Log($"DISABLE CLASS: {(cardEffect.EffectSourceCard.PermanentOfThisCard() == selectedPermanent)}");
                                             if (cardEffect.EffectSourceCard.PermanentOfThisCard() == selectedPermanent)
                                             {
+                                                UnityEngine.Debug.Log($"DISABLE CLASS: {cardEffect.IsWhenDigivolving}");
                                                 if (cardEffect.IsWhenDigivolving)
                                                 {
+                                                    UnityEngine.Debug.Log($"DISABLE CLASS: {!selectedPermanent.TopCard.CanNotBeAffected(activateClass)}");
                                                     if (!selectedPermanent.TopCard.CanNotBeAffected(activateClass))
                                                     {
+                                                        UnityEngine.Debug.Log($"DISABLE CLASS: DONE");
                                                         return true;
                                                     }
                                                 }
@@ -262,7 +270,7 @@ namespace DCGO.CardEffects.BT19
                         DisableEffectClass invalidationClass = new DisableEffectClass();
                         invalidationClass.SetUpICardEffect("Ignore [When Digivolving] Effect", CanUseConditionDebuff, card);
                         invalidationClass.SetUpDisableEffectClass(DisableCondition: InvalidateCondition);
-                        selectedPermanent.UntilOpponentTurnEndEffects.Add(_ => invalidationClass);
+                        selectedPermanent.UntilOwnerTurnEndEffects.Add(_ => invalidationClass);
 
                         bool CanUseConditionDebuff(Hashtable hashtableDebuff)
                         {

+ 1 - 1
ProjectSettings/ProjectSettings.asset

@@ -1,3 +1,3 @@
 version https://git-lfs.github.com/spec/v1
-oid sha256:5f28660ac11c1da29ac84b9654f77d0691053af23a977a0f2a9bc41b5f9d8cb9
+oid sha256:79f7a9d5489afcddea31bbc4d75d64460f27499de3fc1bd1930647b51941e2c1
 size 20168