{"action":"created","comment":{"url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/pulls/comments/232589182","pull_request_review_id":173816742,"id":232589182,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIzMjU4OTE4Mg==","diff_hunk":"@@ -0,0 +1,75 @@\n+import React from 'react';\n+\n+import SPELLS from 'common/SPELLS/index';\n+import ITEMS from 'common/ITEMS/index';\n+import { formatPercentage } from 'common/format';\n+import { calculatePrimaryStat } from 'common/stats';\n+\n+import Analyzer from 'parser/core/Analyzer';\n+import Abilities from 'parser/shared/modules/Abilities';\n+\n+const BASE_ITEM_LEVEL = 300;\n+const BASE_AGILITY_BUFF = 593;\n+\n+/**\n+ * Azerokk's Resonating Heart\n+ * Equip: Your attacks have a chance to harmonize with the shard, granting you X Agility for 15 sec.\n+ */\n+class AzerokksResonatingHeart extends Analyzer {\n+  static dependencies = {\n+    abilities: Abilities,\n+  };\n+\n+  constructor(...args) {\n+    super(...args);\n+    this.active = this.selectedCombatant.hasTrinket(ITEMS.AZEROKKS_RESONATING_HEART.id);\n+\n+    if(!this.active) {","path":"src/parser/shared/modules/items/bfa/dungeons/AzerokksResonatingHeart.js","position":27,"original_position":27,"commit_id":"7181cdfed42be87bec66e9fb9ac9f2b4f97ad8af","original_commit_id":"7181cdfed42be87bec66e9fb9ac9f2b4f97ad8af","user":{"login":"sMteX","id":5068584,"node_id":"MDQ6VXNlcjUwNjg1ODQ=","avatar_url":"https://avatars0.githubusercontent.com/u/5068584?v=4","gravatar_id":"","url":"https://api.github.com/users/sMteX","html_url":"https://github.com/sMteX","followers_url":"https://api.github.com/users/sMteX/followers","following_url":"https://api.github.com/users/sMteX/following{/other_user}","gists_url":"https://api.github.com/users/sMteX/gists{/gist_id}","starred_url":"https://api.github.com/users/sMteX/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sMteX/subscriptions","organizations_url":"https://api.github.com/users/sMteX/orgs","repos_url":"https://api.github.com/users/sMteX/repos","events_url":"https://api.github.com/users/sMteX/events{/privacy}","received_events_url":"https://api.github.com/users/sMteX/received_events","type":"User","site_admin":false},"body":"Sometimes it doesn't really matter if it runs few other lines even if not active, but here it would probably crash without the return","created_at":"2018-11-12T09:44:30Z","updated_at":"2018-11-12T09:44:30Z","html_url":"https://github.com/WoWAnalyzer/WoWAnalyzer/pull/2646#discussion_r232589182","pull_request_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/pulls/2646","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/pulls/comments/232589182"},"html":{"href":"https://github.com/WoWAnalyzer/WoWAnalyzer/pull/2646#discussion_r232589182"},"pull_request":{"href":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/pulls/2646"}},"in_reply_to_id":232584473},"pull_request":{"url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/pulls/2646","id":229996165,"node_id":"MDExOlB1bGxSZXF1ZXN0MjI5OTk2MTY1","html_url":"https://github.com/WoWAnalyzer/WoWAnalyzer/pull/2646","diff_url":"https://github.com/WoWAnalyzer/WoWAnalyzer/pull/2646.diff","patch_url":"https://github.com/WoWAnalyzer/WoWAnalyzer/pull/2646.patch","issue_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/issues/2646","number":2646,"state":"open","locked":false,"title":"[Core] Add Azerokk's Resonating Heart module","user":{"login":"Aelexe","id":2950145,"node_id":"MDQ6VXNlcjI5NTAxNDU=","avatar_url":"https://avatars1.githubusercontent.com/u/2950145?v=4","gravatar_id":"","url":"https://api.github.com/users/Aelexe","html_url":"https://github.com/Aelexe","followers_url":"https://api.github.com/users/Aelexe/followers","following_url":"https://api.github.com/users/Aelexe/following{/other_user}","gists_url":"https://api.github.com/users/Aelexe/gists{/gist_id}","starred_url":"https://api.github.com/users/Aelexe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aelexe/subscriptions","organizations_url":"https://api.github.com/users/Aelexe/orgs","repos_url":"https://api.github.com/users/Aelexe/repos","events_url":"https://api.github.com/users/Aelexe/events{/privacy}","received_events_url":"https://api.github.com/users/Aelexe/received_events","type":"User","site_admin":false},"body":"Added a statistic box for Azerokk's Resonating Heart.\r\n\r\n![image](https://user-images.githubusercontent.com/2950145/48321632-7e144b00-e688-11e8-9960-3e5d1c120479.png)\r\n","created_at":"2018-11-12T01:37:51Z","updated_at":"2018-11-12T09:44:30Z","closed_at":null,"merged_at":null,"merge_commit_sha":"df0f8a43266e2d48902eab530caeaf828e17b0a5","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/pulls/2646/commits","review_comments_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/pulls/2646/comments","review_comment_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/pulls/comments{/number}","comments_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/issues/2646/comments","statuses_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/statuses/7181cdfed42be87bec66e9fb9ac9f2b4f97ad8af","head":{"label":"Aelexe:azerokk's-resonating-heart","ref":"azerokk's-resonating-heart","sha":"7181cdfed42be87bec66e9fb9ac9f2b4f97ad8af","user":{"login":"Aelexe","id":2950145,"node_id":"MDQ6VXNlcjI5NTAxNDU=","avatar_url":"https://avatars1.githubusercontent.com/u/2950145?v=4","gravatar_id":"","url":"https://api.github.com/users/Aelexe","html_url":"https://github.com/Aelexe","followers_url":"https://api.github.com/users/Aelexe/followers","following_url":"https://api.github.com/users/Aelexe/following{/other_user}","gists_url":"https://api.github.com/users/Aelexe/gists{/gist_id}","starred_url":"https://api.github.com/users/Aelexe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aelexe/subscriptions","organizations_url":"https://api.github.com/users/Aelexe/orgs","repos_url":"https://api.github.com/users/Aelexe/repos","events_url":"https://api.github.com/users/Aelexe/events{/privacy}","received_events_url":"https://api.github.com/users/Aelexe/received_events","type":"User","site_admin":false},"repo":{"id":157027725,"node_id":"MDEwOlJlcG9zaXRvcnkxNTcwMjc3MjU=","name":"WoWAnalyzer","full_name":"Aelexe/WoWAnalyzer","private":false,"owner":{"login":"Aelexe","id":2950145,"node_id":"MDQ6VXNlcjI5NTAxNDU=","avatar_url":"https://avatars1.githubusercontent.com/u/2950145?v=4","gravatar_id":"","url":"https://api.github.com/users/Aelexe","html_url":"https://github.com/Aelexe","followers_url":"https://api.github.com/users/Aelexe/followers","following_url":"https://api.github.com/users/Aelexe/following{/other_user}","gists_url":"https://api.github.com/users/Aelexe/gists{/gist_id}","starred_url":"https://api.github.com/users/Aelexe/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aelexe/subscriptions","organizations_url":"https://api.github.com/users/Aelexe/orgs","repos_url":"https://api.github.com/users/Aelexe/repos","events_url":"https://api.github.com/users/Aelexe/events{/privacy}","received_events_url":"https://api.github.com/users/Aelexe/received_events","type":"User","site_admin":false},"html_url":"https://github.com/Aelexe/WoWAnalyzer","description":"WoWAnalyzer is a tool to help you analyze and improve your World of Warcraft raiding performance through various relevant metrics and gameplay suggestions.","fork":true,"url":"https://api.github.com/repos/Aelexe/WoWAnalyzer","forks_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/forks","keys_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/teams","hooks_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/hooks","issue_events_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/issues/events{/number}","events_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/events","assignees_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/assignees{/user}","branches_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/branches{/branch}","tags_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/tags","blobs_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/git/refs{/sha}","trees_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/statuses/{sha}","languages_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/languages","stargazers_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/stargazers","contributors_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/contributors","subscribers_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/subscribers","subscription_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/subscription","commits_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/commits{/sha}","git_commits_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/git/commits{/sha}","comments_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/comments{/number}","issue_comment_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/issues/comments{/number}","contents_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/contents/{+path}","compare_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/merges","archive_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/downloads","issues_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/issues{/number}","pulls_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/pulls{/number}","milestones_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/milestones{/number}","notifications_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/labels{/name}","releases_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/releases{/id}","deployments_url":"https://api.github.com/repos/Aelexe/WoWAnalyzer/deployments","created_at":"2018-11-10T22:37:56Z","updated_at":"2018-11-12T00:12:46Z","pushed_at":"2018-11-12T01:35:56Z","git_url":"git://github.com/Aelexe/WoWAnalyzer.git","ssh_url":"git@github.com:Aelexe/WoWAnalyzer.git","clone_url":"https://github.com/Aelexe/WoWAnalyzer.git","svn_url":"https://github.com/Aelexe/WoWAnalyzer","homepage":"http://wowanalyzer.com/","size":273684,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","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":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"WoWAnalyzer:master","ref":"master","sha":"385c5552a81811e0356acc390efcb196baad31cc","user":{"login":"WoWAnalyzer","id":32273378,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMjczMzc4","avatar_url":"https://avatars2.githubusercontent.com/u/32273378?v=4","gravatar_id":"","url":"https://api.github.com/users/WoWAnalyzer","html_url":"https://github.com/WoWAnalyzer","followers_url":"https://api.github.com/users/WoWAnalyzer/followers","following_url":"https://api.github.com/users/WoWAnalyzer/following{/other_user}","gists_url":"https://api.github.com/users/WoWAnalyzer/gists{/gist_id}","starred_url":"https://api.github.com/users/WoWAnalyzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WoWAnalyzer/subscriptions","organizations_url":"https://api.github.com/users/WoWAnalyzer/orgs","repos_url":"https://api.github.com/users/WoWAnalyzer/repos","events_url":"https://api.github.com/users/WoWAnalyzer/events{/privacy}","received_events_url":"https://api.github.com/users/WoWAnalyzer/received_events","type":"Organization","site_admin":false},"repo":{"id":80472692,"node_id":"MDEwOlJlcG9zaXRvcnk4MDQ3MjY5Mg==","name":"WoWAnalyzer","full_name":"WoWAnalyzer/WoWAnalyzer","private":false,"owner":{"login":"WoWAnalyzer","id":32273378,"node_id":"MDEyOk9yZ2FuaXphdGlvbjMyMjczMzc4","avatar_url":"https://avatars2.githubusercontent.com/u/32273378?v=4","gravatar_id":"","url":"https://api.github.com/users/WoWAnalyzer","html_url":"https://github.com/WoWAnalyzer","followers_url":"https://api.github.com/users/WoWAnalyzer/followers","following_url":"https://api.github.com/users/WoWAnalyzer/following{/other_user}","gists_url":"https://api.github.com/users/WoWAnalyzer/gists{/gist_id}","starred_url":"https://api.github.com/users/WoWAnalyzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WoWAnalyzer/subscriptions","organizations_url":"https://api.github.com/users/WoWAnalyzer/orgs","repos_url":"https://api.github.com/users/WoWAnalyzer/repos","events_url":"https://api.github.com/users/WoWAnalyzer/events{/privacy}","received_events_url":"https://api.github.com/users/WoWAnalyzer/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/WoWAnalyzer/WoWAnalyzer","description":"WoWAnalyzer is a tool to help you analyze and improve your World of Warcraft raiding performance through various relevant metrics and gameplay suggestions.","fork":false,"url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer","forks_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/forks","keys_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/keys{/key_id}","collaborators_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/teams","hooks_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/hooks","issue_events_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/issues/events{/number}","events_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/events","assignees_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/assignees{/user}","branches_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/branches{/branch}","tags_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/tags","blobs_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/git/refs{/sha}","trees_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/git/trees{/sha}","statuses_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/statuses/{sha}","languages_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/languages","stargazers_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/stargazers","contributors_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/contributors","subscribers_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/subscribers","subscription_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/subscription","commits_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/commits{/sha}","git_commits_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/git/commits{/sha}","comments_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/comments{/number}","issue_comment_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/issues/comments{/number}","contents_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/contents/{+path}","compare_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/compare/{base}...{head}","merges_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/merges","archive_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/downloads","issues_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/issues{/number}","pulls_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/pulls{/number}","milestones_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/milestones{/number}","notifications_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/labels{/name}","releases_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/releases{/id}","deployments_url":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/deployments","created_at":"2017-01-30T23:02:17Z","updated_at":"2018-11-12T08:27:50Z","pushed_at":"2018-11-12T09:30:36Z","git_url":"git://github.com/WoWAnalyzer/WoWAnalyzer.git","ssh_url":"git@github.com:WoWAnalyzer/WoWAnalyzer.git","clone_url":"https://github.com/WoWAnalyzer/WoWAnalyzer.git","svn_url":"https://github.com/WoWAnalyzer/WoWAnalyzer","homepage":"http://wowanalyzer.com/","size":273715,"stargazers_count":191,"watchers_count":191,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":250,"mirror_url":null,"archived":false,"open_issues_count":163,"license":{"key":"agpl-3.0","name":"GNU Affero General Public License v3.0","spdx_id":"AGPL-3.0","url":"https://api.github.com/licenses/agpl-3.0","node_id":"MDc6TGljZW5zZTE="},"forks":250,"open_issues":163,"watchers":191,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/pulls/2646"},"html":{"href":"https://github.com/WoWAnalyzer/WoWAnalyzer/pull/2646"},"issue":{"href":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/issues/2646"},"comments":{"href":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/issues/2646/comments"},"review_comments":{"href":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/pulls/2646/comments"},"review_comment":{"href":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/pulls/2646/commits"},"statuses":{"href":"https://api.github.com/repos/WoWAnalyzer/WoWAnalyzer/statuses/7181cdfed42be87bec66e9fb9ac9f2b4f97ad8af"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"sMteX"}}