{"action":"created","comment":{"url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/pulls/comments/64470948","id":64470948,"diff_hunk":"@@ -421,16 +428,31 @@ function check_incoming_chunk(id, original, modified, injected, blocked)\n             if current.monster == false and fish:with('bite_id', current.bite_id) then\n                 current.key = original:sub(21)\n                 stats.bites = stats.bites + 1\n-                local delay = fish:with('bite_id', current.bite_id).delay\n-                message(2, 'catching fish in %d seconds':format(delay))\n-                windower.send_command('wait %d; lua i fisher catch %d':format(delay, stats.casts))\n+                local delay \n+\t\t\t\tif settings.random then\n+\t\t\t\t\tif math.random() < 0.5 then","path":"fisher.lua","position":34,"original_position":34,"commit_id":"ffc71523350f014be8c1d4e0e09de84f73f9c729","original_commit_id":"ffc71523350f014be8c1d4e0e09de84f73f9c729","user":{"login":"svanheulen","id":533741,"avatar_url":"https://avatars.githubusercontent.com/u/533741?v=3","gravatar_id":"","url":"https://api.github.com/users/svanheulen","html_url":"https://github.com/svanheulen","followers_url":"https://api.github.com/users/svanheulen/followers","following_url":"https://api.github.com/users/svanheulen/following{/other_user}","gists_url":"https://api.github.com/users/svanheulen/gists{/gist_id}","starred_url":"https://api.github.com/users/svanheulen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svanheulen/subscriptions","organizations_url":"https://api.github.com/users/svanheulen/orgs","repos_url":"https://api.github.com/users/svanheulen/repos","events_url":"https://api.github.com/users/svanheulen/events{/privacy}","received_events_url":"https://api.github.com/users/svanheulen/received_events","type":"User","site_admin":false},"body":"Oops, nevermind, that would only give you a range of -0.5 to 0.5. You could always do `1.0 - math.random() * 2` which wouldn't give the same precision but in reality I doubt you could notice the difference.","created_at":"2016-05-24T20:46:37Z","updated_at":"2016-05-24T20:46:37Z","html_url":"https://github.com/svanheulen/fisher-windower-addon/pull/13#discussion_r64470948","pull_request_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/pulls/13","_links":{"self":{"href":"https://api.github.com/repos/svanheulen/fisher-windower-addon/pulls/comments/64470948"},"html":{"href":"https://github.com/svanheulen/fisher-windower-addon/pull/13#discussion_r64470948"},"pull_request":{"href":"https://api.github.com/repos/svanheulen/fisher-windower-addon/pulls/13"}}},"pull_request":{"url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/pulls/13","id":71125280,"html_url":"https://github.com/svanheulen/fisher-windower-addon/pull/13","diff_url":"https://github.com/svanheulen/fisher-windower-addon/pull/13.diff","patch_url":"https://github.com/svanheulen/fisher-windower-addon/pull/13.patch","issue_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/issues/13","number":13,"state":"open","locked":false,"title":"Random catch, release, and cast times","user":{"login":"Inuyushi","id":4851116,"avatar_url":"https://avatars.githubusercontent.com/u/4851116?v=3","gravatar_id":"","url":"https://api.github.com/users/Inuyushi","html_url":"https://github.com/Inuyushi","followers_url":"https://api.github.com/users/Inuyushi/followers","following_url":"https://api.github.com/users/Inuyushi/following{/other_user}","gists_url":"https://api.github.com/users/Inuyushi/gists{/gist_id}","starred_url":"https://api.github.com/users/Inuyushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Inuyushi/subscriptions","organizations_url":"https://api.github.com/users/Inuyushi/orgs","repos_url":"https://api.github.com/users/Inuyushi/repos","events_url":"https://api.github.com/users/Inuyushi/events{/privacy}","received_events_url":"https://api.github.com/users/Inuyushi/received_events","type":"User","site_admin":false},"body":"Added random catch, release, and cast times with an option to turn on/off the randomization","created_at":"2016-05-23T21:41:00Z","updated_at":"2016-05-24T20:46:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"4e88968996dd75ce4ee8784bf8e4f599a077e154","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/pulls/13/commits","review_comments_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/pulls/13/comments","review_comment_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/pulls/comments{/number}","comments_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/issues/13/comments","statuses_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/statuses/ffc71523350f014be8c1d4e0e09de84f73f9c729","head":{"label":"Inuyushi:master","ref":"master","sha":"ffc71523350f014be8c1d4e0e09de84f73f9c729","user":{"login":"Inuyushi","id":4851116,"avatar_url":"https://avatars.githubusercontent.com/u/4851116?v=3","gravatar_id":"","url":"https://api.github.com/users/Inuyushi","html_url":"https://github.com/Inuyushi","followers_url":"https://api.github.com/users/Inuyushi/followers","following_url":"https://api.github.com/users/Inuyushi/following{/other_user}","gists_url":"https://api.github.com/users/Inuyushi/gists{/gist_id}","starred_url":"https://api.github.com/users/Inuyushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Inuyushi/subscriptions","organizations_url":"https://api.github.com/users/Inuyushi/orgs","repos_url":"https://api.github.com/users/Inuyushi/repos","events_url":"https://api.github.com/users/Inuyushi/events{/privacy}","received_events_url":"https://api.github.com/users/Inuyushi/received_events","type":"User","site_admin":false},"repo":{"id":59519929,"name":"fisher-windower-addon","full_name":"Inuyushi/fisher-windower-addon","owner":{"login":"Inuyushi","id":4851116,"avatar_url":"https://avatars.githubusercontent.com/u/4851116?v=3","gravatar_id":"","url":"https://api.github.com/users/Inuyushi","html_url":"https://github.com/Inuyushi","followers_url":"https://api.github.com/users/Inuyushi/followers","following_url":"https://api.github.com/users/Inuyushi/following{/other_user}","gists_url":"https://api.github.com/users/Inuyushi/gists{/gist_id}","starred_url":"https://api.github.com/users/Inuyushi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Inuyushi/subscriptions","organizations_url":"https://api.github.com/users/Inuyushi/orgs","repos_url":"https://api.github.com/users/Inuyushi/repos","events_url":"https://api.github.com/users/Inuyushi/events{/privacy}","received_events_url":"https://api.github.com/users/Inuyushi/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Inuyushi/fisher-windower-addon","description":"A fishing addon for Windower","fork":true,"url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon","forks_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/forks","keys_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/teams","hooks_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/hooks","issue_events_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/issues/events{/number}","events_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/events","assignees_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/assignees{/user}","branches_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/branches{/branch}","tags_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/tags","blobs_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/git/refs{/sha}","trees_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/statuses/{sha}","languages_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/languages","stargazers_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/stargazers","contributors_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/contributors","subscribers_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/subscribers","subscription_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/subscription","commits_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/commits{/sha}","git_commits_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/git/commits{/sha}","comments_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/comments{/number}","issue_comment_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/issues/comments{/number}","contents_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/contents/{+path}","compare_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/merges","archive_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/downloads","issues_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/issues{/number}","pulls_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/pulls{/number}","milestones_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/milestones{/number}","notifications_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/labels{/name}","releases_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/releases{/id}","deployments_url":"https://api.github.com/repos/Inuyushi/fisher-windower-addon/deployments","created_at":"2016-05-23T21:34:54Z","updated_at":"2016-05-23T21:34:55Z","pushed_at":"2016-05-24T18:37:03Z","git_url":"git://github.com/Inuyushi/fisher-windower-addon.git","ssh_url":"git@github.com:Inuyushi/fisher-windower-addon.git","clone_url":"https://github.com/Inuyushi/fisher-windower-addon.git","svn_url":"https://github.com/Inuyushi/fisher-windower-addon","homepage":null,"size":115,"stargazers_count":0,"watchers_count":0,"language":"Lua","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":"svanheulen:master","ref":"master","sha":"c9e54e2dd0244f43bb97e8a061d45eb8e279ca0f","user":{"login":"svanheulen","id":533741,"avatar_url":"https://avatars.githubusercontent.com/u/533741?v=3","gravatar_id":"","url":"https://api.github.com/users/svanheulen","html_url":"https://github.com/svanheulen","followers_url":"https://api.github.com/users/svanheulen/followers","following_url":"https://api.github.com/users/svanheulen/following{/other_user}","gists_url":"https://api.github.com/users/svanheulen/gists{/gist_id}","starred_url":"https://api.github.com/users/svanheulen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svanheulen/subscriptions","organizations_url":"https://api.github.com/users/svanheulen/orgs","repos_url":"https://api.github.com/users/svanheulen/repos","events_url":"https://api.github.com/users/svanheulen/events{/privacy}","received_events_url":"https://api.github.com/users/svanheulen/received_events","type":"User","site_admin":false},"repo":{"id":17894473,"name":"fisher-windower-addon","full_name":"svanheulen/fisher-windower-addon","owner":{"login":"svanheulen","id":533741,"avatar_url":"https://avatars.githubusercontent.com/u/533741?v=3","gravatar_id":"","url":"https://api.github.com/users/svanheulen","html_url":"https://github.com/svanheulen","followers_url":"https://api.github.com/users/svanheulen/followers","following_url":"https://api.github.com/users/svanheulen/following{/other_user}","gists_url":"https://api.github.com/users/svanheulen/gists{/gist_id}","starred_url":"https://api.github.com/users/svanheulen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/svanheulen/subscriptions","organizations_url":"https://api.github.com/users/svanheulen/orgs","repos_url":"https://api.github.com/users/svanheulen/repos","events_url":"https://api.github.com/users/svanheulen/events{/privacy}","received_events_url":"https://api.github.com/users/svanheulen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/svanheulen/fisher-windower-addon","description":"A fishing addon for Windower","fork":false,"url":"https://api.github.com/repos/svanheulen/fisher-windower-addon","forks_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/forks","keys_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/keys{/key_id}","collaborators_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/teams","hooks_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/hooks","issue_events_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/issues/events{/number}","events_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/events","assignees_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/assignees{/user}","branches_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/branches{/branch}","tags_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/tags","blobs_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/git/refs{/sha}","trees_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/git/trees{/sha}","statuses_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/statuses/{sha}","languages_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/languages","stargazers_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/stargazers","contributors_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/contributors","subscribers_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/subscribers","subscription_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/subscription","commits_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/commits{/sha}","git_commits_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/git/commits{/sha}","comments_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/comments{/number}","issue_comment_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/issues/comments{/number}","contents_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/contents/{+path}","compare_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/compare/{base}...{head}","merges_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/merges","archive_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/downloads","issues_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/issues{/number}","pulls_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/pulls{/number}","milestones_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/milestones{/number}","notifications_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/labels{/name}","releases_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/releases{/id}","deployments_url":"https://api.github.com/repos/svanheulen/fisher-windower-addon/deployments","created_at":"2014-03-19T06:29:53Z","updated_at":"2016-04-23T18:11:14Z","pushed_at":"2016-05-24T18:37:03Z","git_url":"git://github.com/svanheulen/fisher-windower-addon.git","ssh_url":"git@github.com:svanheulen/fisher-windower-addon.git","clone_url":"https://github.com/svanheulen/fisher-windower-addon.git","svn_url":"https://github.com/svanheulen/fisher-windower-addon","homepage":null,"size":113,"stargazers_count":1,"watchers_count":1,"language":"Lua","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":6,"mirror_url":null,"open_issues_count":2,"forks":6,"open_issues":2,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/svanheulen/fisher-windower-addon/pulls/13"},"html":{"href":"https://github.com/svanheulen/fisher-windower-addon/pull/13"},"issue":{"href":"https://api.github.com/repos/svanheulen/fisher-windower-addon/issues/13"},"comments":{"href":"https://api.github.com/repos/svanheulen/fisher-windower-addon/issues/13/comments"},"review_comments":{"href":"https://api.github.com/repos/svanheulen/fisher-windower-addon/pulls/13/comments"},"review_comment":{"href":"https://api.github.com/repos/svanheulen/fisher-windower-addon/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/svanheulen/fisher-windower-addon/pulls/13/commits"},"statuses":{"href":"https://api.github.com/repos/svanheulen/fisher-windower-addon/statuses/ffc71523350f014be8c1d4e0e09de84f73f9c729"}}}}
{"actor":{"display_login":"svanheulen"}}