netrunner icon indicating copy to clipboard operation
netrunner copied to clipboard

Runner trashing un-rezzed corp cards seems to trigger their leaves-play effects

Open anathomical opened this issue 11 years ago • 5 comments

Ran into this with Mental Health Clinic where making a run and trashing the card while it is un-rezzed (hasn't triggered to increase runner hand size yet) will still reduce the runner's hand size as the card leaves play. Not sure if this affects any other cards, but none come immediately to mind.

anathomical avatar Jan 28 '15 18:01 anathomical

It's the case if the card is the last one in the server. There was a bug the remote server removal code that is already fixed but not deployed yet.

Unrezzed cards also had their event handling being registered in the process. That's why cards would sometime trigger while unrezzed or twice while rezzed.

The fix will be deployed tomorrow.

mtgred avatar Jan 28 '15 19:01 mtgred

Ah. That makes sense.

On Wed, Jan 28, 2015 at 2:29 PM, Minh Tran [email protected] wrote:

It's the case if the card is the last one in the server. There was a bug the remote server removal code that is already fixed but not deployed yet.

Unrezzed cards also had their event handling being registered in the process. That's why cards would sometime trigger while unrezzed or twice while rezzed.

The fix will be deployed tomorrow.

— Reply to this email directly or view it on GitHub https://github.com/mtgred/netrunner/issues/79#issuecomment-71898876.

anathomical avatar Jan 28 '15 19:01 anathomical

I did some testing and checked the code. Actually the bug you reported is totally unrelated. I'm going to fix it this evening. Thanks a lot for detecting and reporting it.

mtgred avatar Jan 28 '15 19:01 mtgred

It's fixed now.

mtgred avatar Jan 29 '15 04:01 mtgred

Confirmed.

anathomical avatar Jan 29 '15 17:01 anathomical