|
|
@@ -520,7 +520,11 @@ public partial class CardEffectCommons
|
|
|
#region Get multi colour count from permanents in owners battle area
|
|
|
|
|
|
public static int GetColourCountOnOwnerBattleArea(CardSource card, Func<Permanent, bool> canGetCardColour) =>
|
|
|
- card.Owner.GetBattleAreaPermanents().Filter(x => canGetCardColour(x)).ToList().Count;
|
|
|
+ card.Owner.GetBattleAreaPermanents()
|
|
|
+ .Filter(x => canGetCardColour(x))
|
|
|
+ .Select(x => x.TopCard)
|
|
|
+ .SelectMany(x => x.CardColors)
|
|
|
+ .ToList().Count;
|
|
|
|
|
|
#endregion
|
|
|
}
|