We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f8032fe commit eef2c43Copy full SHA for eef2c43
1 file changed
Utils/CardUtils.cs
@@ -16,19 +16,6 @@ public static class CardUtils
16
public static Predicate<CardInfo> IsNonLivingCard = card
17
=> card.traits.Exists(t => t is Trait.Terrain or Trait.Pelt);
18
19
- public static string CleanCardName(string name)
20
- {
21
- // When calling PlayableCard.name, it will look like 'Card (Sparrow)' instead of just 'Sparrow'
22
- // For some reason CardInfo.name is not available to call
23
- if (name.StartsWith("Card "))
24
25
- string[] nameSplit = name.Split('('); // [Card (, name_of_card)]
26
- return nameSplit[nameSplit.Length - 1].Replace(")", "");
27
- }
28
-
29
- return name;
30
31
32
public static List<CardMetaCategory> getNormalCardMetadata = new()
33
{ CardMetaCategory.ChoiceNode, CardMetaCategory.TraderOffer };
34
0 commit comments