{"action":"created","issue":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/3234","repository_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown","labels_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/3234/labels{/name}","comments_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/3234/comments","events_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/3234/events","html_url":"https://github.com/Zarel/Pokemon-Showdown/pull/3234","id":207608990,"number":3234,"title":"Fix terrain seed activation","user":{"login":"HoeenCoder","id":11671268,"avatar_url":"https://avatars.githubusercontent.com/u/11671268?v=3","gravatar_id":"","url":"https://api.github.com/users/HoeenCoder","html_url":"https://github.com/HoeenCoder","followers_url":"https://api.github.com/users/HoeenCoder/followers","following_url":"https://api.github.com/users/HoeenCoder/following{/other_user}","gists_url":"https://api.github.com/users/HoeenCoder/gists{/gist_id}","starred_url":"https://api.github.com/users/HoeenCoder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/HoeenCoder/subscriptions","organizations_url":"https://api.github.com/users/HoeenCoder/orgs","repos_url":"https://api.github.com/users/HoeenCoder/repos","events_url":"https://api.github.com/users/HoeenCoder/events{/privacy}","received_events_url":"https://api.github.com/users/HoeenCoder/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-02-14T19:14:46Z","updated_at":"2017-02-14T20:41:45Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/pulls/3234","html_url":"https://github.com/Zarel/Pokemon-Showdown/pull/3234","diff_url":"https://github.com/Zarel/Pokemon-Showdown/pull/3234.diff","patch_url":"https://github.com/Zarel/Pokemon-Showdown/pull/3234.patch"},"body":"Terrain seeds (such as electric seed, psychic seed) should active as soon as the appropriate terrain is activated, or when the pokemon holding the seed switches into the terrain. When two tapu's get on the field in the same turn only the slower terrain activates its seeds. This adds the event `SetTerrain` which is run whenever a terrain is set.\r\n\r\n**Proof that the current setup is a bug:** Sun & Moon Replay code: ZCLW-WWWW-WWW5-CJF5\r\n\r\n---\r\n- Thanks to @Lionyx for helping me test this (it took a few hours)\r\n\r\n- Thanks to @urkerab for answering my questions on `runEvent` and the bug in general."},"comment":{"url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/comments/279829366","html_url":"https://github.com/Zarel/Pokemon-Showdown/pull/3234#issuecomment-279829366","issue_url":"https://api.github.com/repos/Zarel/Pokemon-Showdown/issues/3234","id":279829366,"user":{"login":"Zarel","id":551184,"avatar_url":"https://avatars.githubusercontent.com/u/551184?v=3","gravatar_id":"","url":"https://api.github.com/users/Zarel","html_url":"https://github.com/Zarel","followers_url":"https://api.github.com/users/Zarel/followers","following_url":"https://api.github.com/users/Zarel/following{/other_user}","gists_url":"https://api.github.com/users/Zarel/gists{/gist_id}","starred_url":"https://api.github.com/users/Zarel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zarel/subscriptions","organizations_url":"https://api.github.com/users/Zarel/orgs","repos_url":"https://api.github.com/users/Zarel/repos","events_url":"https://api.github.com/users/Zarel/events{/privacy}","received_events_url":"https://api.github.com/users/Zarel/received_events","type":"User","site_admin":false},"created_at":"2017-02-14T20:41:45Z","updated_at":"2017-02-14T20:41:45Z","body":"What's wrong with just running Update after a switch-in?"}}
{"actor":{"display_login":"Zarel"}}