Quellcode durchsuchen

removing debugs

mbunch_kascope vor 11 Monaten
Ursprung
Commit
6aa4eadd4f
2 geänderte Dateien mit 0 neuen und 10 gelöschten Zeilen
  1. 0 1
      Assets/CardEffect/EX3/Green/EX3_041.cs
  2. 0 9
      Assets/Scripts/CardSource.cs

+ 0 - 1
Assets/CardEffect/EX3/Green/EX3_041.cs

@@ -59,7 +59,6 @@ namespace DCGO.CardEffects.EX3
                     {
                         if (cardSource != null)
                         {
-                            UnityEngine.Debug.Log($"ADD LEVELS: {cardSource.BaseENGCardNameFromEntity}");
                             if (cardSource.Owner == card.Owner)
                             {
                                 if (cardSource.Owner.HandCards.Contains(cardSource))

+ 0 - 9
Assets/Scripts/CardSource.cs

@@ -2576,31 +2576,22 @@ public class CardSource : MonoBehaviour
 
     public bool CanJogressFromTargetPermanent(Permanent targetPermanent, bool PayCost)
     {
-        UnityEngine.Debug.Log($"CAN JOGRESS: {targetPermanent}");
         if (targetPermanent != null)
         {
-            UnityEngine.Debug.Log($"CAN JOGRESS: {targetPermanent.TopCard}");
             if (targetPermanent.TopCard != null)
             {
-                UnityEngine.Debug.Log($"CAN JOGRESS: {jogressCondition.Count}");
                 foreach (JogressCondition condition in jogressCondition)
                 {
-                    UnityEngine.Debug.Log($"CAN JOGRESS: {targetPermanent.TopCard.Owner.GetBattleAreaDigimons().Contains(targetPermanent)}");
                     if (targetPermanent.TopCard.Owner.GetBattleAreaDigimons().Contains(targetPermanent))
                     {
-                        UnityEngine.Debug.Log($"CAN JOGRESS: {this.CanPlayJogress(PayCost)}");
                         if (this.CanPlayJogress(PayCost))
                         {
-                            UnityEngine.Debug.Log($"CAN JOGRESS: {(condition != null)}");
                             if (condition != null)
                             {
-                                UnityEngine.Debug.Log($"CAN JOGRESS: {(condition.elements.ToList().Count((element) => element.EvoRootCondition(targetPermanent)) >= 1)}");
                                 if (condition.elements.ToList().Count((element) => element.EvoRootCondition(targetPermanent)) >= 1)
                                 {
-                                    UnityEngine.Debug.Log($"CAN JOGRESS: {this.CanNotEvolve(targetPermanent)}");
                                     if (!this.CanNotEvolve(targetPermanent))
                                     {
-                                        UnityEngine.Debug.Log($"CAN JOGRESS: {PayCost}");
                                         if (PayCost)
                                         {
                                             int cost = condition.cost;