{"action":"created","issue":{"url":"https://api.github.com/repos/magarena/magarena/issues/734","repository_url":"https://api.github.com/repos/magarena/magarena","labels_url":"https://api.github.com/repos/magarena/magarena/issues/734/labels{/name}","comments_url":"https://api.github.com/repos/magarena/magarena/issues/734/comments","events_url":"https://api.github.com/repos/magarena/magarena/issues/734/events","html_url":"https://github.com/magarena/magarena/issues/734","id":142171953,"number":734,"title":"Actions dependant on previous Events","user":{"login":"ShawnieBoy","id":2363180,"avatar_url":"https://avatars.githubusercontent.com/u/2363180?v=3","gravatar_id":"","url":"https://api.github.com/users/ShawnieBoy","html_url":"https://github.com/ShawnieBoy","followers_url":"https://api.github.com/users/ShawnieBoy/followers","following_url":"https://api.github.com/users/ShawnieBoy/following{/other_user}","gists_url":"https://api.github.com/users/ShawnieBoy/gists{/gist_id}","starred_url":"https://api.github.com/users/ShawnieBoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ShawnieBoy/subscriptions","organizations_url":"https://api.github.com/users/ShawnieBoy/orgs","repos_url":"https://api.github.com/users/ShawnieBoy/repos","events_url":"https://api.github.com/users/ShawnieBoy/events{/privacy}","received_events_url":"https://api.github.com/users/ShawnieBoy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/magarena/magarena/labels/card","name":"card","color":"fbca04"},{"url":"https://api.github.com/repos/magarena/magarena/labels/engine","name":"engine","color":"d4c5f9"},{"url":"https://api.github.com/repos/magarena/magarena/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-20T15:01:57Z","updated_at":"2016-03-22T00:40:04Z","closed_at":null,"body":"Just polishing up the final Bolster cards, and have a bit of a headscratcher with Sunbringer's Touch.\r\n\r\nEssentially bolsters for X and then creatures with +1/+1 counters gain Trample.\r\n\r\nTrying this with game.addFirstEvent() didn't give a creature that had just gained a +1/+1 counter trample. Would using game.update() between the event and action also cause triggers to be put onto the stack before the gainAbility action completes?\r\n\r\n(The game.update() still doesn't make the targetFilter catch the newly added +1/+1 counters)"},"comment":{"url":"https://api.github.com/repos/magarena/magarena/issues/comments/199562484","html_url":"https://github.com/magarena/magarena/issues/734#issuecomment-199562484","issue_url":"https://api.github.com/repos/magarena/magarena/issues/734","id":199562484,"user":{"login":"melvinzhang","id":1620634,"avatar_url":"https://avatars.githubusercontent.com/u/1620634?v=3","gravatar_id":"","url":"https://api.github.com/users/melvinzhang","html_url":"https://github.com/melvinzhang","followers_url":"https://api.github.com/users/melvinzhang/followers","following_url":"https://api.github.com/users/melvinzhang/following{/other_user}","gists_url":"https://api.github.com/users/melvinzhang/gists{/gist_id}","starred_url":"https://api.github.com/users/melvinzhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/melvinzhang/subscriptions","organizations_url":"https://api.github.com/users/melvinzhang/orgs","repos_url":"https://api.github.com/users/melvinzhang/repos","events_url":"https://api.github.com/users/melvinzhang/events{/privacy}","received_events_url":"https://api.github.com/users/melvinzhang/received_events","type":"User","site_admin":false},"created_at":"2016-03-22T00:40:04Z","updated_at":"2016-03-22T00:40:04Z","body":"Event happen in sequence (one after another), actions occur immediately. So the bolster event happens after SpellCardEvent but the trample gaining happens during the SpellCardEvent. Fix is to change the trample gaining to an event. Working on it."}}