netrunner icon indicating copy to clipboard operation
netrunner copied to clipboard

Jinteki : PU scoring philotic entanglement while employee strike is active.

Open vkl125 opened this issue 9 years ago • 6 comments

When the Jinteki : PU scoring philotic entanglement while employee strike is active, the ID ability of PU will fire.

vkl125 avatar Aug 04 '17 20:08 vkl125

What else was in play? I wrote a test for this - and it does not happen. Final line you can see zero cards in the runner's discard pile.

(deftest employee-strike-pu-philotic
  ;; Employee Strike - vs PU/Philotic
  (do-game
    (new-game (make-deck "Jinteki: Potential Unleashed" [(qty "Philotic Entanglement" 1)])
              (default-runner [(qty "Employee Strike" 10)]))
    (take-credits state :corp)
    (play-from-hand state :runner "Employee Strike")
    (take-credits state :runner)
    (play-from-hand state :corp "Philotic Entanglement" "New remote")
    (score-agenda state :corp (get-content state :remote1 0))
    (= 0 (count (:discard (get-runner))))))

With no EStrike the discard happens.

danhut avatar Aug 05 '17 02:08 danhut

The score of Philotic in that test won't do any damage because the Runner has no agendas, therefore PU won't fire.

JoelCFC25 avatar Aug 05 '17 03:08 JoelCFC25

Ok - it is busted. I guess the EStrike is getting cleared before the Philotic net damage happens

danhut avatar Aug 05 '17 03:08 danhut

In the score agenda function we clear any current - then the agenda ability fires - hence the issue.

Looking through EStrike on netrunner DB someone says: "Currents aren't trashed as active effects, they're a constant ability. They are removed straight away before triggers."

Doesn't that mean PU's ID should be active? I am not much good at strict rulings.

danhut avatar Aug 05 '17 03:08 danhut

See #871 for some history on EStrike...

JoelCFC25 avatar Aug 05 '17 04:08 JoelCFC25

Pushed a fix. It is a bit ugly as PU now has a check for the ID being disabled - so very specific to this issue. Could not think of something better right now. Maybe better if any ID listening to events checked for the disable flag by default - rather than hard coding into PU?

danhut avatar Aug 05 '17 06:08 danhut