netrunner icon indicating copy to clipboard operation
netrunner copied to clipboard

Ruhr Valley problems

Open JoelCFC25 opened this issue 10 years ago • 6 comments

Ruhr Valley is wrongly blocking the ability to run its server in some cases. In response to the :runner-spent-click event, this is problematic: :req (req (<= 1 (:click runner)))

This means that if the Runner does anything other than run the Ruhr Valley server on their first click, the prevent-run-on-server function will kick in and block off that server in the UI when attempting runs.

Possibly related to this issue is the fact that :runner-spent-click actually fires before the click itself is deducted.

JoelCFC25 avatar Oct 19 '16 18:10 JoelCFC25

Probably worth looking at making behave more like ELP and Service Outage.

erbridge avatar Oct 20 '16 14:10 erbridge

I figured this bug would be a good way to familiarize myself with the backend, so I have a branch with a test case that reproduces this issue.

I had a look at making this work like ELP/Service Outage, but currently I dont there is no way to add server specific additional costs to things.

Do you think it is worth me adding the ability to have server specific additional costs? I cant off the top of my head think of any other cards that add such a cost, but it might be useful to add to future proof it against them creating any more cards in this space.

DeepSpawn avatar Dec 21 '16 11:12 DeepSpawn

My initial thought is to make it so that the additional costs can take a function instead of a vector, and call the function if there is one.

erbridge avatar Dec 21 '16 14:12 erbridge

YES. Additional costs are badly in need of work. There are whole pile of cards that can't work due to the way additional costs are represented right now--e.g., Donut Taganes can't work because of how "forfeit an agenda" is coded, which eventually makes merge-costs fail when you try to play a 24/7 News Cycle. Hasty Relocation technically has a mill as an additional cost that wouldn't get ignored if you played it with Accelerated Diagnostics. And who knows what other funky things might crop up on future cards...

JoelCFC25 avatar Dec 21 '16 14:12 JoelCFC25

I still am not sure how to handle Ruhr Valley even with the additional cost changes to handle everything else ... eg. you play an event that let's you run. Card is discarded. Then you choose the target server - and hit the additional cost and realise you cannot run it. Nasty stuff... need to think on it.

danhut avatar Jul 16 '17 11:07 danhut

Will be closed with @presheaf's run cost refactor coming in netrunner-future.

NoahTheDuke avatar Mar 16 '19 15:03 NoahTheDuke