netrunner icon indicating copy to clipboard operation
netrunner copied to clipboard

Illegal Arms Factory bad pub interaction

Open NoahTheDuke opened this issue 9 years ago • 3 comments

Illegal Arms Factory says, "If the Runner trashes Illegal Arms Factory while it is installed, etc"

It is currently implemented as any trash effect:

 {:derezzed-events {:runner-turn-ends corp-rez-toast}
  :events {:corp-turn-begins ability}
  :abilities [ability]
  :trash-effect {:req (req (= :servers (first (:previous-zone card))))
                 :effect (effect (gain :corp :bad-publicity 1)
                                 (system-msg :corp (str "takes 1 bad publicity from Illegal Arms Factory")))}})

I don't know enough about Clojure to make the change myself, but it seems like an additional condition on the trash-effect statement should do the trick:

 :trash-effect {:when-inactive false
                :req (req (= :servers (first (:previous-zone card))))

Depending on how :when-inactive false works, this should also take care of the UFAQ ruling that it only gives a bad pub when rezzed.

NoahTheDuke avatar May 05 '17 15:05 NoahTheDuke

It should also be noted that the corp overwriting it with an agenda or asset should not give bad publicity.

SugoiFactory avatar May 05 '17 19:05 SugoiFactory

Thanks. I'm aware of both of these issues, but just have no prospect of time to work on it anytime soon.

JoelCFC25 avatar May 05 '17 19:05 JoelCFC25

I fixed the part mentioned by @SugoiFactory

Can you explain the original issue? Right now the trash-effect will only fire if the card is installed & rezzed - this is default behaviour. I don't see the effect firing from any other runner action.

danhut avatar May 06 '17 08:05 danhut