Explorar o código

Added HasSeekersTraits

Lewisaaronwelch hai 1 ano
pai
achega
c5173fbcd1
Modificáronse 1 ficheiros con 18 adicións e 0 borrados
  1. 18 0
      Assets/Scripts/CardSource.cs

+ 18 - 0
Assets/Scripts/CardSource.cs

@@ -2569,6 +2569,24 @@ public class CardSource : MonoBehaviour
 
     #region The permanent that belonged to this card just before it left the field
     public Permanent PermanentJustBeforeRemoveField { get; set; } = null;
+
+    #endregion
+
+    #region whether this card has "SEEKERS" trait
+
+    public bool HasSeekersTraits
+    {
+        get
+        {
+            if (CardTraits.Contains("SEEKERS"))
+            {
+                return true;
+            }
+
+            return false;
+        }
+    }
+
     #endregion
 }