{"action":"created","comment":{"url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/comments/100942384","pull_request_review_id":21659114,"id":100942384,"diff_hunk":"@@ -1102,7 +1102,19 @@ class ManipulateProcess\n \n   def manipulate\n     bput('manip stop all', 'You relax your will', 'But you aren')\n-    bput(\"manipulate friendship #{@filtered_npcs.first}\",  'You attempt to empathically manipulate', 'You strain')\n+    @manipulate_count = 0\n+\n+    @filtered_npcs.each_with_index { |npc, index|\n+      if @manipulate_count >= @threshold","path":"combat-trainer.lic","position":8,"original_position":8,"commit_id":"f6d03bb432212f7e5ae2f67876a4a619054b99cf","original_commit_id":"f6d03bb432212f7e5ae2f67876a4a619054b99cf","user":{"login":"rpherbig","id":1181607,"avatar_url":"https://avatars.githubusercontent.com/u/1181607?v=3","gravatar_id":"","url":"https://api.github.com/users/rpherbig","html_url":"https://github.com/rpherbig","followers_url":"https://api.github.com/users/rpherbig/followers","following_url":"https://api.github.com/users/rpherbig/following{/other_user}","gists_url":"https://api.github.com/users/rpherbig/gists{/gist_id}","starred_url":"https://api.github.com/users/rpherbig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpherbig/subscriptions","organizations_url":"https://api.github.com/users/rpherbig/orgs","repos_url":"https://api.github.com/users/rpherbig/repos","events_url":"https://api.github.com/users/rpherbig/events{/privacy}","received_events_url":"https://api.github.com/users/rpherbig/received_events","type":"User","site_admin":false},"body":"You can make this a one-liner: `break if @manipulate_count >= @threshold` (or `break unless @manipulate_count < @threshold` if you think that reads better).","created_at":"2017-02-14T01:31:21Z","updated_at":"2017-02-14T01:31:21Z","html_url":"https://github.com/rpherbig/dr-scripts/pull/1356#discussion_r100942384","pull_request_url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1356","_links":{"self":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/comments/100942384"},"html":{"href":"https://github.com/rpherbig/dr-scripts/pull/1356#discussion_r100942384"},"pull_request":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1356"}}},"pull_request":{"url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1356","id":105489352,"html_url":"https://github.com/rpherbig/dr-scripts/pull/1356","diff_url":"https://github.com/rpherbig/dr-scripts/pull/1356.diff","patch_url":"https://github.com/rpherbig/dr-scripts/pull/1356.patch","issue_url":"https://api.github.com/repos/rpherbig/dr-scripts/issues/1356","number":1356,"state":"open","locked":false,"title":"Manipulate Multiple Enemy NPCs","user":{"login":"ohbeanz","id":12222884,"avatar_url":"https://avatars.githubusercontent.com/u/12222884?v=3","gravatar_id":"","url":"https://api.github.com/users/ohbeanz","html_url":"https://github.com/ohbeanz","followers_url":"https://api.github.com/users/ohbeanz/followers","following_url":"https://api.github.com/users/ohbeanz/following{/other_user}","gists_url":"https://api.github.com/users/ohbeanz/gists{/gist_id}","starred_url":"https://api.github.com/users/ohbeanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohbeanz/subscriptions","organizations_url":"https://api.github.com/users/ohbeanz/orgs","repos_url":"https://api.github.com/users/ohbeanz/repos","events_url":"https://api.github.com/users/ohbeanz/events{/privacy}","received_events_url":"https://api.github.com/users/ohbeanz/received_events","type":"User","site_admin":false},"body":"Potential fix for Issue #1326 ","created_at":"2017-02-09T18:48:40Z","updated_at":"2017-02-14T01:31:21Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5dfbc125cbb98c0fdafdd6583c9c4b0dc579ea8e","assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/rpherbig/dr-scripts/milestones/8","html_url":"https://github.com/rpherbig/dr-scripts/milestone/8","labels_url":"https://api.github.com/repos/rpherbig/dr-scripts/milestones/8/labels","id":2009482,"number":8,"title":"v8","description":"","creator":{"login":"rpherbig","id":1181607,"avatar_url":"https://avatars.githubusercontent.com/u/1181607?v=3","gravatar_id":"","url":"https://api.github.com/users/rpherbig","html_url":"https://github.com/rpherbig","followers_url":"https://api.github.com/users/rpherbig/followers","following_url":"https://api.github.com/users/rpherbig/following{/other_user}","gists_url":"https://api.github.com/users/rpherbig/gists{/gist_id}","starred_url":"https://api.github.com/users/rpherbig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpherbig/subscriptions","organizations_url":"https://api.github.com/users/rpherbig/orgs","repos_url":"https://api.github.com/users/rpherbig/repos","events_url":"https://api.github.com/users/rpherbig/events{/privacy}","received_events_url":"https://api.github.com/users/rpherbig/received_events","type":"User","site_admin":false},"open_issues":119,"closed_issues":488,"state":"open","created_at":"2016-09-16T15:57:38Z","updated_at":"2017-02-12T21:10:18Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1356/commits","review_comments_url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1356/comments","review_comment_url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rpherbig/dr-scripts/issues/1356/comments","statuses_url":"https://api.github.com/repos/rpherbig/dr-scripts/statuses/f6d03bb432212f7e5ae2f67876a4a619054b99cf","head":{"label":"ohbeanz:master","ref":"master","sha":"f6d03bb432212f7e5ae2f67876a4a619054b99cf","user":{"login":"ohbeanz","id":12222884,"avatar_url":"https://avatars.githubusercontent.com/u/12222884?v=3","gravatar_id":"","url":"https://api.github.com/users/ohbeanz","html_url":"https://github.com/ohbeanz","followers_url":"https://api.github.com/users/ohbeanz/followers","following_url":"https://api.github.com/users/ohbeanz/following{/other_user}","gists_url":"https://api.github.com/users/ohbeanz/gists{/gist_id}","starred_url":"https://api.github.com/users/ohbeanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohbeanz/subscriptions","organizations_url":"https://api.github.com/users/ohbeanz/orgs","repos_url":"https://api.github.com/users/ohbeanz/repos","events_url":"https://api.github.com/users/ohbeanz/events{/privacy}","received_events_url":"https://api.github.com/users/ohbeanz/received_events","type":"User","site_admin":false},"repo":{"id":66318080,"name":"dr-scripts","full_name":"ohbeanz/dr-scripts","owner":{"login":"ohbeanz","id":12222884,"avatar_url":"https://avatars.githubusercontent.com/u/12222884?v=3","gravatar_id":"","url":"https://api.github.com/users/ohbeanz","html_url":"https://github.com/ohbeanz","followers_url":"https://api.github.com/users/ohbeanz/followers","following_url":"https://api.github.com/users/ohbeanz/following{/other_user}","gists_url":"https://api.github.com/users/ohbeanz/gists{/gist_id}","starred_url":"https://api.github.com/users/ohbeanz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ohbeanz/subscriptions","organizations_url":"https://api.github.com/users/ohbeanz/orgs","repos_url":"https://api.github.com/users/ohbeanz/repos","events_url":"https://api.github.com/users/ohbeanz/events{/privacy}","received_events_url":"https://api.github.com/users/ohbeanz/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/ohbeanz/dr-scripts","description":"A series of Lich (https://lichproject.org/) scripts for use in DragonRealms (http://www.play.net/dr/).","fork":true,"url":"https://api.github.com/repos/ohbeanz/dr-scripts","forks_url":"https://api.github.com/repos/ohbeanz/dr-scripts/forks","keys_url":"https://api.github.com/repos/ohbeanz/dr-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ohbeanz/dr-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ohbeanz/dr-scripts/teams","hooks_url":"https://api.github.com/repos/ohbeanz/dr-scripts/hooks","issue_events_url":"https://api.github.com/repos/ohbeanz/dr-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/ohbeanz/dr-scripts/events","assignees_url":"https://api.github.com/repos/ohbeanz/dr-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/ohbeanz/dr-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/ohbeanz/dr-scripts/tags","blobs_url":"https://api.github.com/repos/ohbeanz/dr-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ohbeanz/dr-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ohbeanz/dr-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/ohbeanz/dr-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ohbeanz/dr-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/ohbeanz/dr-scripts/languages","stargazers_url":"https://api.github.com/repos/ohbeanz/dr-scripts/stargazers","contributors_url":"https://api.github.com/repos/ohbeanz/dr-scripts/contributors","subscribers_url":"https://api.github.com/repos/ohbeanz/dr-scripts/subscribers","subscription_url":"https://api.github.com/repos/ohbeanz/dr-scripts/subscription","commits_url":"https://api.github.com/repos/ohbeanz/dr-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/ohbeanz/dr-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/ohbeanz/dr-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/ohbeanz/dr-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/ohbeanz/dr-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/ohbeanz/dr-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ohbeanz/dr-scripts/merges","archive_url":"https://api.github.com/repos/ohbeanz/dr-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ohbeanz/dr-scripts/downloads","issues_url":"https://api.github.com/repos/ohbeanz/dr-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/ohbeanz/dr-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/ohbeanz/dr-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/ohbeanz/dr-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ohbeanz/dr-scripts/labels{/name}","releases_url":"https://api.github.com/repos/ohbeanz/dr-scripts/releases{/id}","deployments_url":"https://api.github.com/repos/ohbeanz/dr-scripts/deployments","created_at":"2016-08-23T00:25:42Z","updated_at":"2016-08-23T00:25:44Z","pushed_at":"2017-02-09T18:47:29Z","git_url":"git://github.com/ohbeanz/dr-scripts.git","ssh_url":"git@github.com:ohbeanz/dr-scripts.git","clone_url":"https://github.com/ohbeanz/dr-scripts.git","svn_url":"https://github.com/ohbeanz/dr-scripts","homepage":"","size":5303,"stargazers_count":0,"watchers_count":0,"language":"Ruby","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":"rpherbig:master","ref":"master","sha":"aeb0754e62d32587223c501df4d5aa251afcc78f","user":{"login":"rpherbig","id":1181607,"avatar_url":"https://avatars.githubusercontent.com/u/1181607?v=3","gravatar_id":"","url":"https://api.github.com/users/rpherbig","html_url":"https://github.com/rpherbig","followers_url":"https://api.github.com/users/rpherbig/followers","following_url":"https://api.github.com/users/rpherbig/following{/other_user}","gists_url":"https://api.github.com/users/rpherbig/gists{/gist_id}","starred_url":"https://api.github.com/users/rpherbig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpherbig/subscriptions","organizations_url":"https://api.github.com/users/rpherbig/orgs","repos_url":"https://api.github.com/users/rpherbig/repos","events_url":"https://api.github.com/users/rpherbig/events{/privacy}","received_events_url":"https://api.github.com/users/rpherbig/received_events","type":"User","site_admin":false},"repo":{"id":44390324,"name":"dr-scripts","full_name":"rpherbig/dr-scripts","owner":{"login":"rpherbig","id":1181607,"avatar_url":"https://avatars.githubusercontent.com/u/1181607?v=3","gravatar_id":"","url":"https://api.github.com/users/rpherbig","html_url":"https://github.com/rpherbig","followers_url":"https://api.github.com/users/rpherbig/followers","following_url":"https://api.github.com/users/rpherbig/following{/other_user}","gists_url":"https://api.github.com/users/rpherbig/gists{/gist_id}","starred_url":"https://api.github.com/users/rpherbig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpherbig/subscriptions","organizations_url":"https://api.github.com/users/rpherbig/orgs","repos_url":"https://api.github.com/users/rpherbig/repos","events_url":"https://api.github.com/users/rpherbig/events{/privacy}","received_events_url":"https://api.github.com/users/rpherbig/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/rpherbig/dr-scripts","description":"A series of Lich (https://lichproject.org/) scripts for use in DragonRealms (http://www.play.net/dr/). Donations are welcome (http://www.paypal.me/rcuhljr)!","fork":false,"url":"https://api.github.com/repos/rpherbig/dr-scripts","forks_url":"https://api.github.com/repos/rpherbig/dr-scripts/forks","keys_url":"https://api.github.com/repos/rpherbig/dr-scripts/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rpherbig/dr-scripts/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rpherbig/dr-scripts/teams","hooks_url":"https://api.github.com/repos/rpherbig/dr-scripts/hooks","issue_events_url":"https://api.github.com/repos/rpherbig/dr-scripts/issues/events{/number}","events_url":"https://api.github.com/repos/rpherbig/dr-scripts/events","assignees_url":"https://api.github.com/repos/rpherbig/dr-scripts/assignees{/user}","branches_url":"https://api.github.com/repos/rpherbig/dr-scripts/branches{/branch}","tags_url":"https://api.github.com/repos/rpherbig/dr-scripts/tags","blobs_url":"https://api.github.com/repos/rpherbig/dr-scripts/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rpherbig/dr-scripts/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rpherbig/dr-scripts/git/refs{/sha}","trees_url":"https://api.github.com/repos/rpherbig/dr-scripts/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rpherbig/dr-scripts/statuses/{sha}","languages_url":"https://api.github.com/repos/rpherbig/dr-scripts/languages","stargazers_url":"https://api.github.com/repos/rpherbig/dr-scripts/stargazers","contributors_url":"https://api.github.com/repos/rpherbig/dr-scripts/contributors","subscribers_url":"https://api.github.com/repos/rpherbig/dr-scripts/subscribers","subscription_url":"https://api.github.com/repos/rpherbig/dr-scripts/subscription","commits_url":"https://api.github.com/repos/rpherbig/dr-scripts/commits{/sha}","git_commits_url":"https://api.github.com/repos/rpherbig/dr-scripts/git/commits{/sha}","comments_url":"https://api.github.com/repos/rpherbig/dr-scripts/comments{/number}","issue_comment_url":"https://api.github.com/repos/rpherbig/dr-scripts/issues/comments{/number}","contents_url":"https://api.github.com/repos/rpherbig/dr-scripts/contents/{+path}","compare_url":"https://api.github.com/repos/rpherbig/dr-scripts/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rpherbig/dr-scripts/merges","archive_url":"https://api.github.com/repos/rpherbig/dr-scripts/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rpherbig/dr-scripts/downloads","issues_url":"https://api.github.com/repos/rpherbig/dr-scripts/issues{/number}","pulls_url":"https://api.github.com/repos/rpherbig/dr-scripts/pulls{/number}","milestones_url":"https://api.github.com/repos/rpherbig/dr-scripts/milestones{/number}","notifications_url":"https://api.github.com/repos/rpherbig/dr-scripts/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rpherbig/dr-scripts/labels{/name}","releases_url":"https://api.github.com/repos/rpherbig/dr-scripts/releases{/id}","deployments_url":"https://api.github.com/repos/rpherbig/dr-scripts/deployments","created_at":"2015-10-16T14:28:28Z","updated_at":"2017-01-15T05:26:57Z","pushed_at":"2017-02-13T22:07:02Z","git_url":"git://github.com/rpherbig/dr-scripts.git","ssh_url":"git@github.com:rpherbig/dr-scripts.git","clone_url":"https://github.com/rpherbig/dr-scripts.git","svn_url":"https://github.com/rpherbig/dr-scripts","homepage":"","size":5325,"stargazers_count":14,"watchers_count":14,"language":"Ruby","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":29,"mirror_url":null,"open_issues_count":203,"forks":29,"open_issues":203,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1356"},"html":{"href":"https://github.com/rpherbig/dr-scripts/pull/1356"},"issue":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/issues/1356"},"comments":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/issues/1356/comments"},"review_comments":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1356/comments"},"review_comment":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/pulls/1356/commits"},"statuses":{"href":"https://api.github.com/repos/rpherbig/dr-scripts/statuses/f6d03bb432212f7e5ae2f67876a4a619054b99cf"}}}}
{"actor":{"display_login":"rpherbig"}}