{"action":"created","comment":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments/105631954","pull_request_review_id":26519427,"id":105631954,"diff_hunk":"@@ -1213,9 +1216,41 @@ class modify_commandscript : public CommandScript\n         target->GiveXP(xp, nullptr);\n         return true;\n     }\n+\t//Edit Player Fury\n+\tstatic bool HandleModifyFuryCommand(ChatHandler* handler, const char* args)\n+\t{\n+\t\tint32 fury, furymax;\n+\t\tPlayer* target = handler->getSelectedPlayerOrSelf();\n+\t\tint8 const furyMultiplier = 10;\n+\t\tif (CheckModifyResources(handler, args, target, fury, furymax, furyMultiplier))\n+\t\t{\n+\t\t\tNotifyModification(handler, target, LANG_YOU_CHANGE_FURY, LANG_YOUR_FURY_CHANGED, fury / furyMultiplier, furymax / furyMultiplier);\n+\t\t\ttarget->SetMaxPower(POWER_FURY, furymax);\n+\t\t\ttarget->SetPower(POWER_FURY, fury);\n+\t\t\treturn true;\n+\t\t}\n+\t\treturn false;\n+\t}\n+\t\n+\t//Edit Player Pain\n+\tstatic bool HandleModifyPainCommand(ChatHandler* handler, const char* args)\n+\t{\n+\t\tint32 pain, painmax;\n+\t\tPlayer* target = handler->getSelectedPlayerOrSelf();\n+\t\tint8 const painMultiplier = 10;\n+\t\tif (CheckModifyResources(handler, args, target, pain, painmax, painMultiplier))\n+\t\t{\n+\t\t\tNotifyModification(handler, target, LANG_YOU_CHANGE_PAIN, LANG_YOUR_PAIN_CHANGED, pain / painMultiplier, painmax / painMultiplier);\n+\t\t\ttarget->SetMaxPower(POWER_PAIN, painmax);\n+\t\t\ttarget->SetPower(POWER_PAIN, pain);\n+\t\t\treturn true;\n+\t\t}\n+\t\treturn false;\n+\t}\n+\t\t\n };\n \n void AddSC_modify_commandscript()\n {\n     new modify_commandscript();\n-}\n+}","path":"src/server/scripts/Commands/cs_modify.cpp","position":52,"original_position":52,"commit_id":"ff0289dd79538fd0ea1803f3b1538388059bb512","original_commit_id":"ff0289dd79538fd0ea1803f3b1538388059bb512","user":{"login":"Seyden","id":639817,"avatar_url":"https://avatars3.githubusercontent.com/u/639817?v=3","gravatar_id":"","url":"https://api.github.com/users/Seyden","html_url":"https://github.com/Seyden","followers_url":"https://api.github.com/users/Seyden/followers","following_url":"https://api.github.com/users/Seyden/following{/other_user}","gists_url":"https://api.github.com/users/Seyden/gists{/gist_id}","starred_url":"https://api.github.com/users/Seyden/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Seyden/subscriptions","organizations_url":"https://api.github.com/users/Seyden/orgs","repos_url":"https://api.github.com/users/Seyden/repos","events_url":"https://api.github.com/users/Seyden/events{/privacy}","received_events_url":"https://api.github.com/users/Seyden/received_events","type":"User","site_admin":false},"body":"newline","created_at":"2017-03-13T10:44:25Z","updated_at":"2017-03-13T10:44:25Z","html_url":"https://github.com/TrinityCore/TrinityCore/pull/19288#discussion_r105631954","pull_request_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/19288","_links":{"self":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments/105631954"},"html":{"href":"https://github.com/TrinityCore/TrinityCore/pull/19288#discussion_r105631954"},"pull_request":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/19288"}}},"pull_request":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/19288","id":110352916,"html_url":"https://github.com/TrinityCore/TrinityCore/pull/19288","diff_url":"https://github.com/TrinityCore/TrinityCore/pull/19288.diff","patch_url":"https://github.com/TrinityCore/TrinityCore/pull/19288.patch","issue_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/19288","number":19288,"state":"open","locked":false,"title":"Scripts/Commands: Modify fury & pain","user":{"login":"Hadifaren","id":21317689,"avatar_url":"https://avatars3.githubusercontent.com/u/21317689?v=3","gravatar_id":"","url":"https://api.github.com/users/Hadifaren","html_url":"https://github.com/Hadifaren","followers_url":"https://api.github.com/users/Hadifaren/followers","following_url":"https://api.github.com/users/Hadifaren/following{/other_user}","gists_url":"https://api.github.com/users/Hadifaren/gists{/gist_id}","starred_url":"https://api.github.com/users/Hadifaren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hadifaren/subscriptions","organizations_url":"https://api.github.com/users/Hadifaren/orgs","repos_url":"https://api.github.com/users/Hadifaren/repos","events_url":"https://api.github.com/users/Hadifaren/events{/privacy}","received_events_url":"https://api.github.com/users/Hadifaren/received_events","type":"User","site_admin":false},"body":"**Changes proposed:**\r\n\r\n-  modified some files to edit fury & pain \r\n-  class demon hunter\r\n-  \r\n\r\n**Target branch(es):** 3.3.5/master\r\n- [√ ] master\r\n\r\n**Tests performed:** (Does it build, tested in-game, etc.)\r\n- [√] build successful\r\n- [√] tested in game\r\n\r\n**Known issues and TODO list:** (add/remove lines as needed)\r\n-\r\n-\r\n","created_at":"2017-03-13T07:44:40Z","updated_at":"2017-03-13T10:44:25Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ed806bdb4187a0ce6acaf9e23ceeb403f872f8e","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/19288/commits","review_comments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/19288/comments","review_comment_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/19288/comments","statuses_url":"https://api.github.com/repos/TrinityCore/TrinityCore/statuses/ff0289dd79538fd0ea1803f3b1538388059bb512","head":{"label":"Hadifaren:master","ref":"master","sha":"ff0289dd79538fd0ea1803f3b1538388059bb512","user":{"login":"Hadifaren","id":21317689,"avatar_url":"https://avatars3.githubusercontent.com/u/21317689?v=3","gravatar_id":"","url":"https://api.github.com/users/Hadifaren","html_url":"https://github.com/Hadifaren","followers_url":"https://api.github.com/users/Hadifaren/followers","following_url":"https://api.github.com/users/Hadifaren/following{/other_user}","gists_url":"https://api.github.com/users/Hadifaren/gists{/gist_id}","starred_url":"https://api.github.com/users/Hadifaren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hadifaren/subscriptions","organizations_url":"https://api.github.com/users/Hadifaren/orgs","repos_url":"https://api.github.com/users/Hadifaren/repos","events_url":"https://api.github.com/users/Hadifaren/events{/privacy}","received_events_url":"https://api.github.com/users/Hadifaren/received_events","type":"User","site_admin":false},"repo":{"id":84796867,"name":"TrinityCore","full_name":"Hadifaren/TrinityCore","owner":{"login":"Hadifaren","id":21317689,"avatar_url":"https://avatars3.githubusercontent.com/u/21317689?v=3","gravatar_id":"","url":"https://api.github.com/users/Hadifaren","html_url":"https://github.com/Hadifaren","followers_url":"https://api.github.com/users/Hadifaren/followers","following_url":"https://api.github.com/users/Hadifaren/following{/other_user}","gists_url":"https://api.github.com/users/Hadifaren/gists{/gist_id}","starred_url":"https://api.github.com/users/Hadifaren/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hadifaren/subscriptions","organizations_url":"https://api.github.com/users/Hadifaren/orgs","repos_url":"https://api.github.com/users/Hadifaren/repos","events_url":"https://api.github.com/users/Hadifaren/events{/privacy}","received_events_url":"https://api.github.com/users/Hadifaren/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Hadifaren/TrinityCore","description":"TrinityCore Open Source MMO Framework","fork":true,"url":"https://api.github.com/repos/Hadifaren/TrinityCore","forks_url":"https://api.github.com/repos/Hadifaren/TrinityCore/forks","keys_url":"https://api.github.com/repos/Hadifaren/TrinityCore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Hadifaren/TrinityCore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Hadifaren/TrinityCore/teams","hooks_url":"https://api.github.com/repos/Hadifaren/TrinityCore/hooks","issue_events_url":"https://api.github.com/repos/Hadifaren/TrinityCore/issues/events{/number}","events_url":"https://api.github.com/repos/Hadifaren/TrinityCore/events","assignees_url":"https://api.github.com/repos/Hadifaren/TrinityCore/assignees{/user}","branches_url":"https://api.github.com/repos/Hadifaren/TrinityCore/branches{/branch}","tags_url":"https://api.github.com/repos/Hadifaren/TrinityCore/tags","blobs_url":"https://api.github.com/repos/Hadifaren/TrinityCore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Hadifaren/TrinityCore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Hadifaren/TrinityCore/git/refs{/sha}","trees_url":"https://api.github.com/repos/Hadifaren/TrinityCore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Hadifaren/TrinityCore/statuses/{sha}","languages_url":"https://api.github.com/repos/Hadifaren/TrinityCore/languages","stargazers_url":"https://api.github.com/repos/Hadifaren/TrinityCore/stargazers","contributors_url":"https://api.github.com/repos/Hadifaren/TrinityCore/contributors","subscribers_url":"https://api.github.com/repos/Hadifaren/TrinityCore/subscribers","subscription_url":"https://api.github.com/repos/Hadifaren/TrinityCore/subscription","commits_url":"https://api.github.com/repos/Hadifaren/TrinityCore/commits{/sha}","git_commits_url":"https://api.github.com/repos/Hadifaren/TrinityCore/git/commits{/sha}","comments_url":"https://api.github.com/repos/Hadifaren/TrinityCore/comments{/number}","issue_comment_url":"https://api.github.com/repos/Hadifaren/TrinityCore/issues/comments{/number}","contents_url":"https://api.github.com/repos/Hadifaren/TrinityCore/contents/{+path}","compare_url":"https://api.github.com/repos/Hadifaren/TrinityCore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Hadifaren/TrinityCore/merges","archive_url":"https://api.github.com/repos/Hadifaren/TrinityCore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Hadifaren/TrinityCore/downloads","issues_url":"https://api.github.com/repos/Hadifaren/TrinityCore/issues{/number}","pulls_url":"https://api.github.com/repos/Hadifaren/TrinityCore/pulls{/number}","milestones_url":"https://api.github.com/repos/Hadifaren/TrinityCore/milestones{/number}","notifications_url":"https://api.github.com/repos/Hadifaren/TrinityCore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Hadifaren/TrinityCore/labels{/name}","releases_url":"https://api.github.com/repos/Hadifaren/TrinityCore/releases{/id}","deployments_url":"https://api.github.com/repos/Hadifaren/TrinityCore/deployments","created_at":"2017-03-13T07:32:33Z","updated_at":"2017-03-13T07:32:50Z","pushed_at":"2017-03-13T07:37:45Z","git_url":"git://github.com/Hadifaren/TrinityCore.git","ssh_url":"git@github.com:Hadifaren/TrinityCore.git","clone_url":"https://github.com/Hadifaren/TrinityCore.git","svn_url":"https://github.com/Hadifaren/TrinityCore","homepage":"http://www.trinitycore.org","size":422156,"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":"TrinityCore:master","ref":"master","sha":"c9fbab6f048fdd277f840e660c483ed426201f02","user":{"login":"TrinityCore","id":539602,"avatar_url":"https://avatars0.githubusercontent.com/u/539602?v=3","gravatar_id":"","url":"https://api.github.com/users/TrinityCore","html_url":"https://github.com/TrinityCore","followers_url":"https://api.github.com/users/TrinityCore/followers","following_url":"https://api.github.com/users/TrinityCore/following{/other_user}","gists_url":"https://api.github.com/users/TrinityCore/gists{/gist_id}","starred_url":"https://api.github.com/users/TrinityCore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrinityCore/subscriptions","organizations_url":"https://api.github.com/users/TrinityCore/orgs","repos_url":"https://api.github.com/users/TrinityCore/repos","events_url":"https://api.github.com/users/TrinityCore/events{/privacy}","received_events_url":"https://api.github.com/users/TrinityCore/received_events","type":"Organization","site_admin":false},"repo":{"id":1204412,"name":"TrinityCore","full_name":"TrinityCore/TrinityCore","owner":{"login":"TrinityCore","id":539602,"avatar_url":"https://avatars0.githubusercontent.com/u/539602?v=3","gravatar_id":"","url":"https://api.github.com/users/TrinityCore","html_url":"https://github.com/TrinityCore","followers_url":"https://api.github.com/users/TrinityCore/followers","following_url":"https://api.github.com/users/TrinityCore/following{/other_user}","gists_url":"https://api.github.com/users/TrinityCore/gists{/gist_id}","starred_url":"https://api.github.com/users/TrinityCore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TrinityCore/subscriptions","organizations_url":"https://api.github.com/users/TrinityCore/orgs","repos_url":"https://api.github.com/users/TrinityCore/repos","events_url":"https://api.github.com/users/TrinityCore/events{/privacy}","received_events_url":"https://api.github.com/users/TrinityCore/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/TrinityCore/TrinityCore","description":"TrinityCore Open Source MMO Framework","fork":false,"url":"https://api.github.com/repos/TrinityCore/TrinityCore","forks_url":"https://api.github.com/repos/TrinityCore/TrinityCore/forks","keys_url":"https://api.github.com/repos/TrinityCore/TrinityCore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/TrinityCore/TrinityCore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/TrinityCore/TrinityCore/teams","hooks_url":"https://api.github.com/repos/TrinityCore/TrinityCore/hooks","issue_events_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/events{/number}","events_url":"https://api.github.com/repos/TrinityCore/TrinityCore/events","assignees_url":"https://api.github.com/repos/TrinityCore/TrinityCore/assignees{/user}","branches_url":"https://api.github.com/repos/TrinityCore/TrinityCore/branches{/branch}","tags_url":"https://api.github.com/repos/TrinityCore/TrinityCore/tags","blobs_url":"https://api.github.com/repos/TrinityCore/TrinityCore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/TrinityCore/TrinityCore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/TrinityCore/TrinityCore/git/refs{/sha}","trees_url":"https://api.github.com/repos/TrinityCore/TrinityCore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/TrinityCore/TrinityCore/statuses/{sha}","languages_url":"https://api.github.com/repos/TrinityCore/TrinityCore/languages","stargazers_url":"https://api.github.com/repos/TrinityCore/TrinityCore/stargazers","contributors_url":"https://api.github.com/repos/TrinityCore/TrinityCore/contributors","subscribers_url":"https://api.github.com/repos/TrinityCore/TrinityCore/subscribers","subscription_url":"https://api.github.com/repos/TrinityCore/TrinityCore/subscription","commits_url":"https://api.github.com/repos/TrinityCore/TrinityCore/commits{/sha}","git_commits_url":"https://api.github.com/repos/TrinityCore/TrinityCore/git/commits{/sha}","comments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/comments{/number}","issue_comment_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/comments{/number}","contents_url":"https://api.github.com/repos/TrinityCore/TrinityCore/contents/{+path}","compare_url":"https://api.github.com/repos/TrinityCore/TrinityCore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/TrinityCore/TrinityCore/merges","archive_url":"https://api.github.com/repos/TrinityCore/TrinityCore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/TrinityCore/TrinityCore/downloads","issues_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues{/number}","pulls_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls{/number}","milestones_url":"https://api.github.com/repos/TrinityCore/TrinityCore/milestones{/number}","notifications_url":"https://api.github.com/repos/TrinityCore/TrinityCore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/TrinityCore/TrinityCore/labels{/name}","releases_url":"https://api.github.com/repos/TrinityCore/TrinityCore/releases{/id}","deployments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/deployments","created_at":"2010-12-28T23:40:07Z","updated_at":"2017-03-13T01:15:41Z","pushed_at":"2017-03-13T08:37:47Z","git_url":"git://github.com/TrinityCore/TrinityCore.git","ssh_url":"git@github.com:TrinityCore/TrinityCore.git","clone_url":"https://github.com/TrinityCore/TrinityCore.git","svn_url":"https://github.com/TrinityCore/TrinityCore","homepage":"http://www.trinitycore.org","size":422402,"stargazers_count":3698,"watchers_count":3698,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3698,"mirror_url":null,"open_issues_count":1330,"forks":3698,"open_issues":1330,"watchers":3698,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/19288"},"html":{"href":"https://github.com/TrinityCore/TrinityCore/pull/19288"},"issue":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/19288"},"comments":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/19288/comments"},"review_comments":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/19288/comments"},"review_comment":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/19288/commits"},"statuses":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/statuses/ff0289dd79538fd0ea1803f3b1538388059bb512"}}}}
{"actor":{"display_login":"Seyden"}}