netrunner icon indicating copy to clipboard operation
netrunner copied to clipboard

Eater and Counter surveillance interaction.

Open vkl125 opened this issue 9 years ago • 4 comments

Eater does not allow access yet counter surveillance will allow the runner to access x number of cards for the declared server on a counter surveillance run.

vkl125 avatar Jul 24 '17 02:07 vkl125

Counter Surveillance declares a max-access again, overriding the one from Eater; it shouldn't do so. The implementation appears to be based on a misunderstanding of how the card works, and also does not work correctly with other sources of bonus accesses like RDI, Medium, HQI, and Nerve Agent.

I feel like this should probably be tagged with "who designed this game, anyway." Here's some sample scenarios of how it should work but doesn't:

  • If the Runner has X tags and accesses a server with Counter Surveillance, but they used an Eater during the run, they pay X and access 0.
  • If the Runner has X tags and accesses a server with Counter Surveillance and no other sources of bonus access, they pay X and access X cards from that server. (This is presently the only thing that works.)
  • If the Runner has X tags and Y R&D Interfaces, and accesses R&D with Counter Surveillance, they pay X and access X+Y cards from R&D. (Same deal with Medium.)
  • If the Runner has X tags and Y HQ Interfaces, and accesses HQ with Counter Surveillance, they pay X and access X+Y cards from HQ. (Same deal with Nerve Agent.)
  • If the Runner has X tags but runs through a Hudson 1.0 on their way to any server, they pay X and access 1.
  • If the Runner has X tags but runs through a SYNC BRE on their way to any server, they pay X and access X-1.

I should clarify that this is beyond my skill to fix at this time and I'm just leaving this here in case an actual experienced dev wanders by.

stoppableforce avatar Jul 26 '17 22:07 stoppableforce

Counter Surveillance declares a max-access again

Yeah, this part is definitely wrong. Dropping that alone makes it combo with an HQ Interface correctly. I haven't tried all the other stuff yet.

JoelCFC25 avatar Jul 28 '17 20:07 JoelCFC25

I haven't tried all the other stuff yet.

Medium/Nerve Agent are going to be the tricky one. They appear after you pay for Counter Surveillance, and the Medium/Nerve Agent access seems to completely replace Counter Surveillance's access. I'm guessing this is again due to CS being a weird access replacement that's currently implemented as a bonus access; Medium/Nerve Agent just replaces it a second time.

stoppableforce avatar Jul 31 '17 18:07 stoppableforce

This is probably fixed in my PR, mostly since the :max-access is removed.

Saintis avatar Aug 24 '17 10:08 Saintis