{"action":"created","comment":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments/32083102","id":32083102,"diff_hunk":"@@ -3420,6 +3422,9 @@ bool Player::AddSpell(uint32 spellId, bool active, bool learning, bool dependent\n         return false;\n     }\n \n+    if (sDB2Manager.GetMount(spellId))\n+        return AddMount(spellId, false, true);","path":"src/server/game/Entities/Player/Player.cpp","position":14,"original_position":14,"commit_id":"fc1450e117ecc649bc42542b09079c593f38fc64","original_commit_id":"fc1450e117ecc649bc42542b09079c593f38fc64","user":{"login":"zwj-2014","id":9508123,"avatar_url":"https://avatars.githubusercontent.com/u/9508123?v=3","gravatar_id":"","url":"https://api.github.com/users/zwj-2014","html_url":"https://github.com/zwj-2014","followers_url":"https://api.github.com/users/zwj-2014/followers","following_url":"https://api.github.com/users/zwj-2014/following{/other_user}","gists_url":"https://api.github.com/users/zwj-2014/gists{/gist_id}","starred_url":"https://api.github.com/users/zwj-2014/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zwj-2014/subscriptions","organizations_url":"https://api.github.com/users/zwj-2014/orgs","repos_url":"https://api.github.com/users/zwj-2014/repos","events_url":"https://api.github.com/users/zwj-2014/events{/privacy}","received_events_url":"https://api.github.com/users/zwj-2014/received_events","type":"User","site_admin":false},"body":"here","created_at":"2015-06-10T02:05:31Z","updated_at":"2015-06-10T02:05:31Z","html_url":"https://github.com/TrinityCore/TrinityCore/pull/14849#discussion_r32083102","pull_request_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/14849","_links":{"self":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments/32083102"},"html":{"href":"https://github.com/TrinityCore/TrinityCore/pull/14849#discussion_r32083102"},"pull_request":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/14849"}}},"pull_request":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/14849","id":37099843,"html_url":"https://github.com/TrinityCore/TrinityCore/pull/14849","diff_url":"https://github.com/TrinityCore/TrinityCore/pull/14849.diff","patch_url":"https://github.com/TrinityCore/TrinityCore/pull/14849.patch","issue_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/14849","number":14849,"state":"open","locked":false,"title":"[WIP] Core/Misc Support for Account Wide Mounts","user":{"login":"Boomper","id":799249,"avatar_url":"https://avatars.githubusercontent.com/u/799249?v=3","gravatar_id":"","url":"https://api.github.com/users/Boomper","html_url":"https://github.com/Boomper","followers_url":"https://api.github.com/users/Boomper/followers","following_url":"https://api.github.com/users/Boomper/following{/other_user}","gists_url":"https://api.github.com/users/Boomper/gists{/gist_id}","starred_url":"https://api.github.com/users/Boomper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boomper/subscriptions","organizations_url":"https://api.github.com/users/Boomper/orgs","repos_url":"https://api.github.com/users/Boomper/repos","events_url":"https://api.github.com/users/Boomper/events{/privacy}","received_events_url":"https://api.github.com/users/Boomper/received_events","type":"User","site_admin":false},"body":" - it's still work in progress, I'm just tired from this weird weather so I'd like some feedback before I mess something up...\r\n - the packet size is based on https://gist.github.com/Boomper/4434a33ac3c0f10dd1ee packet length was 476 and if you fill it with numbers (1 + 4 + 4 + 452 + 14 + 1) it equals 476 too... so it propably makes sense...\r\n - TODO:\r\n  - Evil SQL Query to transfer old mounts from character_spell into account_mounts (I'll propably have to export the Mount.db2 for spellIds (just thinking out loud)\r\n  - add support for PlayerCondition.db2\r\n  - add support for db table disables\r\n  - add support for mounts that change when you change your faction (propably table in world db player_factionchange_spells)\r\n\r\nAs usual pardon my english, it's not my native tongue.","created_at":"2015-06-07T01:51:04Z","updated_at":"2015-06-10T02:05:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6262be23e568e0468214546ec836af68a14256ea","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/14849/commits","review_comments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/14849/comments","review_comment_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/14849/comments","statuses_url":"https://api.github.com/repos/TrinityCore/TrinityCore/statuses/fc1450e117ecc649bc42542b09079c593f38fc64","head":{"label":"Boomper:accountwidemounts","ref":"accountwidemounts","sha":"fc1450e117ecc649bc42542b09079c593f38fc64","user":{"login":"Boomper","id":799249,"avatar_url":"https://avatars.githubusercontent.com/u/799249?v=3","gravatar_id":"","url":"https://api.github.com/users/Boomper","html_url":"https://github.com/Boomper","followers_url":"https://api.github.com/users/Boomper/followers","following_url":"https://api.github.com/users/Boomper/following{/other_user}","gists_url":"https://api.github.com/users/Boomper/gists{/gist_id}","starred_url":"https://api.github.com/users/Boomper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boomper/subscriptions","organizations_url":"https://api.github.com/users/Boomper/orgs","repos_url":"https://api.github.com/users/Boomper/repos","events_url":"https://api.github.com/users/Boomper/events{/privacy}","received_events_url":"https://api.github.com/users/Boomper/received_events","type":"User","site_admin":false},"repo":{"id":36578656,"name":"TrinityCore","full_name":"Boomper/TrinityCore","owner":{"login":"Boomper","id":799249,"avatar_url":"https://avatars.githubusercontent.com/u/799249?v=3","gravatar_id":"","url":"https://api.github.com/users/Boomper","html_url":"https://github.com/Boomper","followers_url":"https://api.github.com/users/Boomper/followers","following_url":"https://api.github.com/users/Boomper/following{/other_user}","gists_url":"https://api.github.com/users/Boomper/gists{/gist_id}","starred_url":"https://api.github.com/users/Boomper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Boomper/subscriptions","organizations_url":"https://api.github.com/users/Boomper/orgs","repos_url":"https://api.github.com/users/Boomper/repos","events_url":"https://api.github.com/users/Boomper/events{/privacy}","received_events_url":"https://api.github.com/users/Boomper/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Boomper/TrinityCore","description":"TrinityCore Open Source MMO Framework","fork":true,"url":"https://api.github.com/repos/Boomper/TrinityCore","forks_url":"https://api.github.com/repos/Boomper/TrinityCore/forks","keys_url":"https://api.github.com/repos/Boomper/TrinityCore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Boomper/TrinityCore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Boomper/TrinityCore/teams","hooks_url":"https://api.github.com/repos/Boomper/TrinityCore/hooks","issue_events_url":"https://api.github.com/repos/Boomper/TrinityCore/issues/events{/number}","events_url":"https://api.github.com/repos/Boomper/TrinityCore/events","assignees_url":"https://api.github.com/repos/Boomper/TrinityCore/assignees{/user}","branches_url":"https://api.github.com/repos/Boomper/TrinityCore/branches{/branch}","tags_url":"https://api.github.com/repos/Boomper/TrinityCore/tags","blobs_url":"https://api.github.com/repos/Boomper/TrinityCore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Boomper/TrinityCore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Boomper/TrinityCore/git/refs{/sha}","trees_url":"https://api.github.com/repos/Boomper/TrinityCore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Boomper/TrinityCore/statuses/{sha}","languages_url":"https://api.github.com/repos/Boomper/TrinityCore/languages","stargazers_url":"https://api.github.com/repos/Boomper/TrinityCore/stargazers","contributors_url":"https://api.github.com/repos/Boomper/TrinityCore/contributors","subscribers_url":"https://api.github.com/repos/Boomper/TrinityCore/subscribers","subscription_url":"https://api.github.com/repos/Boomper/TrinityCore/subscription","commits_url":"https://api.github.com/repos/Boomper/TrinityCore/commits{/sha}","git_commits_url":"https://api.github.com/repos/Boomper/TrinityCore/git/commits{/sha}","comments_url":"https://api.github.com/repos/Boomper/TrinityCore/comments{/number}","issue_comment_url":"https://api.github.com/repos/Boomper/TrinityCore/issues/comments{/number}","contents_url":"https://api.github.com/repos/Boomper/TrinityCore/contents/{+path}","compare_url":"https://api.github.com/repos/Boomper/TrinityCore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Boomper/TrinityCore/merges","archive_url":"https://api.github.com/repos/Boomper/TrinityCore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Boomper/TrinityCore/downloads","issues_url":"https://api.github.com/repos/Boomper/TrinityCore/issues{/number}","pulls_url":"https://api.github.com/repos/Boomper/TrinityCore/pulls{/number}","milestones_url":"https://api.github.com/repos/Boomper/TrinityCore/milestones{/number}","notifications_url":"https://api.github.com/repos/Boomper/TrinityCore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Boomper/TrinityCore/labels{/name}","releases_url":"https://api.github.com/repos/Boomper/TrinityCore/releases{/id}","created_at":"2015-05-30T22:49:10Z","updated_at":"2015-05-30T22:49:24Z","pushed_at":"2015-06-10T00:06:21Z","git_url":"git://github.com/Boomper/TrinityCore.git","ssh_url":"git@github.com:Boomper/TrinityCore.git","clone_url":"https://github.com/Boomper/TrinityCore.git","svn_url":"https://github.com/Boomper/TrinityCore","homepage":"http://www.trinitycore.org","size":364996,"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":"6.x"}},"base":{"label":"TrinityCore:6.x","ref":"6.x","sha":"36086a643be5a13086ea7cf5811344074d6d5a39","user":{"login":"TrinityCore","id":539602,"avatar_url":"https://avatars.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://avatars.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}","created_at":"2010-12-28T23:40:07Z","updated_at":"2015-06-09T19:12:28Z","pushed_at":"2015-06-10T00:20:41Z","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":852593,"stargazers_count":2854,"watchers_count":2854,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2972,"mirror_url":null,"open_issues_count":1033,"forks":2972,"open_issues":1033,"watchers":2854,"default_branch":"6.x"}},"_links":{"self":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/14849"},"html":{"href":"https://github.com/TrinityCore/TrinityCore/pull/14849"},"issue":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/14849"},"comments":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/14849/comments"},"review_comments":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/14849/comments"},"review_comment":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/14849/commits"},"statuses":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/statuses/fc1450e117ecc649bc42542b09079c593f38fc64"}}}}