{"action":"created","issue":{"url":"https://api.github.com/repos/mtgred/netrunner/issues/206","labels_url":"https://api.github.com/repos/mtgred/netrunner/issues/206/labels{/name}","comments_url":"https://api.github.com/repos/mtgred/netrunner/issues/206/comments","events_url":"https://api.github.com/repos/mtgred/netrunner/issues/206/events","html_url":"https://github.com/mtgred/netrunner/pull/206","id":79518235,"number":206,"title":"Implement Self-destruct, Searchlight","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},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-05-22T16:29:50Z","updated_at":"2015-05-22T16:41:25Z","closed_at":"2015-05-22T16:41:20Z","pull_request":{"url":"https://api.github.com/repos/mtgred/netrunner/pulls/206","html_url":"https://github.com/mtgred/netrunner/pull/206","diff_url":"https://github.com/mtgred/netrunner/pull/206.diff","patch_url":"https://github.com/mtgred/netrunner/pull/206.patch"},"body":"Implement dynamic trace strength for Self-destruct and Searchlight. `:trace :base` can now be a function instead of only a constant.\r\n\r\nI also added a core function `card->server` to take a card and give back a server for the card's `:zone`. The server is returned as a map with `:content` and `:ices` keys. Self-destruct uses the code to get all cards \"in or protecting this server\". There may be a better way of implementing this, but I couldn't find any... the closest I saw was Singularity, but that uses a prompt to select the server, instead of the choice being implicit based on the card being used."},"comment":{"url":"https://api.github.com/repos/mtgred/netrunner/issues/comments/104709172","html_url":"https://github.com/mtgred/netrunner/pull/206#issuecomment-104709172","issue_url":"https://api.github.com/repos/mtgred/netrunner/issues/206","id":104709172,"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},"created_at":"2015-05-22T16:41:25Z","updated_at":"2015-05-22T16:41:25Z","body":":+1: "}}