Răsfoiți Sursa

shoto fix/Scriptable object fix

mbunch_kascope 1 an în urmă
părinte
comite
dc518659c1

+ 1 - 2
Assets/CardEffect/ST18/Green/ShotoKazama_ST18_14.cs

@@ -49,8 +49,7 @@ namespace DCGO.CardEffects.ST18
 
 
                 bool DefendingPermanent(Permanent permanent)
                 bool DefendingPermanent(Permanent permanent)
                 {
                 {
-                    return CardEffectCommons.IsPermanentExistsOnOpponentBattleAreaDigimon(permanent, card) &&
-                           permanent.IsSuspended;
+                    return CardEffectCommons.IsPermanentExistsOnOpponentBattleAreaDigimon(permanent, card);
                 }
                 }
 
 
                 bool CanActivateCondition(Hashtable hashtable)
                 bool CanActivateCondition(Hashtable hashtable)

+ 2 - 2
Assets/Scripts/CEntity_Base.cs

@@ -32,8 +32,8 @@ public class CEntity_Base : ScriptableObject
     public int DP = 0;
     public int DP = 0;
     public Rarity rarity;
     public Rarity rarity;
     public int OverflowMemory = 0;
     public int OverflowMemory = 0;
-    public bool HasInhetitedEffect => !string.IsNullOrEmpty(InheritedEffectDiscription_ENG);
-    public bool HasSecutiryEffect => !string.IsNullOrEmpty(SecurityEffectDiscription_ENG);
+    public bool HasInhetitedEffect => !string.IsNullOrEmpty(InheritedEffectDiscription_ENG) && !InheritedEffectDiscription_ENG.Equals("-");
+    public bool HasSecutiryEffect => !string.IsNullOrEmpty(SecurityEffectDiscription_ENG) && !SecurityEffectDiscription_ENG.Equals("-");
     public string CardID = "";
     public string CardID = "";
     public int MaxCountInDeck = 4;
     public int MaxCountInDeck = 4;
     public bool HasLoadStarted { get; set; } = false;
     public bool HasLoadStarted { get; set; } = false;