GitHub PullRequestReviewCommentEvent at 2014-09-27 08:52:22
Repository: TrinityCore
Actor: MrSmite
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments/18122672","id":18122672,"diff_hunk":"@@ -0,0 +1,507 @@\n+#include \"ScriptMgr.h\"\n+#include \"Player.h\"\n+#include \"Creature.h\"\n+#include \"Config.h\"\n+#include \"Chat.h\"\n+#include \"WorldPacket.h\"\n+#include \"Formulas.h\"\n+#include \"Mail.h\"\n+\n+class player_creature_honor : public PlayerScript\n+{\n+    public:\n+        player_creature_honor() : PlayerScript(\"player_creature_honor\")\n+        {\n+            // Init Config Settings\n+\n+            // General\n+            creatureHonorScriptEnabled = sConfigMgr->GetBoolDefault(\"CreatureHonor.Enabled\", false);\n+            allowAchievementGain = sConfigMgr->GetBoolDefault(\"CreatureHonor.Allow.Achievement\", false);\n+            \n+            // Levels\n+            playerMinLevel = sConfigMgr->GetIntDefault(\"CreatureHonor.Player.Minlevel\", 10);\n+\n+            if (playerMinLevel < 1)\n+                playerMinLevel = 1; // Characters can't be lower than level 1 anyway...\n+\n+            creatureBonusLevelDiff = sConfigMgr->GetIntDefault(\"CreatureHonor.Creature.BonusLevelDiff\", 5);\n+            penaltyLevelDiff = sConfigMgr->GetIntDefault(\"CreatureHonor.Creature.PenaltyLevelDiff\", false);\n+\n+            // Rates - Base\n+            rateNormal = sConfigMgr->GetIntDefault(\"CreatureHonor.Rate.Normal\", 3);\n+            rateElite = sConfigMgr->GetIntDefault(\"CreatureHonor.Rate.Elite\", 5);\n+\n+            // Rates - Bonuses\n+            rateGuardBonus = sConfigMgr->GetIntDefault(\"CreatureHonor.Rate.GuardBonus\", 2);\n+            rateLevelDiffBonus = sConfigMgr->GetIntDefault(\"CreatureHonor.Rate.LevelDiffBonus\", 5);\n+            rateRareEliteBonus = sConfigMgr->GetIntDefault(\"CreatureHonor.Rate.RareEliteBonus\", 2);\n+            rateRacialLeaderBonus = sConfigMgr->GetIntDefault(\"CreatureHonor.Rate.RacialLeaderBonus\", 5);\n+            rateWorldBossBonus = sConfigMgr->GetIntDefault(\"CreatureHonor.Rate.WorldBossBonus\", 5);\n+\n+            // Rules - General\n+            onlyInInstances = sConfigMgr->GetBoolDefault(\"CreatureHonor.Allow.InstancesOnly\", false);\n+            requireXP = sConfigMgr->GetBoolDefault(\"CreatureHonor.Require.XP\", true);\n+            honorFromNeutral = sConfigMgr->GetBoolDefault(\"CreatureHonor.Allow.Neutral\", true);\n+            requirePlayerPvP = sConfigMgr->GetBoolDefault(\"CreatureHonor.Require.PlayerPvP\", true);\n+            requireCreaturePvP = sConfigMgr->GetBoolDefault(\"CreatureHonor.Require.CreaturePvP\", true);\n+\n+            // Rules - Creature Types\n+            allowBeast = sConfigMgr->GetBoolDefault(\"CreatureHonor.Allow.Beast\", false);\n+            allowDragonkin = sConfigMgr->GetBoolDefault(\"CreatureHonor.Allow.Dragonkin\", true);\n+            allowDemon = sConfigMgr->GetBoolDefault(\"CreatureHonor.Allow.Demon\", true);\n+            allowElemental = sConfigMgr->GetBoolDefault(\"CreatureHonor.Allow.Elemental\", false);\n+            allowGiant = sConfigMgr->GetBoolDefault(\"CreatureHonor.Allow.Giant\", true);\n+            allowHumanoid = sConfigMgr->GetBoolDefault(\"CreatureHonor.Allow.Humanoid\", true);\n+            allowMechanical = sConfigMgr->GetBoolDefault(\"CreatureHonor.Allow.Mechanical\", false);\n+            allowUndead = sConfigMgr->GetBoolDefault(\"CreatureHonor.Allow.Undead\", true);\n+\n+            // Messaging - General\n+            creatureHonorLvlReachedMsg = sConfigMgr->GetStringDefault(\"CreatureHonor.Message.Chat.LevelReachedMessage\", \"@@Congratulations, you are now able to earn honor@@from NPC kills. Good hunting!\");\n+\n+            // Messaging - Rules message\n+            creatureHonorRulesMsg.append(\"* Honor from NPC kills:\\n\");\n+\n+            if (allowBeast)\n+                creatureHonorRulesMsg.append(\"\\n  Beast\");\n+            if (allowDragonkin)\n+                creatureHonorRulesMsg.append(\"\\n  Dragonkin\");\n+            if (allowDemon)\n+                creatureHonorRulesMsg.append(\"\\n  Demon\");\n+            if (allowElemental)\n+                creatureHonorRulesMsg.append(\"\\n  Elemental\");\n+            if (allowGiant)\n+                creatureHonorRulesMsg.append(\"\\n  Giant\");\n+            if (allowUndead)\n+                creatureHonorRulesMsg.append(\"\\n  Undead\");\n+            if (allowHumanoid)\n+                creatureHonorRulesMsg.append(\"\\n  Humanoid\");\n+            if (allowMechanical)\n+                creatureHonorRulesMsg.append(\"\\n  Mechanical\");\n+            \n+            creatureHonorRulesMsg.append(\"\\n\");\n+\n+            if (requirePlayerPvP)\n+                creatureHonorRulesMsg.append(\"\\n* You must be flagged for PvP\");\n+            if (requireCreaturePvP)\n+                creatureHonorRulesMsg.append(\"\\n* NPC must be flagged for PvP\");\n+            if (requireXP)\n+                creatureHonorRulesMsg.append(\"\\n* NPC must reward XP\");\n+            if (onlyInInstances)\n+                creatureHonorRulesMsg.append(\"\\n* NPC must be in an instance\");\n+            if (!honorFromNeutral)\n+                creatureHonorRulesMsg.append(\"\\n* NPC can not be neutral\");\n+            if (penaltyLevelDiff > 0)\n+                creatureHonorRulesMsg.append(\"\\n* NPC can't be more than \" + std::to_string(penaltyLevelDiff) + \"\\n  levels below you\");\n+\n+        }\n+\n+        void OnCreatureKill(Player* killer, Creature* killed)\n+        {\n+            if (creatureHonorScriptEnabled)\n+                RewardHonor(killer, killed);\n+        }\n+\n+        void OnCreate(Player* pl)\n+        {\n+            // Create a DB entry for this character if script is enabled\n+\n+            if (creatureHonorScriptEnabled)\n+            {\n+                SQLTransaction trans = CharacterDatabase.BeginTransaction();\n+                PreparedStatement* stmt = CharacterDatabase.GetPreparedStatement(CHAR_INS_CREATUREHONOR_MESSAGE);\n+                stmt->setUInt32(0, pl->GetGUIDLow());\n+                stmt->setUInt32(1, 0);\n+                trans->Append(stmt);\n+                CharacterDatabase.CommitTransaction(trans);\n+            }\n+        }\n+\n+        void OnDelete(uint64 guid, uint32 accountId)","path":"src/server/scripts/Custom/player_creature_honor.cpp","position":119,"original_position":119,"commit_id":"a40a6e114b429cb3448d5a4a2895c8d248c3176c","original_commit_id":"a40a6e114b429cb3448d5a4a2895c8d248c3176c","user":{"login":"MrSmite","id":1168404,"avatar_url":"https://avatars.githubusercontent.com/u/1168404?v=2","gravatar_id":"","url":"https://api.github.com/users/MrSmite","html_url":"https://github.com/MrSmite","followers_url":"https://api.github.com/users/MrSmite/followers","following_url":"https://api.github.com/users/MrSmite/following{/other_user}","gists_url":"https://api.github.com/users/MrSmite/gists{/gist_id}","starred_url":"https://api.github.com/users/MrSmite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrSmite/subscriptions","organizations_url":"https://api.github.com/users/MrSmite/orgs","repos_url":"https://api.github.com/users/MrSmite/repos","events_url":"https://api.github.com/users/MrSmite/events{/privacy}","received_events_url":"https://api.github.com/users/MrSmite/received_events","type":"User","site_admin":false},"body":"Ah, ok. Thanks for pointing that out.","created_at":"2014-09-27T08:52:22Z","updated_at":"2014-09-27T08:52:22Z","html_url":"https://github.com/TrinityCore/TrinityCore/pull/12955#discussion_r18122672","pull_request_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/12955","_links":{"self":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments/18122672"},"html":{"href":"https://github.com/TrinityCore/TrinityCore/pull/12955#discussion_r18122672"},"pull_request":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/12955"}}},"pull_request":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/12955","id":20478138,"html_url":"https://github.com/TrinityCore/TrinityCore/pull/12955","diff_url":"https://github.com/TrinityCore/TrinityCore/pull/12955.diff","patch_url":"https://github.com/TrinityCore/TrinityCore/pull/12955.patch","issue_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/12955","number":12955,"state":"open","locked":false,"title":"Customizable script to allow players to gain honor from NPC kills","user":{"login":"MrSmite","id":1168404,"avatar_url":"https://avatars.githubusercontent.com/u/1168404?v=2","gravatar_id":"","url":"https://api.github.com/users/MrSmite","html_url":"https://github.com/MrSmite","followers_url":"https://api.github.com/users/MrSmite/followers","following_url":"https://api.github.com/users/MrSmite/following{/other_user}","gists_url":"https://api.github.com/users/MrSmite/gists{/gist_id}","starred_url":"https://api.github.com/users/MrSmite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrSmite/subscriptions","organizations_url":"https://api.github.com/users/MrSmite/orgs","repos_url":"https://api.github.com/users/MrSmite/repos","events_url":"https://api.github.com/users/MrSmite/events{/privacy}","received_events_url":"https://api.github.com/users/MrSmite/received_events","type":"User","site_admin":false},"body":"After searching the forums and finding some abandoned core mods that attempted to give honor from guards, I decided to design it as a script instead.\r\n\r\nThis seems like a big patch but it's really not too bad. Being a script it's relatively compartmentalized from the rest of the core (it does add a lot of CONF options though).\r\n\r\nForum [post](http://www.trinitycore.org/f/topic/10273-complete-honor-from-npcs-updated-2014-07-27/) (with more details and screenshot)","created_at":"2014-08-29T01:58:07Z","updated_at":"2014-09-27T08:52:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":"8724f9a5d6e405782bd5df21b3ca10ad1803ef61","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/12955/commits","review_comments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/12955/comments","review_comment_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments/{number}","comments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/12955/comments","statuses_url":"https://api.github.com/repos/TrinityCore/TrinityCore/statuses/a40a6e114b429cb3448d5a4a2895c8d248c3176c","head":{"label":"MrSmite:HonorFromNPC","ref":"HonorFromNPC","sha":"a40a6e114b429cb3448d5a4a2895c8d248c3176c","user":{"login":"MrSmite","id":1168404,"avatar_url":"https://avatars.githubusercontent.com/u/1168404?v=2","gravatar_id":"","url":"https://api.github.com/users/MrSmite","html_url":"https://github.com/MrSmite","followers_url":"https://api.github.com/users/MrSmite/followers","following_url":"https://api.github.com/users/MrSmite/following{/other_user}","gists_url":"https://api.github.com/users/MrSmite/gists{/gist_id}","starred_url":"https://api.github.com/users/MrSmite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrSmite/subscriptions","organizations_url":"https://api.github.com/users/MrSmite/orgs","repos_url":"https://api.github.com/users/MrSmite/repos","events_url":"https://api.github.com/users/MrSmite/events{/privacy}","received_events_url":"https://api.github.com/users/MrSmite/received_events","type":"User","site_admin":false},"repo":{"id":22804579,"name":"TrinityCore","full_name":"MrSmite/TrinityCore","owner":{"login":"MrSmite","id":1168404,"avatar_url":"https://avatars.githubusercontent.com/u/1168404?v=2","gravatar_id":"","url":"https://api.github.com/users/MrSmite","html_url":"https://github.com/MrSmite","followers_url":"https://api.github.com/users/MrSmite/followers","following_url":"https://api.github.com/users/MrSmite/following{/other_user}","gists_url":"https://api.github.com/users/MrSmite/gists{/gist_id}","starred_url":"https://api.github.com/users/MrSmite/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MrSmite/subscriptions","organizations_url":"https://api.github.com/users/MrSmite/orgs","repos_url":"https://api.github.com/users/MrSmite/repos","events_url":"https://api.github.com/users/MrSmite/events{/privacy}","received_events_url":"https://api.github.com/users/MrSmite/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/MrSmite/TrinityCore","description":"TrinityCore Open Source MMO Framework","fork":true,"url":"https://api.github.com/repos/MrSmite/TrinityCore","forks_url":"https://api.github.com/repos/MrSmite/TrinityCore/forks","keys_url":"https://api.github.com/repos/MrSmite/TrinityCore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MrSmite/TrinityCore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MrSmite/TrinityCore/teams","hooks_url":"https://api.github.com/repos/MrSmite/TrinityCore/hooks","issue_events_url":"https://api.github.com/repos/MrSmite/TrinityCore/issues/events{/number}","events_url":"https://api.github.com/repos/MrSmite/TrinityCore/events","assignees_url":"https://api.github.com/repos/MrSmite/TrinityCore/assignees{/user}","branches_url":"https://api.github.com/repos/MrSmite/TrinityCore/branches{/branch}","tags_url":"https://api.github.com/repos/MrSmite/TrinityCore/tags","blobs_url":"https://api.github.com/repos/MrSmite/TrinityCore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MrSmite/TrinityCore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MrSmite/TrinityCore/git/refs{/sha}","trees_url":"https://api.github.com/repos/MrSmite/TrinityCore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MrSmite/TrinityCore/statuses/{sha}","languages_url":"https://api.github.com/repos/MrSmite/TrinityCore/languages","stargazers_url":"https://api.github.com/repos/MrSmite/TrinityCore/stargazers","contributors_url":"https://api.github.com/repos/MrSmite/TrinityCore/contributors","subscribers_url":"https://api.github.com/repos/MrSmite/TrinityCore/subscribers","subscription_url":"https://api.github.com/repos/MrSmite/TrinityCore/subscription","commits_url":"https://api.github.com/repos/MrSmite/TrinityCore/commits{/sha}","git_commits_url":"https://api.github.com/repos/MrSmite/TrinityCore/git/commits{/sha}","comments_url":"https://api.github.com/repos/MrSmite/TrinityCore/comments{/number}","issue_comment_url":"https://api.github.com/repos/MrSmite/TrinityCore/issues/comments/{number}","contents_url":"https://api.github.com/repos/MrSmite/TrinityCore/contents/{+path}","compare_url":"https://api.github.com/repos/MrSmite/TrinityCore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MrSmite/TrinityCore/merges","archive_url":"https://api.github.com/repos/MrSmite/TrinityCore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MrSmite/TrinityCore/downloads","issues_url":"https://api.github.com/repos/MrSmite/TrinityCore/issues{/number}","pulls_url":"https://api.github.com/repos/MrSmite/TrinityCore/pulls{/number}","milestones_url":"https://api.github.com/repos/MrSmite/TrinityCore/milestones{/number}","notifications_url":"https://api.github.com/repos/MrSmite/TrinityCore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MrSmite/TrinityCore/labels{/name}","releases_url":"https://api.github.com/repos/MrSmite/TrinityCore/releases{/id}","created_at":"2014-08-10T08:04:59Z","updated_at":"2014-09-25T00:21:14Z","pushed_at":"2014-09-26T05:12:12Z","git_url":"git://github.com/MrSmite/TrinityCore.git","ssh_url":"git@github.com:MrSmite/TrinityCore.git","clone_url":"https://github.com/MrSmite/TrinityCore.git","svn_url":"https://github.com/MrSmite/TrinityCore","homepage":"http://www.trinitycore.org","size":207706,"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":"6974a924a30fde7b514bb94d8cc0936ff4ec0e0a","user":{"login":"TrinityCore","id":539602,"avatar_url":"https://avatars.githubusercontent.com/u/539602?v=2","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://avatars.githubusercontent.com/u/539602?v=2","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}","created_at":"2010-12-28T23:40:07Z","updated_at":"2014-09-25T21:16:06Z","pushed_at":"2014-09-27T04:04:01Z","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":632020,"stargazers_count":2566,"watchers_count":2566,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2556,"mirror_url":null,"open_issues_count":1543,"forks":2556,"open_issues":1543,"watchers":2566,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/12955"},"html":{"href":"https://github.com/TrinityCore/TrinityCore/pull/12955"},"issue":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/12955"},"comments":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/12955/comments"},"review_comments":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/12955/comments"},"review_comment":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/12955/commits"},"statuses":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/statuses/a40a6e114b429cb3448d5a4a2895c8d248c3176c"}}}}