Jelajahi Sumber

Added HasSeekersTraits

Lewisaaronwelch 1 tahun lalu
induk
melakukan
c5173fbcd1
1 mengubah file dengan 18 tambahan dan 0 penghapusan
  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
     #region The permanent that belonged to this card just before it left the field
     public Permanent PermanentJustBeforeRemoveField { get; set; } = null;
     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
     #endregion
 }
 }