ronaldossendrijver / treachery.online

treachery.online
15 stars 5 forks source link

Fix to issue #92 #96

Open Simon-Noble opened 2 months ago

Simon-Noble commented 2 months ago

Validate now checks to find a clairvoyance card and if the player occupies the shrine, allows them to use that as their karama source. Additionally, the function now checks that there is at least 1 remaining karma source that is not being discarded with the karama ability.

Cards.Contains should handle the value being null and simply return false, if that is not the case, this fix will not work.