netrunner icon indicating copy to clipboard operation
netrunner copied to clipboard

Prompt for choosing Patron server appears twice

Open josemgarcia opened this issue 10 years ago • 5 comments

I had Jak Sinclair and Patron installed, so when I start my turn the prompt to do actions before taking clicks appears. I click first on Patron, and then on Jak. The problem is that, after taking my clicks, the prompt for Patron is shown again. Apart from that, both cards work normally.

josemgarcia avatar Jul 07 '16 21:07 josemgarcia

Thanks for the report. Patron's ability needs a :once :per-turn so that it won't trigger at turn-begins if it was used during Step 1.2.

nealterrell avatar Jul 07 '16 22:07 nealterrell

https://github.com/drobati/netrunner/blob/master/src/clj/game/cards-resources.clj#L689

Looks like it's already there. Maybe in the wrong part of the function?

drobati avatar Jul 08 '16 22:07 drobati

That pertains to the draw part of the ability (once per turn, draw instead of accessing). We need the once-per-turn to apply to the server selection too.

nealterrell avatar Jul 08 '16 22:07 nealterrell

~~This is trickier than I thought. The server selection needs to be once-per-turn per card, AND the draw effect needs to be once-per-turn per card. We don't have an easy way right now to have two different once-per-turn abilities on non-unique cards.~~ @Saintis is cleverer than I.

nealterrell avatar Jul 14 '16 17:07 nealterrell

Can you not just make a req that a target server has not already been selected? Or would that be much to easy?

Saintis avatar Jul 14 '16 17:07 Saintis