{"action":"created","comment":{"url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/pulls/comments/226398234","pull_request_review_id":166208300,"id":226398234,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIyNjM5ODIzNA==","diff_hunk":"@@ -92,19 +144,118 @@\n     language: 'Elvish',\n   });\n \n+  const hero = new Humanoid({\n+    createdAt: new Date(),\n+    dimensions: {\n+      length: 2,\n+      width: 2,\n+      height: 2,\n+    },\n+    hp: 9999,\n+    name: 'Champion',\n+    faction: 'Knight',\n+    weapons: [\n+      '2H Sword',\n+      'Dart'\n+    ],\n+    language: 'Human',\n+    attack: function(monster, dmg){\n+      monster.hp -= dmg;\n+      if (monster.hp <= 0){\n+        return monster.destroy();\n+      }\n+      return `${this.name} attacks ${monster.name} with a ${this.weapons[0]} and does ${dmg} dmg.`;\n+    },\n+    throw: function(monster, dmg){\n+      monster.hp -= dmg;\n+      if (monster.hp <= 0){\n+        return monster.destroy();\n+      }\n+      return `${this.name} throws a ${this.weapons[1]} at ${monster.name} and does ${dmg} dmg.`;\n+    }\n+  });\n+\n+  const villian = new Humanoid({\n+    createdAt: new Date(),\n+    dimensions: {\n+      length: 3,\n+      width: 3,\n+      height: 3,\n+    },\n+    hp: 200000,\n+    name: 'Dark Lord',\n+    faction: 'Boss',\n+    weapons: [\n+      'Wand'\n+    ],\n+    language: 'All',\n+    cast: function(character, spellName, dmg){","path":"assignments/prototypes.js","position":111,"original_position":111,"commit_id":"3c3e97d8681c2d34032ed4b1808a55a01dde6d64","original_commit_id":"3c3e97d8681c2d34032ed4b1808a55a01dde6d64","user":{"login":"szincone","id":21247406,"node_id":"MDQ6VXNlcjIxMjQ3NDA2","avatar_url":"https://avatars0.githubusercontent.com/u/21247406?v=4","gravatar_id":"","url":"https://api.github.com/users/szincone","html_url":"https://github.com/szincone","followers_url":"https://api.github.com/users/szincone/followers","following_url":"https://api.github.com/users/szincone/following{/other_user}","gists_url":"https://api.github.com/users/szincone/gists{/gist_id}","starred_url":"https://api.github.com/users/szincone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/szincone/subscriptions","organizations_url":"https://api.github.com/users/szincone/orgs","repos_url":"https://api.github.com/users/szincone/repos","events_url":"https://api.github.com/users/szincone/events{/privacy}","received_events_url":"https://api.github.com/users/szincone/received_events","type":"User","site_admin":false},"body":"Very creative. I like the conditionals to check for the destroy.","created_at":"2018-10-18T17:34:16Z","updated_at":"2018-10-18T17:43:44Z","html_url":"https://github.com/LambdaSchool/JavaScript-III/pull/406#discussion_r226398234","pull_request_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/pulls/406","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/LambdaSchool/JavaScript-III/pulls/comments/226398234"},"html":{"href":"https://github.com/LambdaSchool/JavaScript-III/pull/406#discussion_r226398234"},"pull_request":{"href":"https://api.github.com/repos/LambdaSchool/JavaScript-III/pulls/406"}}},"pull_request":{"url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/pulls/406","id":223728483,"node_id":"MDExOlB1bGxSZXF1ZXN0MjIzNzI4NDgz","html_url":"https://github.com/LambdaSchool/JavaScript-III/pull/406","diff_url":"https://github.com/LambdaSchool/JavaScript-III/pull/406.diff","patch_url":"https://github.com/LambdaSchool/JavaScript-III/pull/406.patch","issue_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/issues/406","number":406,"state":"open","locked":false,"title":"James Page: Stretch Complete","user":{"login":"jamespagedev","id":43793595,"node_id":"MDQ6VXNlcjQzNzkzNTk1","avatar_url":"https://avatars0.githubusercontent.com/u/43793595?v=4","gravatar_id":"","url":"https://api.github.com/users/jamespagedev","html_url":"https://github.com/jamespagedev","followers_url":"https://api.github.com/users/jamespagedev/followers","following_url":"https://api.github.com/users/jamespagedev/following{/other_user}","gists_url":"https://api.github.com/users/jamespagedev/gists{/gist_id}","starred_url":"https://api.github.com/users/jamespagedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamespagedev/subscriptions","organizations_url":"https://api.github.com/users/jamespagedev/orgs","repos_url":"https://api.github.com/users/jamespagedev/repos","events_url":"https://api.github.com/users/jamespagedev/events{/privacy}","received_events_url":"https://api.github.com/users/jamespagedev/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-10-17T19:36:24Z","updated_at":"2018-10-18T17:43:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"37a4b9460681672aac650a97b5aa7b2481b4a285","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/pulls/406/commits","review_comments_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/pulls/406/comments","review_comment_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/pulls/comments{/number}","comments_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/issues/406/comments","statuses_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/statuses/3c3e97d8681c2d34032ed4b1808a55a01dde6d64","head":{"label":"jamespagedev:master","ref":"master","sha":"3c3e97d8681c2d34032ed4b1808a55a01dde6d64","user":{"login":"jamespagedev","id":43793595,"node_id":"MDQ6VXNlcjQzNzkzNTk1","avatar_url":"https://avatars0.githubusercontent.com/u/43793595?v=4","gravatar_id":"","url":"https://api.github.com/users/jamespagedev","html_url":"https://github.com/jamespagedev","followers_url":"https://api.github.com/users/jamespagedev/followers","following_url":"https://api.github.com/users/jamespagedev/following{/other_user}","gists_url":"https://api.github.com/users/jamespagedev/gists{/gist_id}","starred_url":"https://api.github.com/users/jamespagedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamespagedev/subscriptions","organizations_url":"https://api.github.com/users/jamespagedev/orgs","repos_url":"https://api.github.com/users/jamespagedev/repos","events_url":"https://api.github.com/users/jamespagedev/events{/privacy}","received_events_url":"https://api.github.com/users/jamespagedev/received_events","type":"User","site_admin":false},"repo":{"id":153502838,"node_id":"MDEwOlJlcG9zaXRvcnkxNTM1MDI4Mzg=","name":"JavaScript-III","full_name":"jamespagedev/JavaScript-III","private":false,"owner":{"login":"jamespagedev","id":43793595,"node_id":"MDQ6VXNlcjQzNzkzNTk1","avatar_url":"https://avatars0.githubusercontent.com/u/43793595?v=4","gravatar_id":"","url":"https://api.github.com/users/jamespagedev","html_url":"https://github.com/jamespagedev","followers_url":"https://api.github.com/users/jamespagedev/followers","following_url":"https://api.github.com/users/jamespagedev/following{/other_user}","gists_url":"https://api.github.com/users/jamespagedev/gists{/gist_id}","starred_url":"https://api.github.com/users/jamespagedev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jamespagedev/subscriptions","organizations_url":"https://api.github.com/users/jamespagedev/orgs","repos_url":"https://api.github.com/users/jamespagedev/repos","events_url":"https://api.github.com/users/jamespagedev/events{/privacy}","received_events_url":"https://api.github.com/users/jamespagedev/received_events","type":"User","site_admin":false},"html_url":"https://github.com/jamespagedev/JavaScript-III","description":null,"fork":true,"url":"https://api.github.com/repos/jamespagedev/JavaScript-III","forks_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/forks","keys_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/teams","hooks_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/hooks","issue_events_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/issues/events{/number}","events_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/events","assignees_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/assignees{/user}","branches_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/branches{/branch}","tags_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/tags","blobs_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/git/refs{/sha}","trees_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/statuses/{sha}","languages_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/languages","stargazers_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/stargazers","contributors_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/contributors","subscribers_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/subscribers","subscription_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/subscription","commits_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/commits{/sha}","git_commits_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/git/commits{/sha}","comments_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/comments{/number}","issue_comment_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/issues/comments{/number}","contents_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/contents/{+path}","compare_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/merges","archive_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/downloads","issues_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/issues{/number}","pulls_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/pulls{/number}","milestones_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/milestones{/number}","notifications_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/labels{/name}","releases_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/releases{/id}","deployments_url":"https://api.github.com/repos/jamespagedev/JavaScript-III/deployments","created_at":"2018-10-17T18:13:20Z","updated_at":"2018-10-18T04:51:51Z","pushed_at":"2018-10-18T04:51:49Z","git_url":"git://github.com/jamespagedev/JavaScript-III.git","ssh_url":"git@github.com:jamespagedev/JavaScript-III.git","clone_url":"https://github.com/jamespagedev/JavaScript-III.git","svn_url":"https://github.com/jamespagedev/JavaScript-III","homepage":null,"size":17,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"LambdaSchool:master","ref":"master","sha":"dfb8ceebacc5c0aab466a1aa8fd7b66da3035812","user":{"login":"LambdaSchool","id":24780114,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NzgwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/24780114?v=4","gravatar_id":"","url":"https://api.github.com/users/LambdaSchool","html_url":"https://github.com/LambdaSchool","followers_url":"https://api.github.com/users/LambdaSchool/followers","following_url":"https://api.github.com/users/LambdaSchool/following{/other_user}","gists_url":"https://api.github.com/users/LambdaSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/LambdaSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LambdaSchool/subscriptions","organizations_url":"https://api.github.com/users/LambdaSchool/orgs","repos_url":"https://api.github.com/users/LambdaSchool/repos","events_url":"https://api.github.com/users/LambdaSchool/events{/privacy}","received_events_url":"https://api.github.com/users/LambdaSchool/received_events","type":"Organization","site_admin":false},"repo":{"id":128838726,"node_id":"MDEwOlJlcG9zaXRvcnkxMjg4Mzg3MjY=","name":"JavaScript-III","full_name":"LambdaSchool/JavaScript-III","private":false,"owner":{"login":"LambdaSchool","id":24780114,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI0NzgwMTE0","avatar_url":"https://avatars1.githubusercontent.com/u/24780114?v=4","gravatar_id":"","url":"https://api.github.com/users/LambdaSchool","html_url":"https://github.com/LambdaSchool","followers_url":"https://api.github.com/users/LambdaSchool/followers","following_url":"https://api.github.com/users/LambdaSchool/following{/other_user}","gists_url":"https://api.github.com/users/LambdaSchool/gists{/gist_id}","starred_url":"https://api.github.com/users/LambdaSchool/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LambdaSchool/subscriptions","organizations_url":"https://api.github.com/users/LambdaSchool/orgs","repos_url":"https://api.github.com/users/LambdaSchool/repos","events_url":"https://api.github.com/users/LambdaSchool/events{/privacy}","received_events_url":"https://api.github.com/users/LambdaSchool/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/LambdaSchool/JavaScript-III","description":null,"fork":false,"url":"https://api.github.com/repos/LambdaSchool/JavaScript-III","forks_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/forks","keys_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/keys{/key_id}","collaborators_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/teams","hooks_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/hooks","issue_events_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/issues/events{/number}","events_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/events","assignees_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/assignees{/user}","branches_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/branches{/branch}","tags_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/tags","blobs_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/git/refs{/sha}","trees_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/git/trees{/sha}","statuses_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/statuses/{sha}","languages_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/languages","stargazers_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/stargazers","contributors_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/contributors","subscribers_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/subscribers","subscription_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/subscription","commits_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/commits{/sha}","git_commits_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/git/commits{/sha}","comments_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/comments{/number}","issue_comment_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/issues/comments{/number}","contents_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/contents/{+path}","compare_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/compare/{base}...{head}","merges_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/merges","archive_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/downloads","issues_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/issues{/number}","pulls_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/pulls{/number}","milestones_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/milestones{/number}","notifications_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/labels{/name}","releases_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/releases{/id}","deployments_url":"https://api.github.com/repos/LambdaSchool/JavaScript-III/deployments","created_at":"2018-04-09T21:59:49Z","updated_at":"2018-10-17T15:58:33Z","pushed_at":"2018-10-18T14:17:49Z","git_url":"git://github.com/LambdaSchool/JavaScript-III.git","ssh_url":"git@github.com:LambdaSchool/JavaScript-III.git","clone_url":"https://github.com/LambdaSchool/JavaScript-III.git","svn_url":"https://github.com/LambdaSchool/JavaScript-III","homepage":null,"size":4,"stargazers_count":1,"watchers_count":1,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":482,"mirror_url":null,"archived":false,"open_issues_count":399,"license":null,"forks":482,"open_issues":399,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/LambdaSchool/JavaScript-III/pulls/406"},"html":{"href":"https://github.com/LambdaSchool/JavaScript-III/pull/406"},"issue":{"href":"https://api.github.com/repos/LambdaSchool/JavaScript-III/issues/406"},"comments":{"href":"https://api.github.com/repos/LambdaSchool/JavaScript-III/issues/406/comments"},"review_comments":{"href":"https://api.github.com/repos/LambdaSchool/JavaScript-III/pulls/406/comments"},"review_comment":{"href":"https://api.github.com/repos/LambdaSchool/JavaScript-III/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/LambdaSchool/JavaScript-III/pulls/406/commits"},"statuses":{"href":"https://api.github.com/repos/LambdaSchool/JavaScript-III/statuses/3c3e97d8681c2d34032ed4b1808a55a01dde6d64"}},"author_association":"NONE"}}
{"actor":{"display_login":"szincone"}}