{"action":"opened","issue":{"url":"https://api.github.com/repos/Cardshifter/Cardshifter/issues/266","labels_url":"https://api.github.com/repos/Cardshifter/Cardshifter/issues/266/labels{/name}","comments_url":"https://api.github.com/repos/Cardshifter/Cardshifter/issues/266/comments","events_url":"https://api.github.com/repos/Cardshifter/Cardshifter/issues/266/events","html_url":"https://github.com/Cardshifter/Cardshifter/issues/266","id":84310032,"number":266,"title":"\"onAttacked\" trigger","user":{"login":"Phrancis","id":8539648,"avatar_url":"https://avatars.githubusercontent.com/u/8539648?v=3","gravatar_id":"","url":"https://api.github.com/users/Phrancis","html_url":"https://github.com/Phrancis","followers_url":"https://api.github.com/users/Phrancis/followers","following_url":"https://api.github.com/users/Phrancis/following{/other_user}","gists_url":"https://api.github.com/users/Phrancis/gists{/gist_id}","starred_url":"https://api.github.com/users/Phrancis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Phrancis/subscriptions","organizations_url":"https://api.github.com/users/Phrancis/orgs","repos_url":"https://api.github.com/users/Phrancis/repos","events_url":"https://api.github.com/users/Phrancis/events{/privacy}","received_events_url":"https://api.github.com/users/Phrancis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-03T02:07:14Z","updated_at":"2015-06-03T02:07:14Z","closed_at":null,"body":"Somewhat similar to #226, this effect trigger would fire once the target's HEALTH would become lower than its current value.\r\n\r\nExample:\r\n\r\n    onAttacked {\r\n        damage 1 to 'opponent'\r\n    }"}}