{"action":"created","comment":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments/30950743","id":30950743,"diff_hunk":"@@ -4904,11 +4912,11 @@ dealt_damage_instance player::deal_damage(Creature* source, body_part bp, const\n             add_msg_player_or_npc(m_bad, _(\"%s grabs you!\"), _(\"%s grabs <npcname>!\"),\n                                   source->disp_name().c_str());\n             if (has_grab_break_tec() && get_grab_resist() > 0 && get_dex() > get_str() ?\n-                dice(get_dex(), 10) : dice(get_str(), 10) > dice(source->get_dex(), 10)) {\n+                rng(0, get_dex()) : rng( 0, get_str()) > rng( 0 , 10)) {\n                 add_msg_player_or_npc(m_good, _(\"You break the grab!\"),\n                                       _(\"<npcname> breaks the grab!\"));\n             } else {\n-                add_effect(\"grabbed\", 1);\n+                add_effect(\"grabbed\", 4);","path":"src/player.cpp","position":32,"original_position":32,"commit_id":"abc8e404fed87a08c623cc8cb48776c4109c8ef1","original_commit_id":"abc8e404fed87a08c623cc8cb48776c4109c8ef1","user":{"login":"Coolthulhu","id":1878860,"avatar_url":"https://avatars.githubusercontent.com/u/1878860?v=3","gravatar_id":"","url":"https://api.github.com/users/Coolthulhu","html_url":"https://github.com/Coolthulhu","followers_url":"https://api.github.com/users/Coolthulhu/followers","following_url":"https://api.github.com/users/Coolthulhu/following{/other_user}","gists_url":"https://api.github.com/users/Coolthulhu/gists{/gist_id}","starred_url":"https://api.github.com/users/Coolthulhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coolthulhu/subscriptions","organizations_url":"https://api.github.com/users/Coolthulhu/orgs","repos_url":"https://api.github.com/users/Coolthulhu/repos","events_url":"https://api.github.com/users/Coolthulhu/events{/privacy}","received_events_url":"https://api.github.com/users/Coolthulhu/received_events","type":"User","site_admin":false},"body":"If I recall correctly, this would add 4 turns of grab, while you probably want something closer to 2-3 intensity 2 turn grab.","created_at":"2015-05-24T07:26:45Z","updated_at":"2015-05-24T07:26:45Z","html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/12314#discussion_r30950743","pull_request_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/12314","_links":{"self":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments/30950743"},"html":{"href":"https://github.com/CleverRaven/Cataclysm-DDA/pull/12314#discussion_r30950743"},"pull_request":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/12314"}}},"pull_request":{"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/12314","id":34882710,"html_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/12314","diff_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/12314.diff","patch_url":"https://github.com/CleverRaven/Cataclysm-DDA/pull/12314.patch","issue_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/12314","number":12314,"state":"open","locked":false,"title":"[Review]Grappler Zombie and grabbing ablility for zombies","user":{"login":"PropaneSoup","id":5740367,"avatar_url":"https://avatars.githubusercontent.com/u/5740367?v=3","gravatar_id":"","url":"https://api.github.com/users/PropaneSoup","html_url":"https://github.com/PropaneSoup","followers_url":"https://api.github.com/users/PropaneSoup/followers","following_url":"https://api.github.com/users/PropaneSoup/following{/other_user}","gists_url":"https://api.github.com/users/PropaneSoup/gists{/gist_id}","starred_url":"https://api.github.com/users/PropaneSoup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PropaneSoup/subscriptions","organizations_url":"https://api.github.com/users/PropaneSoup/orgs","repos_url":"https://api.github.com/users/PropaneSoup/repos","events_url":"https://api.github.com/users/PropaneSoup/events{/privacy}","received_events_url":"https://api.github.com/users/PropaneSoup/received_events","type":"User","site_admin":false},"body":"This PR introduces an evolution for the grabber zombie, the grappler zombie. The grappler zombie is slightly beefed up health and attack-wise from the grabber, but the biggest difference is the grappler's new attack, pulling enemies. When you are 3 or less tiles away, the grappler will grab you and 'fling' you toward itself, usually dragging you into a small swarm, or out of your window, or in one of my testings, straight off your motorcycle!\r\nThough should you be one square (or less) away, the grappler will instead pin you to the ground and not allow you to move for a few turns.\r\n\r\nAlong with the monster/attacks comes the spawns, minimum day for upgrading from the grabber is 6, and it can very occasionally naturally spawn before that.","created_at":"2015-05-07T04:39:12Z","updated_at":"2015-05-24T07:26:45Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e7b09272e8c2855ccfe9350431b8dd73a496caf9","assignee":{"login":"Coolthulhu","id":1878860,"avatar_url":"https://avatars.githubusercontent.com/u/1878860?v=3","gravatar_id":"","url":"https://api.github.com/users/Coolthulhu","html_url":"https://github.com/Coolthulhu","followers_url":"https://api.github.com/users/Coolthulhu/followers","following_url":"https://api.github.com/users/Coolthulhu/following{/other_user}","gists_url":"https://api.github.com/users/Coolthulhu/gists{/gist_id}","starred_url":"https://api.github.com/users/Coolthulhu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Coolthulhu/subscriptions","organizations_url":"https://api.github.com/users/Coolthulhu/orgs","repos_url":"https://api.github.com/users/Coolthulhu/repos","events_url":"https://api.github.com/users/Coolthulhu/events{/privacy}","received_events_url":"https://api.github.com/users/Coolthulhu/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/12314/commits","review_comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/12314/comments","review_comment_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments{/number}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/12314/comments","statuses_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/abc8e404fed87a08c623cc8cb48776c4109c8ef1","head":{"label":"PropaneSoup:Grabber-zombies","ref":"Grabber-zombies","sha":"abc8e404fed87a08c623cc8cb48776c4109c8ef1","user":{"login":"PropaneSoup","id":5740367,"avatar_url":"https://avatars.githubusercontent.com/u/5740367?v=3","gravatar_id":"","url":"https://api.github.com/users/PropaneSoup","html_url":"https://github.com/PropaneSoup","followers_url":"https://api.github.com/users/PropaneSoup/followers","following_url":"https://api.github.com/users/PropaneSoup/following{/other_user}","gists_url":"https://api.github.com/users/PropaneSoup/gists{/gist_id}","starred_url":"https://api.github.com/users/PropaneSoup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PropaneSoup/subscriptions","organizations_url":"https://api.github.com/users/PropaneSoup/orgs","repos_url":"https://api.github.com/users/PropaneSoup/repos","events_url":"https://api.github.com/users/PropaneSoup/events{/privacy}","received_events_url":"https://api.github.com/users/PropaneSoup/received_events","type":"User","site_admin":false},"repo":{"id":29934805,"name":"Cataclysm-DDA","full_name":"PropaneSoup/Cataclysm-DDA","owner":{"login":"PropaneSoup","id":5740367,"avatar_url":"https://avatars.githubusercontent.com/u/5740367?v=3","gravatar_id":"","url":"https://api.github.com/users/PropaneSoup","html_url":"https://github.com/PropaneSoup","followers_url":"https://api.github.com/users/PropaneSoup/followers","following_url":"https://api.github.com/users/PropaneSoup/following{/other_user}","gists_url":"https://api.github.com/users/PropaneSoup/gists{/gist_id}","starred_url":"https://api.github.com/users/PropaneSoup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PropaneSoup/subscriptions","organizations_url":"https://api.github.com/users/PropaneSoup/orgs","repos_url":"https://api.github.com/users/PropaneSoup/repos","events_url":"https://api.github.com/users/PropaneSoup/events{/privacy}","received_events_url":"https://api.github.com/users/PropaneSoup/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/PropaneSoup/Cataclysm-DDA","description":"Cataclysm - Dark Days Ahead. A fork/variant of Cataclysm Roguelike by Whales.","fork":true,"url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA","forks_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/forks","keys_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/teams","hooks_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/hooks","issue_events_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/issues/events{/number}","events_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/events","assignees_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/assignees{/user}","branches_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/branches{/branch}","tags_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/tags","blobs_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/git/refs{/sha}","trees_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/statuses/{sha}","languages_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/languages","stargazers_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/stargazers","contributors_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/contributors","subscribers_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/subscribers","subscription_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/subscription","commits_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/commits{/sha}","git_commits_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/git/commits{/sha}","comments_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/comments{/number}","issue_comment_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/issues/comments{/number}","contents_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/contents/{+path}","compare_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/merges","archive_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/downloads","issues_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/issues{/number}","pulls_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/pulls{/number}","milestones_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/milestones{/number}","notifications_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/labels{/name}","releases_url":"https://api.github.com/repos/PropaneSoup/Cataclysm-DDA/releases{/id}","created_at":"2015-01-27T21:04:54Z","updated_at":"2015-05-08T02:07:52Z","pushed_at":"2015-05-23T23:40:23Z","git_url":"git://github.com/PropaneSoup/Cataclysm-DDA.git","ssh_url":"git@github.com:PropaneSoup/Cataclysm-DDA.git","clone_url":"https://github.com/PropaneSoup/Cataclysm-DDA.git","svn_url":"https://github.com/PropaneSoup/Cataclysm-DDA","homepage":"http://en.cataclysmdda.com/","size":445787,"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":"CleverRaven:master","ref":"master","sha":"b82303447e8ce438b719d093015e3177046ab328","user":{"login":"CleverRaven","id":4367009,"avatar_url":"https://avatars.githubusercontent.com/u/4367009?v=3","gravatar_id":"","url":"https://api.github.com/users/CleverRaven","html_url":"https://github.com/CleverRaven","followers_url":"https://api.github.com/users/CleverRaven/followers","following_url":"https://api.github.com/users/CleverRaven/following{/other_user}","gists_url":"https://api.github.com/users/CleverRaven/gists{/gist_id}","starred_url":"https://api.github.com/users/CleverRaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CleverRaven/subscriptions","organizations_url":"https://api.github.com/users/CleverRaven/orgs","repos_url":"https://api.github.com/users/CleverRaven/repos","events_url":"https://api.github.com/users/CleverRaven/events{/privacy}","received_events_url":"https://api.github.com/users/CleverRaven/received_events","type":"Organization","site_admin":false},"repo":{"id":5973855,"name":"Cataclysm-DDA","full_name":"CleverRaven/Cataclysm-DDA","owner":{"login":"CleverRaven","id":4367009,"avatar_url":"https://avatars.githubusercontent.com/u/4367009?v=3","gravatar_id":"","url":"https://api.github.com/users/CleverRaven","html_url":"https://github.com/CleverRaven","followers_url":"https://api.github.com/users/CleverRaven/followers","following_url":"https://api.github.com/users/CleverRaven/following{/other_user}","gists_url":"https://api.github.com/users/CleverRaven/gists{/gist_id}","starred_url":"https://api.github.com/users/CleverRaven/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/CleverRaven/subscriptions","organizations_url":"https://api.github.com/users/CleverRaven/orgs","repos_url":"https://api.github.com/users/CleverRaven/repos","events_url":"https://api.github.com/users/CleverRaven/events{/privacy}","received_events_url":"https://api.github.com/users/CleverRaven/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/CleverRaven/Cataclysm-DDA","description":"Cataclysm - Dark Days Ahead. A fork/variant of Cataclysm Roguelike by Whales.","fork":false,"url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA","forks_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/forks","keys_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/keys{/key_id}","collaborators_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/teams","hooks_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/hooks","issue_events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/events{/number}","events_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/events","assignees_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/assignees{/user}","branches_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/branches{/branch}","tags_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/tags","blobs_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/refs{/sha}","trees_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/trees{/sha}","statuses_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/{sha}","languages_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/languages","stargazers_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/stargazers","contributors_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/contributors","subscribers_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/subscribers","subscription_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/subscription","commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/commits{/sha}","git_commits_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/git/commits{/sha}","comments_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/comments{/number}","issue_comment_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/comments{/number}","contents_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/contents/{+path}","compare_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/compare/{base}...{head}","merges_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/merges","archive_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/downloads","issues_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues{/number}","pulls_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls{/number}","milestones_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/milestones{/number}","notifications_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/labels{/name}","releases_url":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/releases{/id}","created_at":"2012-09-26T22:57:43Z","updated_at":"2015-05-23T09:05:22Z","pushed_at":"2015-05-24T05:21:29Z","git_url":"git://github.com/CleverRaven/Cataclysm-DDA.git","ssh_url":"git@github.com:CleverRaven/Cataclysm-DDA.git","clone_url":"https://github.com/CleverRaven/Cataclysm-DDA.git","svn_url":"https://github.com/CleverRaven/Cataclysm-DDA","homepage":"http://en.cataclysmdda.com/","size":540100,"stargazers_count":659,"watchers_count":659,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":702,"mirror_url":null,"open_issues_count":941,"forks":702,"open_issues":941,"watchers":659,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/12314"},"html":{"href":"https://github.com/CleverRaven/Cataclysm-DDA/pull/12314"},"issue":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/12314"},"comments":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/issues/12314/comments"},"review_comments":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/12314/comments"},"review_comment":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/pulls/12314/commits"},"statuses":{"href":"https://api.github.com/repos/CleverRaven/Cataclysm-DDA/statuses/abc8e404fed87a08c623cc8cb48776c4109c8ef1"}}}}