ronaldossendrijver / treachery.online

treachery.online
15 stars 5 forks source link

CHOAM Karama ability not working when using a Truthtrance as a Karama #92

Open rusty-ccv opened 3 months ago

rusty-ccv commented 3 months ago

I found an issue when playing CHOAM and occupying the Shrine discovery token. The shrine allows a Truthtrance treachery card to be played as a Karama card. This works for the standard Karama abilities and gives me the faction-specific dropdown for CHOAM's discard a card for 3 spice ability but won't let me use it, telling me "You don't have a Karama card" when trying to discard.

Screenshot from 2024-07-17 12-57-27

savegame.json

Simon-Noble commented 2 months ago

Source of the issue seems to be line 46 in Shared.Events.KaramaBrownDiscard.

Removing the line would likely fix the issue, as the line should never be accessed in a situation where it would correctly return false.

Simon-Noble commented 2 months ago

Actually this would not fix it, there must be a little more digging.