{"action":"created","issue":{"url":"https://api.github.com/repos/mtgred/netrunner/issues/537","labels_url":"https://api.github.com/repos/mtgred/netrunner/issues/537/labels{/name}","comments_url":"https://api.github.com/repos/mtgred/netrunner/issues/537/comments","events_url":"https://api.github.com/repos/mtgred/netrunner/issues/537/events","html_url":"https://github.com/mtgred/netrunner/issues/537","id":100742153,"number":537,"title":":trash event is fired before prevent effects","user":{"login":"queueseven","id":3126597,"avatar_url":"https://avatars.githubusercontent.com/u/3126597?v=3","gravatar_id":"","url":"https://api.github.com/users/queueseven","html_url":"https://github.com/queueseven","followers_url":"https://api.github.com/users/queueseven/followers","following_url":"https://api.github.com/users/queueseven/following{/other_user}","gists_url":"https://api.github.com/users/queueseven/gists{/gist_id}","starred_url":"https://api.github.com/users/queueseven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/queueseven/subscriptions","organizations_url":"https://api.github.com/users/queueseven/orgs","repos_url":"https://api.github.com/users/queueseven/repos","events_url":"https://api.github.com/users/queueseven/events{/privacy}","received_events_url":"https://api.github.com/users/queueseven/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mtgred/netrunner/labels/dev","name":"dev","color":"f7c6c7"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-08-13T11:11:57Z","updated_at":"2015-11-24T15:47:20Z","closed_at":null,"body":"Say I have Cache, Q-Coherence Chip and Sacrificial Construct in play and I facecheck an ICE that trashed a program, so the corp trashes Cache.\r\n\r\nExpected behaviour: I can use Sacrificial Construct to prevent the trashing of Cache; and only Sacrificial Construct will be trashed\r\n\r\nActual behaviour: I'm asked if I want to use Sacrificial Construct to prevent the trashing of Q-Coherence Chip. If I don't do this, I'm asked if I want to prevent the trashing of Cache. I do so, but now Sacrificial Construct **and** Q-Coherence Chip are trashed.\r\n\r\nThe problem is that the :trash event is triggered before preventing the trashing is handled."},"comment":{"url":"https://api.github.com/repos/mtgred/netrunner/issues/comments/159309598","html_url":"https://github.com/mtgred/netrunner/issues/537#issuecomment-159309598","issue_url":"https://api.github.com/repos/mtgred/netrunner/issues/537","id":159309598,"user":{"login":"JoelCFC25","id":10407969,"avatar_url":"https://avatars.githubusercontent.com/u/10407969?v=3","gravatar_id":"","url":"https://api.github.com/users/JoelCFC25","html_url":"https://github.com/JoelCFC25","followers_url":"https://api.github.com/users/JoelCFC25/followers","following_url":"https://api.github.com/users/JoelCFC25/following{/other_user}","gists_url":"https://api.github.com/users/JoelCFC25/gists{/gist_id}","starred_url":"https://api.github.com/users/JoelCFC25/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JoelCFC25/subscriptions","organizations_url":"https://api.github.com/users/JoelCFC25/orgs","repos_url":"https://api.github.com/users/JoelCFC25/repos","events_url":"https://api.github.com/users/JoelCFC25/events{/privacy}","received_events_url":"https://api.github.com/users/JoelCFC25/received_events","type":"User","site_admin":false},"created_at":"2015-11-24T15:47:20Z","updated_at":"2015-11-24T15:47:20Z","body":"I moved the trigger to `resolve-trash` as mentioned above, so the originally described scenario of Cache, Q-Coherence Chip and Sacrificial Construct now works correctly when Cache is targeted for trashing. Are there any other cards to check to see if this will break anything? "}}