{"action":"created","comment":{"url":"https://api.github.com/repos/cryogen/throneteki/pulls/comments/170274980","pull_request_review_id":98940975,"id":170274980,"diff_hunk":"@@ -0,0 +1,17 @@\n+const DrawCard = require('../../drawcard.js');\n+\n+class SecretPact extends DrawCard {\n+    setupCardAbilities(ability) {\n+        this.attachmentRestriction(card => card.getType() === 'character' && !card.isFaction('martell'));\n+        this.whileAttached({\n+            effect: [\n+                ability.effects.cannotBeDeclaredAsAttacker(), // TODO need generalization for melee","path":"server/game/cards/08.5-TFM/SecretPact.js","position":null,"original_position":8,"commit_id":"fcae39b1c8fd7cfa6ee90400587af1190b8ca44a","original_commit_id":"fa2273e3a503cc6cd192dde7c569054f71ca1f40","user":{"login":"zacchiro","id":216766,"avatar_url":"https://avatars1.githubusercontent.com/u/216766?v=4","gravatar_id":"","url":"https://api.github.com/users/zacchiro","html_url":"https://github.com/zacchiro","followers_url":"https://api.github.com/users/zacchiro/followers","following_url":"https://api.github.com/users/zacchiro/following{/other_user}","gists_url":"https://api.github.com/users/zacchiro/gists{/gist_id}","starred_url":"https://api.github.com/users/zacchiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zacchiro/subscriptions","organizations_url":"https://api.github.com/users/zacchiro/orgs","repos_url":"https://api.github.com/users/zacchiro/repos","events_url":"https://api.github.com/users/zacchiro/events{/privacy}","received_events_url":"https://api.github.com/users/zacchiro/received_events","type":"User","site_admin":false},"body":"You're absolutely right, my bad (I was focusing on the more complex melee case, and overlooked the drawback of being unable to attack when the attachment is used \"positively\"). Fixed.","created_at":"2018-02-23T15:06:25Z","updated_at":"2018-02-23T15:06:25Z","html_url":"https://github.com/cryogen/throneteki/pull/1772#discussion_r170274980","pull_request_url":"https://api.github.com/repos/cryogen/throneteki/pulls/1772","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/cryogen/throneteki/pulls/comments/170274980"},"html":{"href":"https://github.com/cryogen/throneteki/pull/1772#discussion_r170274980"},"pull_request":{"href":"https://api.github.com/repos/cryogen/throneteki/pulls/1772"}},"in_reply_to_id":170268163},"pull_request":{"url":"https://api.github.com/repos/cryogen/throneteki/pulls/1772","id":171006960,"html_url":"https://github.com/cryogen/throneteki/pull/1772","diff_url":"https://github.com/cryogen/throneteki/pull/1772.diff","patch_url":"https://github.com/cryogen/throneteki/pull/1772.patch","issue_url":"https://api.github.com/repos/cryogen/throneteki/issues/1772","number":1772,"state":"open","locked":false,"title":"implement Secret Pact (TFM)","user":{"login":"zacchiro","id":216766,"avatar_url":"https://avatars1.githubusercontent.com/u/216766?v=4","gravatar_id":"","url":"https://api.github.com/users/zacchiro","html_url":"https://github.com/zacchiro","followers_url":"https://api.github.com/users/zacchiro/followers","following_url":"https://api.github.com/users/zacchiro/following{/other_user}","gists_url":"https://api.github.com/users/zacchiro/gists{/gist_id}","starred_url":"https://api.github.com/users/zacchiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zacchiro/subscriptions","organizations_url":"https://api.github.com/users/zacchiro/orgs","repos_url":"https://api.github.com/users/zacchiro/repos","events_url":"https://api.github.com/users/zacchiro/events{/privacy}","received_events_url":"https://api.github.com/users/zacchiro/received_events","type":"User","site_admin":false},"body":"French spoiler image:\nhttps://i.redditmedia.com/i5HUPDjKuemXv1Is077rHNtrnBJ4uXRwiapcqk85axs.jpg?w=495&s=c34a879d5d2b217e296a0adf8c199398\n\nNot to be merged yet, as the english card name is guesswork on my part.","created_at":"2018-02-23T12:46:27Z","updated_at":"2018-02-23T15:06:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9cc57f2fa1c4ddeda40a8fbb728eb6661b01c244","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[{"id":478308980,"url":"https://api.github.com/repos/cryogen/throneteki/labels/Needs%20Work","name":"Needs Work","color":"d93f0b","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/cryogen/throneteki/pulls/1772/commits","review_comments_url":"https://api.github.com/repos/cryogen/throneteki/pulls/1772/comments","review_comment_url":"https://api.github.com/repos/cryogen/throneteki/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cryogen/throneteki/issues/1772/comments","statuses_url":"https://api.github.com/repos/cryogen/throneteki/statuses/fcae39b1c8fd7cfa6ee90400587af1190b8ca44a","head":{"label":"zacchiro:cards/secret-pact","ref":"cards/secret-pact","sha":"fcae39b1c8fd7cfa6ee90400587af1190b8ca44a","user":{"login":"zacchiro","id":216766,"avatar_url":"https://avatars1.githubusercontent.com/u/216766?v=4","gravatar_id":"","url":"https://api.github.com/users/zacchiro","html_url":"https://github.com/zacchiro","followers_url":"https://api.github.com/users/zacchiro/followers","following_url":"https://api.github.com/users/zacchiro/following{/other_user}","gists_url":"https://api.github.com/users/zacchiro/gists{/gist_id}","starred_url":"https://api.github.com/users/zacchiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zacchiro/subscriptions","organizations_url":"https://api.github.com/users/zacchiro/orgs","repos_url":"https://api.github.com/users/zacchiro/repos","events_url":"https://api.github.com/users/zacchiro/events{/privacy}","received_events_url":"https://api.github.com/users/zacchiro/received_events","type":"User","site_admin":false},"repo":{"id":76469689,"name":"throneteki","full_name":"zacchiro/throneteki","owner":{"login":"zacchiro","id":216766,"avatar_url":"https://avatars1.githubusercontent.com/u/216766?v=4","gravatar_id":"","url":"https://api.github.com/users/zacchiro","html_url":"https://github.com/zacchiro","followers_url":"https://api.github.com/users/zacchiro/followers","following_url":"https://api.github.com/users/zacchiro/following{/other_user}","gists_url":"https://api.github.com/users/zacchiro/gists{/gist_id}","starred_url":"https://api.github.com/users/zacchiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zacchiro/subscriptions","organizations_url":"https://api.github.com/users/zacchiro/orgs","repos_url":"https://api.github.com/users/zacchiro/repos","events_url":"https://api.github.com/users/zacchiro/events{/privacy}","received_events_url":"https://api.github.com/users/zacchiro/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/zacchiro/throneteki","description":"Browser based A Game of Thrones LCG 2nd Edition","fork":true,"url":"https://api.github.com/repos/zacchiro/throneteki","forks_url":"https://api.github.com/repos/zacchiro/throneteki/forks","keys_url":"https://api.github.com/repos/zacchiro/throneteki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/zacchiro/throneteki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/zacchiro/throneteki/teams","hooks_url":"https://api.github.com/repos/zacchiro/throneteki/hooks","issue_events_url":"https://api.github.com/repos/zacchiro/throneteki/issues/events{/number}","events_url":"https://api.github.com/repos/zacchiro/throneteki/events","assignees_url":"https://api.github.com/repos/zacchiro/throneteki/assignees{/user}","branches_url":"https://api.github.com/repos/zacchiro/throneteki/branches{/branch}","tags_url":"https://api.github.com/repos/zacchiro/throneteki/tags","blobs_url":"https://api.github.com/repos/zacchiro/throneteki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/zacchiro/throneteki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/zacchiro/throneteki/git/refs{/sha}","trees_url":"https://api.github.com/repos/zacchiro/throneteki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/zacchiro/throneteki/statuses/{sha}","languages_url":"https://api.github.com/repos/zacchiro/throneteki/languages","stargazers_url":"https://api.github.com/repos/zacchiro/throneteki/stargazers","contributors_url":"https://api.github.com/repos/zacchiro/throneteki/contributors","subscribers_url":"https://api.github.com/repos/zacchiro/throneteki/subscribers","subscription_url":"https://api.github.com/repos/zacchiro/throneteki/subscription","commits_url":"https://api.github.com/repos/zacchiro/throneteki/commits{/sha}","git_commits_url":"https://api.github.com/repos/zacchiro/throneteki/git/commits{/sha}","comments_url":"https://api.github.com/repos/zacchiro/throneteki/comments{/number}","issue_comment_url":"https://api.github.com/repos/zacchiro/throneteki/issues/comments{/number}","contents_url":"https://api.github.com/repos/zacchiro/throneteki/contents/{+path}","compare_url":"https://api.github.com/repos/zacchiro/throneteki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/zacchiro/throneteki/merges","archive_url":"https://api.github.com/repos/zacchiro/throneteki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/zacchiro/throneteki/downloads","issues_url":"https://api.github.com/repos/zacchiro/throneteki/issues{/number}","pulls_url":"https://api.github.com/repos/zacchiro/throneteki/pulls{/number}","milestones_url":"https://api.github.com/repos/zacchiro/throneteki/milestones{/number}","notifications_url":"https://api.github.com/repos/zacchiro/throneteki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/zacchiro/throneteki/labels{/name}","releases_url":"https://api.github.com/repos/zacchiro/throneteki/releases{/id}","deployments_url":"https://api.github.com/repos/zacchiro/throneteki/deployments","created_at":"2016-12-14T15:02:35Z","updated_at":"2016-12-14T15:02:36Z","pushed_at":"2018-02-23T15:05:39Z","git_url":"git://github.com/zacchiro/throneteki.git","ssh_url":"git@github.com:zacchiro/throneteki.git","clone_url":"https://github.com/zacchiro/throneteki.git","svn_url":"https://github.com/zacchiro/throneteki","homepage":"http://theironthrone.net","size":16592,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cryogen:master","ref":"master","sha":"f40528b2d16eae4504e9f8a248d8e601a25c602d","user":{"login":"cryogen","id":1053365,"avatar_url":"https://avatars3.githubusercontent.com/u/1053365?v=4","gravatar_id":"","url":"https://api.github.com/users/cryogen","html_url":"https://github.com/cryogen","followers_url":"https://api.github.com/users/cryogen/followers","following_url":"https://api.github.com/users/cryogen/following{/other_user}","gists_url":"https://api.github.com/users/cryogen/gists{/gist_id}","starred_url":"https://api.github.com/users/cryogen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryogen/subscriptions","organizations_url":"https://api.github.com/users/cryogen/orgs","repos_url":"https://api.github.com/users/cryogen/repos","events_url":"https://api.github.com/users/cryogen/events{/privacy}","received_events_url":"https://api.github.com/users/cryogen/received_events","type":"User","site_admin":false},"repo":{"id":68015558,"name":"throneteki","full_name":"cryogen/throneteki","owner":{"login":"cryogen","id":1053365,"avatar_url":"https://avatars3.githubusercontent.com/u/1053365?v=4","gravatar_id":"","url":"https://api.github.com/users/cryogen","html_url":"https://github.com/cryogen","followers_url":"https://api.github.com/users/cryogen/followers","following_url":"https://api.github.com/users/cryogen/following{/other_user}","gists_url":"https://api.github.com/users/cryogen/gists{/gist_id}","starred_url":"https://api.github.com/users/cryogen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cryogen/subscriptions","organizations_url":"https://api.github.com/users/cryogen/orgs","repos_url":"https://api.github.com/users/cryogen/repos","events_url":"https://api.github.com/users/cryogen/events{/privacy}","received_events_url":"https://api.github.com/users/cryogen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cryogen/throneteki","description":"Browser based A Game of Thrones LCG 2nd Edition","fork":false,"url":"https://api.github.com/repos/cryogen/throneteki","forks_url":"https://api.github.com/repos/cryogen/throneteki/forks","keys_url":"https://api.github.com/repos/cryogen/throneteki/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cryogen/throneteki/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cryogen/throneteki/teams","hooks_url":"https://api.github.com/repos/cryogen/throneteki/hooks","issue_events_url":"https://api.github.com/repos/cryogen/throneteki/issues/events{/number}","events_url":"https://api.github.com/repos/cryogen/throneteki/events","assignees_url":"https://api.github.com/repos/cryogen/throneteki/assignees{/user}","branches_url":"https://api.github.com/repos/cryogen/throneteki/branches{/branch}","tags_url":"https://api.github.com/repos/cryogen/throneteki/tags","blobs_url":"https://api.github.com/repos/cryogen/throneteki/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cryogen/throneteki/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cryogen/throneteki/git/refs{/sha}","trees_url":"https://api.github.com/repos/cryogen/throneteki/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cryogen/throneteki/statuses/{sha}","languages_url":"https://api.github.com/repos/cryogen/throneteki/languages","stargazers_url":"https://api.github.com/repos/cryogen/throneteki/stargazers","contributors_url":"https://api.github.com/repos/cryogen/throneteki/contributors","subscribers_url":"https://api.github.com/repos/cryogen/throneteki/subscribers","subscription_url":"https://api.github.com/repos/cryogen/throneteki/subscription","commits_url":"https://api.github.com/repos/cryogen/throneteki/commits{/sha}","git_commits_url":"https://api.github.com/repos/cryogen/throneteki/git/commits{/sha}","comments_url":"https://api.github.com/repos/cryogen/throneteki/comments{/number}","issue_comment_url":"https://api.github.com/repos/cryogen/throneteki/issues/comments{/number}","contents_url":"https://api.github.com/repos/cryogen/throneteki/contents/{+path}","compare_url":"https://api.github.com/repos/cryogen/throneteki/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cryogen/throneteki/merges","archive_url":"https://api.github.com/repos/cryogen/throneteki/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cryogen/throneteki/downloads","issues_url":"https://api.github.com/repos/cryogen/throneteki/issues{/number}","pulls_url":"https://api.github.com/repos/cryogen/throneteki/pulls{/number}","milestones_url":"https://api.github.com/repos/cryogen/throneteki/milestones{/number}","notifications_url":"https://api.github.com/repos/cryogen/throneteki/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cryogen/throneteki/labels{/name}","releases_url":"https://api.github.com/repos/cryogen/throneteki/releases{/id}","deployments_url":"https://api.github.com/repos/cryogen/throneteki/deployments","created_at":"2016-09-12T14:16:21Z","updated_at":"2018-02-14T18:02:13Z","pushed_at":"2018-02-23T15:05:40Z","git_url":"git://github.com/cryogen/throneteki.git","ssh_url":"git@github.com:cryogen/throneteki.git","clone_url":"https://github.com/cryogen/throneteki.git","svn_url":"https://github.com/cryogen/throneteki","homepage":"http://theironthrone.net","size":16595,"stargazers_count":43,"watchers_count":43,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":35,"mirror_url":null,"archived":false,"open_issues_count":52,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit"},"forks":35,"open_issues":52,"watchers":43,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cryogen/throneteki/pulls/1772"},"html":{"href":"https://github.com/cryogen/throneteki/pull/1772"},"issue":{"href":"https://api.github.com/repos/cryogen/throneteki/issues/1772"},"comments":{"href":"https://api.github.com/repos/cryogen/throneteki/issues/1772/comments"},"review_comments":{"href":"https://api.github.com/repos/cryogen/throneteki/pulls/1772/comments"},"review_comment":{"href":"https://api.github.com/repos/cryogen/throneteki/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cryogen/throneteki/pulls/1772/commits"},"statuses":{"href":"https://api.github.com/repos/cryogen/throneteki/statuses/fcae39b1c8fd7cfa6ee90400587af1190b8ca44a"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"zacchiro"}}