{"action":"created","comment":{"url":"https://api.github.com/repos/mtgred/netrunner/pulls/comments/185004310","pull_request_review_id":116308550,"id":185004310,"diff_hunk":"@@ -990,6 +990,23 @@\n                                          (shuffle! state side :deck))}\n                            card nil))}]}\n \n+   \"Trypano\"\n+   (let [trash-if-5 (req (when-let [h (get-card state (:host card))]","path":"src/clj/game/cards/programs.clj","position":5,"original_position":5,"commit_id":"20b72a2ac49984271ae355a81cf3b61d5be2d344","original_commit_id":"20b72a2ac49984271ae355a81cf3b61d5be2d344","user":{"login":"jwarwick","id":47226,"avatar_url":"https://avatars1.githubusercontent.com/u/47226?v=4","gravatar_id":"","url":"https://api.github.com/users/jwarwick","html_url":"https://github.com/jwarwick","followers_url":"https://api.github.com/users/jwarwick/followers","following_url":"https://api.github.com/users/jwarwick/following{/other_user}","gists_url":"https://api.github.com/users/jwarwick/gists{/gist_id}","starred_url":"https://api.github.com/users/jwarwick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwarwick/subscriptions","organizations_url":"https://api.github.com/users/jwarwick/orgs","repos_url":"https://api.github.com/users/jwarwick/repos","events_url":"https://api.github.com/users/jwarwick/events{/privacy}","received_events_url":"https://api.github.com/users/jwarwick/received_events","type":"User","site_admin":false},"body":"Actually, I'm wrong. I was thinking you wanted to only check when the events applied to your card, but I see you are calling `get-virus-counter` so you get an updated count. I agree that you implemented this correctly.\r\n\r\nWhat I was suggesting (which you probably already know), is that you could do:\r\n```\r\n{:req (= (:cid target) (:cid card))}\r\n```\r\nif you want to make sure an event is being targeted at your specific card.","created_at":"2018-04-30T14:34:35Z","updated_at":"2018-04-30T14:34:35Z","html_url":"https://github.com/mtgred/netrunner/pull/3398#discussion_r185004310","pull_request_url":"https://api.github.com/repos/mtgred/netrunner/pulls/3398","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/mtgred/netrunner/pulls/comments/185004310"},"html":{"href":"https://github.com/mtgred/netrunner/pull/3398#discussion_r185004310"},"pull_request":{"href":"https://api.github.com/repos/mtgred/netrunner/pulls/3398"}},"in_reply_to_id":184902526},"pull_request":{"url":"https://api.github.com/repos/mtgred/netrunner/pulls/3398","id":184864153,"html_url":"https://github.com/mtgred/netrunner/pull/3398","diff_url":"https://github.com/mtgred/netrunner/pull/3398.diff","patch_url":"https://github.com/mtgred/netrunner/pull/3398.patch","issue_url":"https://api.github.com/repos/mtgred/netrunner/issues/3398","number":3398,"state":"open","locked":false,"title":"WiN: Trypano","user":{"login":"presheaf","id":6888493,"avatar_url":"https://avatars2.githubusercontent.com/u/6888493?v=4","gravatar_id":"","url":"https://api.github.com/users/presheaf","html_url":"https://github.com/presheaf","followers_url":"https://api.github.com/users/presheaf/followers","following_url":"https://api.github.com/users/presheaf/following{/other_user}","gists_url":"https://api.github.com/users/presheaf/gists{/gist_id}","starred_url":"https://api.github.com/users/presheaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/presheaf/subscriptions","organizations_url":"https://api.github.com/users/presheaf/orgs","repos_url":"https://api.github.com/users/presheaf/repos","events_url":"https://api.github.com/users/presheaf/events{/privacy}","received_events_url":"https://api.github.com/users/presheaf/received_events","type":"User","site_admin":false},"body":"Works well with Hivemind, Architect, and even Hivemind flipped faceup by Assimilator. According to a hunch of @nicohasa , may not work well if a facedown Hivemind with a virus token hosted on Progenitor is flipped faceup, but I would be kind of surprised if it ever came up.\r\n\r\nThe implementation is sorta awkward because I don't know of a good way to implement constant effects, so the card needs to be informed of what events can possibly make its trigger condition come true and listen for those. `:counter-added` is the most obvious one, with `:runner-install` needed to handle Hivemind being installed (the counter placed on it doesn't seem to trigger :counter-added), and `:card-moved` needed to handle Hivemind being flipped faceup.","created_at":"2018-04-30T00:37:58Z","updated_at":"2018-04-30T14:34:35Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5776dd01c628b774f6ecdaffb5cd7e65cc0f4b8e","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":912726282,"url":"https://api.github.com/repos/mtgred/netrunner/labels/unreleased%20cards","name":"unreleased cards","color":"c2e0c6","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/mtgred/netrunner/pulls/3398/commits","review_comments_url":"https://api.github.com/repos/mtgred/netrunner/pulls/3398/comments","review_comment_url":"https://api.github.com/repos/mtgred/netrunner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mtgred/netrunner/issues/3398/comments","statuses_url":"https://api.github.com/repos/mtgred/netrunner/statuses/20b72a2ac49984271ae355a81cf3b61d5be2d344","head":{"label":"presheaf:trypano","ref":"trypano","sha":"20b72a2ac49984271ae355a81cf3b61d5be2d344","user":{"login":"presheaf","id":6888493,"avatar_url":"https://avatars2.githubusercontent.com/u/6888493?v=4","gravatar_id":"","url":"https://api.github.com/users/presheaf","html_url":"https://github.com/presheaf","followers_url":"https://api.github.com/users/presheaf/followers","following_url":"https://api.github.com/users/presheaf/following{/other_user}","gists_url":"https://api.github.com/users/presheaf/gists{/gist_id}","starred_url":"https://api.github.com/users/presheaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/presheaf/subscriptions","organizations_url":"https://api.github.com/users/presheaf/orgs","repos_url":"https://api.github.com/users/presheaf/repos","events_url":"https://api.github.com/users/presheaf/events{/privacy}","received_events_url":"https://api.github.com/users/presheaf/received_events","type":"User","site_admin":false},"repo":{"id":117920423,"name":"netrunner","full_name":"presheaf/netrunner","owner":{"login":"presheaf","id":6888493,"avatar_url":"https://avatars2.githubusercontent.com/u/6888493?v=4","gravatar_id":"","url":"https://api.github.com/users/presheaf","html_url":"https://github.com/presheaf","followers_url":"https://api.github.com/users/presheaf/followers","following_url":"https://api.github.com/users/presheaf/following{/other_user}","gists_url":"https://api.github.com/users/presheaf/gists{/gist_id}","starred_url":"https://api.github.com/users/presheaf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/presheaf/subscriptions","organizations_url":"https://api.github.com/users/presheaf/orgs","repos_url":"https://api.github.com/users/presheaf/repos","events_url":"https://api.github.com/users/presheaf/events{/privacy}","received_events_url":"https://api.github.com/users/presheaf/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/presheaf/netrunner","description":null,"fork":true,"url":"https://api.github.com/repos/presheaf/netrunner","forks_url":"https://api.github.com/repos/presheaf/netrunner/forks","keys_url":"https://api.github.com/repos/presheaf/netrunner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/presheaf/netrunner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/presheaf/netrunner/teams","hooks_url":"https://api.github.com/repos/presheaf/netrunner/hooks","issue_events_url":"https://api.github.com/repos/presheaf/netrunner/issues/events{/number}","events_url":"https://api.github.com/repos/presheaf/netrunner/events","assignees_url":"https://api.github.com/repos/presheaf/netrunner/assignees{/user}","branches_url":"https://api.github.com/repos/presheaf/netrunner/branches{/branch}","tags_url":"https://api.github.com/repos/presheaf/netrunner/tags","blobs_url":"https://api.github.com/repos/presheaf/netrunner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/presheaf/netrunner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/presheaf/netrunner/git/refs{/sha}","trees_url":"https://api.github.com/repos/presheaf/netrunner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/presheaf/netrunner/statuses/{sha}","languages_url":"https://api.github.com/repos/presheaf/netrunner/languages","stargazers_url":"https://api.github.com/repos/presheaf/netrunner/stargazers","contributors_url":"https://api.github.com/repos/presheaf/netrunner/contributors","subscribers_url":"https://api.github.com/repos/presheaf/netrunner/subscribers","subscription_url":"https://api.github.com/repos/presheaf/netrunner/subscription","commits_url":"https://api.github.com/repos/presheaf/netrunner/commits{/sha}","git_commits_url":"https://api.github.com/repos/presheaf/netrunner/git/commits{/sha}","comments_url":"https://api.github.com/repos/presheaf/netrunner/comments{/number}","issue_comment_url":"https://api.github.com/repos/presheaf/netrunner/issues/comments{/number}","contents_url":"https://api.github.com/repos/presheaf/netrunner/contents/{+path}","compare_url":"https://api.github.com/repos/presheaf/netrunner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/presheaf/netrunner/merges","archive_url":"https://api.github.com/repos/presheaf/netrunner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/presheaf/netrunner/downloads","issues_url":"https://api.github.com/repos/presheaf/netrunner/issues{/number}","pulls_url":"https://api.github.com/repos/presheaf/netrunner/pulls{/number}","milestones_url":"https://api.github.com/repos/presheaf/netrunner/milestones{/number}","notifications_url":"https://api.github.com/repos/presheaf/netrunner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/presheaf/netrunner/labels{/name}","releases_url":"https://api.github.com/repos/presheaf/netrunner/releases{/id}","deployments_url":"https://api.github.com/repos/presheaf/netrunner/deployments","created_at":"2018-01-18T02:26:41Z","updated_at":"2018-04-28T20:41:18Z","pushed_at":"2018-04-30T00:33:36Z","git_url":"git://github.com/presheaf/netrunner.git","ssh_url":"git@github.com:presheaf/netrunner.git","clone_url":"https://github.com/presheaf/netrunner.git","svn_url":"https://github.com/presheaf/netrunner","homepage":"http://www.jinteki.net","size":20750,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mtgred:master","ref":"master","sha":"d48d46602bd9cd7fa7cbc046ebaac9d7726ca0d1","user":{"login":"mtgred","id":284114,"avatar_url":"https://avatars1.githubusercontent.com/u/284114?v=4","gravatar_id":"","url":"https://api.github.com/users/mtgred","html_url":"https://github.com/mtgred","followers_url":"https://api.github.com/users/mtgred/followers","following_url":"https://api.github.com/users/mtgred/following{/other_user}","gists_url":"https://api.github.com/users/mtgred/gists{/gist_id}","starred_url":"https://api.github.com/users/mtgred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtgred/subscriptions","organizations_url":"https://api.github.com/users/mtgred/orgs","repos_url":"https://api.github.com/users/mtgred/repos","events_url":"https://api.github.com/users/mtgred/events{/privacy}","received_events_url":"https://api.github.com/users/mtgred/received_events","type":"User","site_admin":false},"repo":{"id":19079918,"name":"netrunner","full_name":"mtgred/netrunner","owner":{"login":"mtgred","id":284114,"avatar_url":"https://avatars1.githubusercontent.com/u/284114?v=4","gravatar_id":"","url":"https://api.github.com/users/mtgred","html_url":"https://github.com/mtgred","followers_url":"https://api.github.com/users/mtgred/followers","following_url":"https://api.github.com/users/mtgred/following{/other_user}","gists_url":"https://api.github.com/users/mtgred/gists{/gist_id}","starred_url":"https://api.github.com/users/mtgred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mtgred/subscriptions","organizations_url":"https://api.github.com/users/mtgred/orgs","repos_url":"https://api.github.com/users/mtgred/repos","events_url":"https://api.github.com/users/mtgred/events{/privacy}","received_events_url":"https://api.github.com/users/mtgred/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mtgred/netrunner","description":null,"fork":false,"url":"https://api.github.com/repos/mtgred/netrunner","forks_url":"https://api.github.com/repos/mtgred/netrunner/forks","keys_url":"https://api.github.com/repos/mtgred/netrunner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mtgred/netrunner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mtgred/netrunner/teams","hooks_url":"https://api.github.com/repos/mtgred/netrunner/hooks","issue_events_url":"https://api.github.com/repos/mtgred/netrunner/issues/events{/number}","events_url":"https://api.github.com/repos/mtgred/netrunner/events","assignees_url":"https://api.github.com/repos/mtgred/netrunner/assignees{/user}","branches_url":"https://api.github.com/repos/mtgred/netrunner/branches{/branch}","tags_url":"https://api.github.com/repos/mtgred/netrunner/tags","blobs_url":"https://api.github.com/repos/mtgred/netrunner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mtgred/netrunner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mtgred/netrunner/git/refs{/sha}","trees_url":"https://api.github.com/repos/mtgred/netrunner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mtgred/netrunner/statuses/{sha}","languages_url":"https://api.github.com/repos/mtgred/netrunner/languages","stargazers_url":"https://api.github.com/repos/mtgred/netrunner/stargazers","contributors_url":"https://api.github.com/repos/mtgred/netrunner/contributors","subscribers_url":"https://api.github.com/repos/mtgred/netrunner/subscribers","subscription_url":"https://api.github.com/repos/mtgred/netrunner/subscription","commits_url":"https://api.github.com/repos/mtgred/netrunner/commits{/sha}","git_commits_url":"https://api.github.com/repos/mtgred/netrunner/git/commits{/sha}","comments_url":"https://api.github.com/repos/mtgred/netrunner/comments{/number}","issue_comment_url":"https://api.github.com/repos/mtgred/netrunner/issues/comments{/number}","contents_url":"https://api.github.com/repos/mtgred/netrunner/contents/{+path}","compare_url":"https://api.github.com/repos/mtgred/netrunner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mtgred/netrunner/merges","archive_url":"https://api.github.com/repos/mtgred/netrunner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mtgred/netrunner/downloads","issues_url":"https://api.github.com/repos/mtgred/netrunner/issues{/number}","pulls_url":"https://api.github.com/repos/mtgred/netrunner/pulls{/number}","milestones_url":"https://api.github.com/repos/mtgred/netrunner/milestones{/number}","notifications_url":"https://api.github.com/repos/mtgred/netrunner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mtgred/netrunner/labels{/name}","releases_url":"https://api.github.com/repos/mtgred/netrunner/releases{/id}","deployments_url":"https://api.github.com/repos/mtgred/netrunner/deployments","created_at":"2014-04-23T17:57:52Z","updated_at":"2018-04-30T04:41:26Z","pushed_at":"2018-04-30T04:41:20Z","git_url":"git://github.com/mtgred/netrunner.git","ssh_url":"git@github.com:mtgred/netrunner.git","clone_url":"https://github.com/mtgred/netrunner.git","svn_url":"https://github.com/mtgred/netrunner","homepage":"http://www.jinteki.net","size":20904,"stargazers_count":590,"watchers_count":590,"language":"Clojure","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":281,"mirror_url":null,"archived":false,"open_issues_count":192,"license":{"key":"other","name":"Other","spdx_id":null,"url":null},"forks":281,"open_issues":192,"watchers":590,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mtgred/netrunner/pulls/3398"},"html":{"href":"https://github.com/mtgred/netrunner/pull/3398"},"issue":{"href":"https://api.github.com/repos/mtgred/netrunner/issues/3398"},"comments":{"href":"https://api.github.com/repos/mtgred/netrunner/issues/3398/comments"},"review_comments":{"href":"https://api.github.com/repos/mtgred/netrunner/pulls/3398/comments"},"review_comment":{"href":"https://api.github.com/repos/mtgred/netrunner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mtgred/netrunner/pulls/3398/commits"},"statuses":{"href":"https://api.github.com/repos/mtgred/netrunner/statuses/20b72a2ac49984271ae355a81cf3b61d5be2d344"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"jwarwick"}}