netrunner icon indicating copy to clipboard operation
netrunner copied to clipboard

Brain Chip hosted on Supplier issue

Open JoelCFC25 opened this issue 9 years ago • 6 comments

Install The Supplier, host a Brain Chip on it. Brain Chip should be inactive by definition. Give yourself tags, then as Corp, trash The Supplier. Brain Chip's :leave-play effect is firing for some reason, despite the card not being installed, and the Runner's MU and maximum hand size get reduced.

JoelCFC25 avatar Feb 05 '17 20:02 JoelCFC25

I just realised this issue is for hosting on the supplier not peddler. Will have to try it out but since card is not facedown it seems unlikely!

danhut avatar Feb 12 '17 20:02 danhut

I take it back - the fix should work. :facedown is set when hosted on The Supplier Just needs testing.

danhut avatar Feb 12 '17 23:02 danhut

Added a test case to ensure this is the same fix

danhut avatar Feb 15 '17 10:02 danhut

This is still occurring.

JoelCFC25 avatar Mar 15 '17 13:03 JoelCFC25

It may help to know that this happens with all cards that include :leave-play, be it on The supplier or Personal Workshop. Confirmed instances follow:

A trashed The Supplier hosting...(Let's call this group A) ...Q-Coherence Chip : -1 memory (not anymore since the Q-C fix) ...Muertos Gang Member : Corp can rez something for free ...Akshara Sareen : Corp has only 2 clicks per turn henceforth ...Wireless Net Pavilion : Trashing resources no longer costs any money (doing this twice does not cause the corp to gain money when trashing resources) I have no doubt that if it were possible to host Origami in some manner the same would apply.

This also removes effects from other copies of cards already installed. Confirmed are:

A trashed The Supplier/Personal Workshop hosting...(Let's call this group B) ...Theophilius Bagbiter : The active Theophilius Bagbiter stops doing it's thing ...Clot : Existing clots stop working Suspected to be the same : Raymond Flint, Paparazzi

Although I haven't tested it specifically, I have no reason to believe that the 'fix' that was applied to Brain Chip previously will be different from group B. It was basically moved from group A to group B.

PesiTheWizard avatar Mar 24 '17 00:03 PesiTheWizard

Haven't written full unit tests to ensure it, but so far all of the scenarios listed above work correctly if the following is added directly below line 22 of installing.clj:

(not (and (= (:side card) "Runner") host (not installed) (not facedown)))

JoelCFC25 avatar Mar 24 '17 02:03 JoelCFC25