{"action":"created","comment":{"url":"https://api.github.com/repos/cuberite/cuberite/pulls/comments/44270916","id":44270916,"diff_hunk":"@@ -20,7 +20,7 @@ class cAggressiveMonster :\n \tvirtual void InStateChasing(std::chrono::milliseconds a_Dt) override;\n \t\n \tvirtual void EventSeePlayer(cEntity *) override;\n-\tvirtual void Attack(std::chrono::milliseconds a_Dt);\n+\tvirtual bool Attack(std::chrono::milliseconds a_Dt);","path":"src/Mobs/AggressiveMonster.h","position":5,"original_position":5,"commit_id":"392a3d319c8f8c92bc3e9c9d2c1707db955a2ae2","original_commit_id":"392a3d319c8f8c92bc3e9c9d2c1707db955a2ae2","user":{"login":"Gargaj","id":1702533,"avatar_url":"https://avatars.githubusercontent.com/u/1702533?v=3","gravatar_id":"","url":"https://api.github.com/users/Gargaj","html_url":"https://github.com/Gargaj","followers_url":"https://api.github.com/users/Gargaj/followers","following_url":"https://api.github.com/users/Gargaj/following{/other_user}","gists_url":"https://api.github.com/users/Gargaj/gists{/gist_id}","starred_url":"https://api.github.com/users/Gargaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gargaj/subscriptions","organizations_url":"https://api.github.com/users/Gargaj/orgs","repos_url":"https://api.github.com/users/Gargaj/repos","events_url":"https://api.github.com/users/Gargaj/events{/privacy}","received_events_url":"https://api.github.com/users/Gargaj/received_events","type":"User","site_admin":false},"body":"I thought about it but I wasn't sure how to explain it; essentially it returns true if the attack was \"successful\" (even if it did no damage).\r\n\r\nI'll add a comment later today","created_at":"2015-11-09T12:50:03Z","updated_at":"2015-11-09T12:50:03Z","html_url":"https://github.com/cuberite/cuberite/pull/2615#discussion_r44270916","pull_request_url":"https://api.github.com/repos/cuberite/cuberite/pulls/2615","_links":{"self":{"href":"https://api.github.com/repos/cuberite/cuberite/pulls/comments/44270916"},"html":{"href":"https://github.com/cuberite/cuberite/pull/2615#discussion_r44270916"},"pull_request":{"href":"https://api.github.com/repos/cuberite/cuberite/pulls/2615"}}},"pull_request":{"url":"https://api.github.com/repos/cuberite/cuberite/pulls/2615","id":50034415,"html_url":"https://github.com/cuberite/cuberite/pull/2615","diff_url":"https://github.com/cuberite/cuberite/pull/2615.diff","patch_url":"https://github.com/cuberite/cuberite/pull/2615.patch","issue_url":"https://api.github.com/repos/cuberite/cuberite/issues/2615","number":2615,"state":"closed","locked":false,"title":"Fix cavespider poisoning even if attack is in cooldown","user":{"login":"Gargaj","id":1702533,"avatar_url":"https://avatars.githubusercontent.com/u/1702533?v=3","gravatar_id":"","url":"https://api.github.com/users/Gargaj","html_url":"https://github.com/Gargaj","followers_url":"https://api.github.com/users/Gargaj/followers","following_url":"https://api.github.com/users/Gargaj/following{/other_user}","gists_url":"https://api.github.com/users/Gargaj/gists{/gist_id}","starred_url":"https://api.github.com/users/Gargaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gargaj/subscriptions","organizations_url":"https://api.github.com/users/Gargaj/orgs","repos_url":"https://api.github.com/users/Gargaj/repos","events_url":"https://api.github.com/users/Gargaj/events{/privacy}","received_events_url":"https://api.github.com/users/Gargaj/received_events","type":"User","site_admin":false},"body":"cf. https://github.com/cuberite/cuberite/issues/2613","created_at":"2015-11-07T11:47:36Z","updated_at":"2015-11-09T12:50:03Z","closed_at":"2015-11-08T22:08:40Z","merged_at":"2015-11-08T22:08:40Z","merge_commit_sha":"528e6f42c87847a2de8d3b47dc95544e774a3c90","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/cuberite/cuberite/pulls/2615/commits","review_comments_url":"https://api.github.com/repos/cuberite/cuberite/pulls/2615/comments","review_comment_url":"https://api.github.com/repos/cuberite/cuberite/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cuberite/cuberite/issues/2615/comments","statuses_url":"https://api.github.com/repos/cuberite/cuberite/statuses/392a3d319c8f8c92bc3e9c9d2c1707db955a2ae2","head":{"label":"Gargaj:cavespider-attack","ref":"cavespider-attack","sha":"392a3d319c8f8c92bc3e9c9d2c1707db955a2ae2","user":{"login":"Gargaj","id":1702533,"avatar_url":"https://avatars.githubusercontent.com/u/1702533?v=3","gravatar_id":"","url":"https://api.github.com/users/Gargaj","html_url":"https://github.com/Gargaj","followers_url":"https://api.github.com/users/Gargaj/followers","following_url":"https://api.github.com/users/Gargaj/following{/other_user}","gists_url":"https://api.github.com/users/Gargaj/gists{/gist_id}","starred_url":"https://api.github.com/users/Gargaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gargaj/subscriptions","organizations_url":"https://api.github.com/users/Gargaj/orgs","repos_url":"https://api.github.com/users/Gargaj/repos","events_url":"https://api.github.com/users/Gargaj/events{/privacy}","received_events_url":"https://api.github.com/users/Gargaj/received_events","type":"User","site_admin":false},"repo":{"id":45553777,"name":"cuberite","full_name":"Gargaj/cuberite","owner":{"login":"Gargaj","id":1702533,"avatar_url":"https://avatars.githubusercontent.com/u/1702533?v=3","gravatar_id":"","url":"https://api.github.com/users/Gargaj","html_url":"https://github.com/Gargaj","followers_url":"https://api.github.com/users/Gargaj/followers","following_url":"https://api.github.com/users/Gargaj/following{/other_user}","gists_url":"https://api.github.com/users/Gargaj/gists{/gist_id}","starred_url":"https://api.github.com/users/Gargaj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Gargaj/subscriptions","organizations_url":"https://api.github.com/users/Gargaj/orgs","repos_url":"https://api.github.com/users/Gargaj/repos","events_url":"https://api.github.com/users/Gargaj/events{/privacy}","received_events_url":"https://api.github.com/users/Gargaj/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Gargaj/cuberite","description":"A performant C++ Minecraft compatible game server","fork":true,"url":"https://api.github.com/repos/Gargaj/cuberite","forks_url":"https://api.github.com/repos/Gargaj/cuberite/forks","keys_url":"https://api.github.com/repos/Gargaj/cuberite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Gargaj/cuberite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Gargaj/cuberite/teams","hooks_url":"https://api.github.com/repos/Gargaj/cuberite/hooks","issue_events_url":"https://api.github.com/repos/Gargaj/cuberite/issues/events{/number}","events_url":"https://api.github.com/repos/Gargaj/cuberite/events","assignees_url":"https://api.github.com/repos/Gargaj/cuberite/assignees{/user}","branches_url":"https://api.github.com/repos/Gargaj/cuberite/branches{/branch}","tags_url":"https://api.github.com/repos/Gargaj/cuberite/tags","blobs_url":"https://api.github.com/repos/Gargaj/cuberite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Gargaj/cuberite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Gargaj/cuberite/git/refs{/sha}","trees_url":"https://api.github.com/repos/Gargaj/cuberite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Gargaj/cuberite/statuses/{sha}","languages_url":"https://api.github.com/repos/Gargaj/cuberite/languages","stargazers_url":"https://api.github.com/repos/Gargaj/cuberite/stargazers","contributors_url":"https://api.github.com/repos/Gargaj/cuberite/contributors","subscribers_url":"https://api.github.com/repos/Gargaj/cuberite/subscribers","subscription_url":"https://api.github.com/repos/Gargaj/cuberite/subscription","commits_url":"https://api.github.com/repos/Gargaj/cuberite/commits{/sha}","git_commits_url":"https://api.github.com/repos/Gargaj/cuberite/git/commits{/sha}","comments_url":"https://api.github.com/repos/Gargaj/cuberite/comments{/number}","issue_comment_url":"https://api.github.com/repos/Gargaj/cuberite/issues/comments{/number}","contents_url":"https://api.github.com/repos/Gargaj/cuberite/contents/{+path}","compare_url":"https://api.github.com/repos/Gargaj/cuberite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Gargaj/cuberite/merges","archive_url":"https://api.github.com/repos/Gargaj/cuberite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Gargaj/cuberite/downloads","issues_url":"https://api.github.com/repos/Gargaj/cuberite/issues{/number}","pulls_url":"https://api.github.com/repos/Gargaj/cuberite/pulls{/number}","milestones_url":"https://api.github.com/repos/Gargaj/cuberite/milestones{/number}","notifications_url":"https://api.github.com/repos/Gargaj/cuberite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Gargaj/cuberite/labels{/name}","releases_url":"https://api.github.com/repos/Gargaj/cuberite/releases{/id}","created_at":"2015-11-04T16:58:55Z","updated_at":"2015-11-06T09:23:02Z","pushed_at":"2015-11-08T22:43:02Z","git_url":"git://github.com/Gargaj/cuberite.git","ssh_url":"git@github.com:Gargaj/cuberite.git","clone_url":"https://github.com/Gargaj/cuberite.git","svn_url":"https://github.com/Gargaj/cuberite","homepage":"http://cuberite.org","size":79148,"stargazers_count":0,"watchers_count":0,"language":"C++","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"cuberite:master","ref":"master","sha":"f3d3c9adca80f881befcd4182cb804766d21b95a","user":{"login":"cuberite","id":8973961,"avatar_url":"https://avatars.githubusercontent.com/u/8973961?v=3","gravatar_id":"","url":"https://api.github.com/users/cuberite","html_url":"https://github.com/cuberite","followers_url":"https://api.github.com/users/cuberite/followers","following_url":"https://api.github.com/users/cuberite/following{/other_user}","gists_url":"https://api.github.com/users/cuberite/gists{/gist_id}","starred_url":"https://api.github.com/users/cuberite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuberite/subscriptions","organizations_url":"https://api.github.com/users/cuberite/orgs","repos_url":"https://api.github.com/users/cuberite/repos","events_url":"https://api.github.com/users/cuberite/events{/privacy}","received_events_url":"https://api.github.com/users/cuberite/received_events","type":"Organization","site_admin":false},"repo":{"id":11693709,"name":"cuberite","full_name":"cuberite/cuberite","owner":{"login":"cuberite","id":8973961,"avatar_url":"https://avatars.githubusercontent.com/u/8973961?v=3","gravatar_id":"","url":"https://api.github.com/users/cuberite","html_url":"https://github.com/cuberite","followers_url":"https://api.github.com/users/cuberite/followers","following_url":"https://api.github.com/users/cuberite/following{/other_user}","gists_url":"https://api.github.com/users/cuberite/gists{/gist_id}","starred_url":"https://api.github.com/users/cuberite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cuberite/subscriptions","organizations_url":"https://api.github.com/users/cuberite/orgs","repos_url":"https://api.github.com/users/cuberite/repos","events_url":"https://api.github.com/users/cuberite/events{/privacy}","received_events_url":"https://api.github.com/users/cuberite/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/cuberite/cuberite","description":"A performant C++ Minecraft compatible game server","fork":false,"url":"https://api.github.com/repos/cuberite/cuberite","forks_url":"https://api.github.com/repos/cuberite/cuberite/forks","keys_url":"https://api.github.com/repos/cuberite/cuberite/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cuberite/cuberite/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cuberite/cuberite/teams","hooks_url":"https://api.github.com/repos/cuberite/cuberite/hooks","issue_events_url":"https://api.github.com/repos/cuberite/cuberite/issues/events{/number}","events_url":"https://api.github.com/repos/cuberite/cuberite/events","assignees_url":"https://api.github.com/repos/cuberite/cuberite/assignees{/user}","branches_url":"https://api.github.com/repos/cuberite/cuberite/branches{/branch}","tags_url":"https://api.github.com/repos/cuberite/cuberite/tags","blobs_url":"https://api.github.com/repos/cuberite/cuberite/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cuberite/cuberite/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cuberite/cuberite/git/refs{/sha}","trees_url":"https://api.github.com/repos/cuberite/cuberite/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cuberite/cuberite/statuses/{sha}","languages_url":"https://api.github.com/repos/cuberite/cuberite/languages","stargazers_url":"https://api.github.com/repos/cuberite/cuberite/stargazers","contributors_url":"https://api.github.com/repos/cuberite/cuberite/contributors","subscribers_url":"https://api.github.com/repos/cuberite/cuberite/subscribers","subscription_url":"https://api.github.com/repos/cuberite/cuberite/subscription","commits_url":"https://api.github.com/repos/cuberite/cuberite/commits{/sha}","git_commits_url":"https://api.github.com/repos/cuberite/cuberite/git/commits{/sha}","comments_url":"https://api.github.com/repos/cuberite/cuberite/comments{/number}","issue_comment_url":"https://api.github.com/repos/cuberite/cuberite/issues/comments{/number}","contents_url":"https://api.github.com/repos/cuberite/cuberite/contents/{+path}","compare_url":"https://api.github.com/repos/cuberite/cuberite/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cuberite/cuberite/merges","archive_url":"https://api.github.com/repos/cuberite/cuberite/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cuberite/cuberite/downloads","issues_url":"https://api.github.com/repos/cuberite/cuberite/issues{/number}","pulls_url":"https://api.github.com/repos/cuberite/cuberite/pulls{/number}","milestones_url":"https://api.github.com/repos/cuberite/cuberite/milestones{/number}","notifications_url":"https://api.github.com/repos/cuberite/cuberite/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cuberite/cuberite/labels{/name}","releases_url":"https://api.github.com/repos/cuberite/cuberite/releases{/id}","created_at":"2013-07-26T19:56:59Z","updated_at":"2015-11-08T23:45:34Z","pushed_at":"2015-11-09T10:37:27Z","git_url":"git://github.com/cuberite/cuberite.git","ssh_url":"git@github.com:cuberite/cuberite.git","clone_url":"https://github.com/cuberite/cuberite.git","svn_url":"https://github.com/cuberite/cuberite","homepage":"http://cuberite.org","size":170755,"stargazers_count":757,"watchers_count":757,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":245,"mirror_url":null,"open_issues_count":416,"forks":245,"open_issues":416,"watchers":757,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cuberite/cuberite/pulls/2615"},"html":{"href":"https://github.com/cuberite/cuberite/pull/2615"},"issue":{"href":"https://api.github.com/repos/cuberite/cuberite/issues/2615"},"comments":{"href":"https://api.github.com/repos/cuberite/cuberite/issues/2615/comments"},"review_comments":{"href":"https://api.github.com/repos/cuberite/cuberite/pulls/2615/comments"},"review_comment":{"href":"https://api.github.com/repos/cuberite/cuberite/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cuberite/cuberite/pulls/2615/commits"},"statuses":{"href":"https://api.github.com/repos/cuberite/cuberite/statuses/392a3d319c8f8c92bc3e9c9d2c1707db955a2ae2"}}}}