{"action":"created","comment":{"url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/pulls/comments/226499793","pull_request_review_id":166337936,"id":226499793,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjQ5OTc5Mw==","diff_hunk":"@@ -2648,10 +2649,10 @@ let BattleMovedex = {\n \t\t\t\treturn 5;\n \t\t\t},\n \t\t\tonBeforeMovePriority: 2,\n-\t\t\tonBeforeMove: function (pokemon, target, move) {\n-\t\t\t\tlet hazards = ['reflect', 'lightscreen', 'auroraveil', 'safeguard', 'mist', 'spikes', 'toxicspikes', 'stealthrock', 'stickyweb', 'hazardpass', 'beskyttelsesnet', 'bringerofdarkness'];\n-\t\t\t\tif (hazards.includes(move.id)) {\n-\t\t\t\t\tthis.add('-activate', target, 'move: Prismatic Terrain');\n+\t\t\tonBeforeMove: function (target, source, move) {\n+\t\t\t\tlet hazardMoves = ['reflect', 'lightscreen', 'auroraveil', 'safeguard', 'mist', 'spikes', 'toxicspikes', 'stealthrock', 'stickyweb', 'hazardpass', 'beskyttelsesnet', 'bringerofdarkness', 'soulbend', 'smokebomb', 'hurl'];\n+\t\t\t\tif (hazardMoves.includes(move.id)) {\n+\t\t\t\t\tthis.add('-message', `${source.name} couldn't use ${move.name} because of the prismatic terrain!`);","path":"mods/seasonal/moves.js","position":28,"original_position":28,"commit_id":"ccfb27e94bb7015ad0d57366e669c716afdaf1db","original_commit_id":"ccfb27e94bb7015ad0d57366e669c716afdaf1db","user":{"login":"HoeenCoder","id":11671268,"node_id":"MDQ6VXNlcjExNjcxMjY4","avatar_url":"https://avatars2.githubusercontent.com/u/11671268?v=4","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},"body":"i assume the activate message displays the blue box and says \"Prismatic Terrain activiated!\"?","created_at":"2018-10-18T23:51:29Z","updated_at":"2018-10-18T23:51:29Z","html_url":"https://github.com/HoeenCoder/Pokemon-Showdown/pull/133#discussion_r226499793","pull_request_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/pulls/133","author_association":"OWNER","_links":{"self":{"href":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/pulls/comments/226499793"},"html":{"href":"https://github.com/HoeenCoder/Pokemon-Showdown/pull/133#discussion_r226499793"},"pull_request":{"href":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/pulls/133"}}},"pull_request":{"url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/pulls/133","id":224130917,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI0MTMwOTE3","html_url":"https://github.com/HoeenCoder/Pokemon-Showdown/pull/133","diff_url":"https://github.com/HoeenCoder/Pokemon-Showdown/pull/133.diff","patch_url":"https://github.com/HoeenCoder/Pokemon-Showdown/pull/133.patch","issue_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/issues/133","number":133,"state":"open","locked":false,"title":"Actually fix Terrains","user":{"login":"ImLycan","id":28816776,"node_id":"MDQ6VXNlcjI4ODE2Nzc2","avatar_url":"https://avatars0.githubusercontent.com/u/28816776?v=4","gravatar_id":"","url":"https://api.github.com/users/ImLycan","html_url":"https://github.com/ImLycan","followers_url":"https://api.github.com/users/ImLycan/followers","following_url":"https://api.github.com/users/ImLycan/following{/other_user}","gists_url":"https://api.github.com/users/ImLycan/gists{/gist_id}","starred_url":"https://api.github.com/users/ImLycan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ImLycan/subscriptions","organizations_url":"https://api.github.com/users/ImLycan/orgs","repos_url":"https://api.github.com/users/ImLycan/repos","events_url":"https://api.github.com/users/ImLycan/events{/privacy}","received_events_url":"https://api.github.com/users/ImLycan/received_events","type":"User","site_admin":false},"body":"closes #132 ","created_at":"2018-10-18T23:37:03Z","updated_at":"2018-10-18T23:51:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5a624545196d92900d22e8bee581396f5bc17b40","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/pulls/133/commits","review_comments_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/pulls/133/comments","review_comment_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/pulls/comments{/number}","comments_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/issues/133/comments","statuses_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/statuses/ccfb27e94bb7015ad0d57366e669c716afdaf1db","head":{"label":"ImLycan:patch-9","ref":"patch-9","sha":"ccfb27e94bb7015ad0d57366e669c716afdaf1db","user":{"login":"ImLycan","id":28816776,"node_id":"MDQ6VXNlcjI4ODE2Nzc2","avatar_url":"https://avatars0.githubusercontent.com/u/28816776?v=4","gravatar_id":"","url":"https://api.github.com/users/ImLycan","html_url":"https://github.com/ImLycan","followers_url":"https://api.github.com/users/ImLycan/followers","following_url":"https://api.github.com/users/ImLycan/following{/other_user}","gists_url":"https://api.github.com/users/ImLycan/gists{/gist_id}","starred_url":"https://api.github.com/users/ImLycan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ImLycan/subscriptions","organizations_url":"https://api.github.com/users/ImLycan/orgs","repos_url":"https://api.github.com/users/ImLycan/repos","events_url":"https://api.github.com/users/ImLycan/events{/privacy}","received_events_url":"https://api.github.com/users/ImLycan/received_events","type":"User","site_admin":false},"repo":{"id":152983378,"node_id":"MDEwOlJlcG9zaXRvcnkxNTI5ODMzNzg=","name":"Pokemon-Showdown","full_name":"ImLycan/Pokemon-Showdown","private":false,"owner":{"login":"ImLycan","id":28816776,"node_id":"MDQ6VXNlcjI4ODE2Nzc2","avatar_url":"https://avatars0.githubusercontent.com/u/28816776?v=4","gravatar_id":"","url":"https://api.github.com/users/ImLycan","html_url":"https://github.com/ImLycan","followers_url":"https://api.github.com/users/ImLycan/followers","following_url":"https://api.github.com/users/ImLycan/following{/other_user}","gists_url":"https://api.github.com/users/ImLycan/gists{/gist_id}","starred_url":"https://api.github.com/users/ImLycan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ImLycan/subscriptions","organizations_url":"https://api.github.com/users/ImLycan/orgs","repos_url":"https://api.github.com/users/ImLycan/repos","events_url":"https://api.github.com/users/ImLycan/events{/privacy}","received_events_url":"https://api.github.com/users/ImLycan/received_events","type":"User","site_admin":false},"html_url":"https://github.com/ImLycan/Pokemon-Showdown","description":"Pokémon battle simulator.","fork":true,"url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown","forks_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/forks","keys_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/teams","hooks_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/hooks","issue_events_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/issues/events{/number}","events_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/events","assignees_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/assignees{/user}","branches_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/branches{/branch}","tags_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/tags","blobs_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/statuses/{sha}","languages_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/languages","stargazers_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/stargazers","contributors_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/contributors","subscribers_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/subscribers","subscription_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/subscription","commits_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/issues/comments{/number}","contents_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/contents/{+path}","compare_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/merges","archive_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/downloads","issues_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/issues{/number}","pulls_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/pulls{/number}","milestones_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/milestones{/number}","notifications_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/labels{/name}","releases_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/releases{/id}","deployments_url":"https://api.github.com/repos/ImLycan/Pokemon-Showdown/deployments","created_at":"2018-10-14T14:35:06Z","updated_at":"2018-10-14T14:35:12Z","pushed_at":"2018-10-18T23:36:46Z","git_url":"git://github.com/ImLycan/Pokemon-Showdown.git","ssh_url":"git@github.com:ImLycan/Pokemon-Showdown.git","clone_url":"https://github.com/ImLycan/Pokemon-Showdown.git","svn_url":"https://github.com/ImLycan/Pokemon-Showdown","homepage":"http://pokemonshowdown.com","size":71298,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"HoeenCoder:ssb3","ref":"ssb3","sha":"28d4977b8df0f21ef85e286e513db9688a0fcf24","user":{"login":"HoeenCoder","id":11671268,"node_id":"MDQ6VXNlcjExNjcxMjY4","avatar_url":"https://avatars2.githubusercontent.com/u/11671268?v=4","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},"repo":{"id":87460200,"node_id":"MDEwOlJlcG9zaXRvcnk4NzQ2MDIwMA==","name":"Pokemon-Showdown","full_name":"HoeenCoder/Pokemon-Showdown","private":false,"owner":{"login":"HoeenCoder","id":11671268,"node_id":"MDQ6VXNlcjExNjcxMjY4","avatar_url":"https://avatars2.githubusercontent.com/u/11671268?v=4","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},"html_url":"https://github.com/HoeenCoder/Pokemon-Showdown","description":"Pokémon battle simulator.","fork":true,"url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown","forks_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/forks","keys_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/teams","hooks_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/hooks","issue_events_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/issues/events{/number}","events_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/events","assignees_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/assignees{/user}","branches_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/branches{/branch}","tags_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/tags","blobs_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/statuses/{sha}","languages_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/languages","stargazers_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/stargazers","contributors_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/contributors","subscribers_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/subscribers","subscription_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/subscription","commits_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/issues/comments{/number}","contents_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/contents/{+path}","compare_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/merges","archive_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/downloads","issues_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/issues{/number}","pulls_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/pulls{/number}","milestones_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/milestones{/number}","notifications_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/labels{/name}","releases_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/releases{/id}","deployments_url":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/deployments","created_at":"2017-04-06T18:10:57Z","updated_at":"2018-09-21T19:29:31Z","pushed_at":"2018-10-18T23:37:03Z","git_url":"git://github.com/HoeenCoder/Pokemon-Showdown.git","ssh_url":"git@github.com:HoeenCoder/Pokemon-Showdown.git","clone_url":"https://github.com/HoeenCoder/Pokemon-Showdown.git","svn_url":"https://github.com/HoeenCoder/Pokemon-Showdown","homepage":"http://pokemonshowdown.com","size":70950,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":2,"license":{"key":"other","name":"Other","spdx_id":"NOASSERTION","url":null,"node_id":"MDc6TGljZW5zZTA="},"forks":2,"open_issues":2,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/pulls/133"},"html":{"href":"https://github.com/HoeenCoder/Pokemon-Showdown/pull/133"},"issue":{"href":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/issues/133"},"comments":{"href":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/issues/133/comments"},"review_comments":{"href":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/pulls/133/comments"},"review_comment":{"href":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/pulls/133/commits"},"statuses":{"href":"https://api.github.com/repos/HoeenCoder/Pokemon-Showdown/statuses/ccfb27e94bb7015ad0d57366e669c716afdaf1db"}},"author_association":"NONE"}}
{"actor":{"display_login":"HoeenCoder"}}