public void zz_NoCardInAttackField(CardFunction card) { if (checkCurrentCanPlay(card.GetComponent <CardFunction>())) { if (Services.actionManager.AttackField.Count > 0) { card.GetComponent <CardFunction>().canBePlayed = false; } } }
public void Zz_OneCardInHand(CardFunction card) { if (checkCurrentCanPlay(card.GetComponent <CardFunction>())) { if (Services.actionManager.PlayerHand.Count != 1) { card.GetComponent <CardFunction>().canBePlayed = false; } } }