{"action":"opened","number":535,"pull_request":{"url":"https://api.github.com/repos/mtgred/netrunner/pulls/535","id":42314169,"html_url":"https://github.com/mtgred/netrunner/pull/535","diff_url":"https://github.com/mtgred/netrunner/pull/535.diff","patch_url":"https://github.com/mtgred/netrunner/pull/535.patch","issue_url":"https://api.github.com/repos/mtgred/netrunner/issues/535","number":535,"state":"open","locked":false,"title":"Blue Sun accounts for modifications to rez cost","user":{"login":"nealterrell","id":10083341,"avatar_url":"https://avatars.githubusercontent.com/u/10083341?v=3","gravatar_id":"","url":"https://api.github.com/users/nealterrell","html_url":"https://github.com/nealterrell","followers_url":"https://api.github.com/users/nealterrell/followers","following_url":"https://api.github.com/users/nealterrell/following{/other_user}","gists_url":"https://api.github.com/users/nealterrell/gists{/gist_id}","starred_url":"https://api.github.com/users/nealterrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nealterrell/subscriptions","organizations_url":"https://api.github.com/users/nealterrell/orgs","repos_url":"https://api.github.com/users/nealterrell/repos","events_url":"https://api.github.com/users/nealterrell/events{/privacy}","received_events_url":"https://api.github.com/users/nealterrell/received_events","type":"User","site_admin":false},"body":"This turned out to be harder than anticipated because of the red queen Reina Roja. Reina's ability notably does NOT grant Blue Sun an extra credit, whereas every other source of rez cost modification does. This is justified on ANCUR by Lukas due to Reina's ability only being active while the rez action is taking place, while the others are constant effects. \r\n\r\nSo we separate `:pre-rez` into a second event, `:pre-rez-cost`, which we can trigger to only alert cards that have constant effects on rez cost. Reina remains as the only card handling `:pre-rez` for the moment, as she should only be affecting rez cost as the card is being rezzed.\r\n\r\nFixes #517.","created_at":"2015-08-13T04:25:46Z","updated_at":"2015-08-13T04:25:46Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/mtgred/netrunner/pulls/535/commits","review_comments_url":"https://api.github.com/repos/mtgred/netrunner/pulls/535/comments","review_comment_url":"https://api.github.com/repos/mtgred/netrunner/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mtgred/netrunner/issues/535/comments","statuses_url":"https://api.github.com/repos/mtgred/netrunner/statuses/ab23773d2686cf05dba722466643d393ef1a5a2e","head":{"label":"nealterrell:blue-sun","ref":"blue-sun","sha":"ab23773d2686cf05dba722466643d393ef1a5a2e","user":{"login":"nealterrell","id":10083341,"avatar_url":"https://avatars.githubusercontent.com/u/10083341?v=3","gravatar_id":"","url":"https://api.github.com/users/nealterrell","html_url":"https://github.com/nealterrell","followers_url":"https://api.github.com/users/nealterrell/followers","following_url":"https://api.github.com/users/nealterrell/following{/other_user}","gists_url":"https://api.github.com/users/nealterrell/gists{/gist_id}","starred_url":"https://api.github.com/users/nealterrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nealterrell/subscriptions","organizations_url":"https://api.github.com/users/nealterrell/orgs","repos_url":"https://api.github.com/users/nealterrell/repos","events_url":"https://api.github.com/users/nealterrell/events{/privacy}","received_events_url":"https://api.github.com/users/nealterrell/received_events","type":"User","site_admin":false},"repo":{"id":34962569,"name":"netrunner","full_name":"nealterrell/netrunner","owner":{"login":"nealterrell","id":10083341,"avatar_url":"https://avatars.githubusercontent.com/u/10083341?v=3","gravatar_id":"","url":"https://api.github.com/users/nealterrell","html_url":"https://github.com/nealterrell","followers_url":"https://api.github.com/users/nealterrell/followers","following_url":"https://api.github.com/users/nealterrell/following{/other_user}","gists_url":"https://api.github.com/users/nealterrell/gists{/gist_id}","starred_url":"https://api.github.com/users/nealterrell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nealterrell/subscriptions","organizations_url":"https://api.github.com/users/nealterrell/orgs","repos_url":"https://api.github.com/users/nealterrell/repos","events_url":"https://api.github.com/users/nealterrell/events{/privacy}","received_events_url":"https://api.github.com/users/nealterrell/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/nealterrell/netrunner","description":"","fork":true,"url":"https://api.github.com/repos/nealterrell/netrunner","forks_url":"https://api.github.com/repos/nealterrell/netrunner/forks","keys_url":"https://api.github.com/repos/nealterrell/netrunner/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nealterrell/netrunner/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nealterrell/netrunner/teams","hooks_url":"https://api.github.com/repos/nealterrell/netrunner/hooks","issue_events_url":"https://api.github.com/repos/nealterrell/netrunner/issues/events{/number}","events_url":"https://api.github.com/repos/nealterrell/netrunner/events","assignees_url":"https://api.github.com/repos/nealterrell/netrunner/assignees{/user}","branches_url":"https://api.github.com/repos/nealterrell/netrunner/branches{/branch}","tags_url":"https://api.github.com/repos/nealterrell/netrunner/tags","blobs_url":"https://api.github.com/repos/nealterrell/netrunner/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nealterrell/netrunner/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nealterrell/netrunner/git/refs{/sha}","trees_url":"https://api.github.com/repos/nealterrell/netrunner/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nealterrell/netrunner/statuses/{sha}","languages_url":"https://api.github.com/repos/nealterrell/netrunner/languages","stargazers_url":"https://api.github.com/repos/nealterrell/netrunner/stargazers","contributors_url":"https://api.github.com/repos/nealterrell/netrunner/contributors","subscribers_url":"https://api.github.com/repos/nealterrell/netrunner/subscribers","subscription_url":"https://api.github.com/repos/nealterrell/netrunner/subscription","commits_url":"https://api.github.com/repos/nealterrell/netrunner/commits{/sha}","git_commits_url":"https://api.github.com/repos/nealterrell/netrunner/git/commits{/sha}","comments_url":"https://api.github.com/repos/nealterrell/netrunner/comments{/number}","issue_comment_url":"https://api.github.com/repos/nealterrell/netrunner/issues/comments{/number}","contents_url":"https://api.github.com/repos/nealterrell/netrunner/contents/{+path}","compare_url":"https://api.github.com/repos/nealterrell/netrunner/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nealterrell/netrunner/merges","archive_url":"https://api.github.com/repos/nealterrell/netrunner/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nealterrell/netrunner/downloads","issues_url":"https://api.github.com/repos/nealterrell/netrunner/issues{/number}","pulls_url":"https://api.github.com/repos/nealterrell/netrunner/pulls{/number}","milestones_url":"https://api.github.com/repos/nealterrell/netrunner/milestones{/number}","notifications_url":"https://api.github.com/repos/nealterrell/netrunner/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nealterrell/netrunner/labels{/name}","releases_url":"https://api.github.com/repos/nealterrell/netrunner/releases{/id}","created_at":"2015-05-02T20:39:19Z","updated_at":"2015-05-08T15:00:16Z","pushed_at":"2015-08-13T04:25:20Z","git_url":"git://github.com/nealterrell/netrunner.git","ssh_url":"git@github.com:nealterrell/netrunner.git","clone_url":"https://github.com/nealterrell/netrunner.git","svn_url":"https://github.com/nealterrell/netrunner","homepage":"http://www.jinteki.net","size":6620,"stargazers_count":0,"watchers_count":0,"language":"Clojure","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mtgred:master","ref":"master","sha":"0cdcbe80bf8018cc8b0336af3e522c302239d024","user":{"login":"mtgred","id":284114,"avatar_url":"https://avatars.githubusercontent.com/u/284114?v=3","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://avatars.githubusercontent.com/u/284114?v=3","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":"","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}","created_at":"2014-04-23T17:57:52Z","updated_at":"2015-08-12T03:55:05Z","pushed_at":"2015-08-12T16:54:04Z","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":9395,"stargazers_count":176,"watchers_count":176,"language":"Clojure","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":66,"mirror_url":null,"open_issues_count":110,"forks":66,"open_issues":110,"watchers":176,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mtgred/netrunner/pulls/535"},"html":{"href":"https://github.com/mtgred/netrunner/pull/535"},"issue":{"href":"https://api.github.com/repos/mtgred/netrunner/issues/535"},"comments":{"href":"https://api.github.com/repos/mtgred/netrunner/issues/535/comments"},"review_comments":{"href":"https://api.github.com/repos/mtgred/netrunner/pulls/535/comments"},"review_comment":{"href":"https://api.github.com/repos/mtgred/netrunner/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mtgred/netrunner/pulls/535/commits"},"statuses":{"href":"https://api.github.com/repos/mtgred/netrunner/statuses/ab23773d2686cf05dba722466643d393ef1a5a2e"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":3,"additions":29,"deletions":23,"changed_files":6}}