{"action":"created","comment":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments/47437716","id":47437716,"diff_hunk":"@@ -4120,6 +4120,45 @@ class spell_gen_mixology_bonus : public SpellScriptLoader\n     }\n };\n \n+enum LandmineKnockbackAchievement\n+{\n+    SPELL_LANDMINE_KNOCKBACK_ACHIEVEMENT = 57064\n+};\n+\n+class spell_gen_landmine_knockback_achievement : public SpellScriptLoader\n+{\n+    public:\n+        spell_gen_landmine_knockback_achievement() : SpellScriptLoader(\"spell_gen_landmine_knockback_achievement\") { }\n+\n+        class spell_gen_landmine_knockback_achievement_SpellScript : public SpellScript\n+        {\n+            PrepareSpellScript(spell_gen_landmine_knockback_achievement_SpellScript);\n+\n+            void HandleScript(SpellEffIndex /*effIndex*/)\n+            {\n+                if (Player* target = GetHitPlayer())\n+                {\n+                    Aura const* aura = GetHitAura();\n+                    if (!aura || aura->GetStackAmount() < 10)\n+                        return;\n+\n+                    target->CastSpell(target, SPELL_LANDMINE_KNOCKBACK_ACHIEVEMENT, true);\n+                }\n+            }\n+\n+            void Register() override\n+            {\n+                OnEffectHitTarget += SpellEffectFn(spell_gen_landmine_knockback_achievement_SpellScript::HandleScript, EFFECT_0, SPELL_EFFECT_SCRIPT_EFFECT);\n+                OnEffectHitTarget += SpellEffectFn(spell_gen_landmine_knockback_achievement_SpellScript::HandleScript, EFFECT_1, SPELL_EFFECT_APPLY_AURA);","path":"src/server/scripts/Spells/spell_generic.cpp","position":33,"original_position":33,"commit_id":"3aa28c3165d80c24a12d52c989f24686324384c0","original_commit_id":"3aa28c3165d80c24a12d52c989f24686324384c0","user":{"login":"sirikfoll","id":11219553,"avatar_url":"https://avatars.githubusercontent.com/u/11219553?v=3","gravatar_id":"","url":"https://api.github.com/users/sirikfoll","html_url":"https://github.com/sirikfoll","followers_url":"https://api.github.com/users/sirikfoll/followers","following_url":"https://api.github.com/users/sirikfoll/following{/other_user}","gists_url":"https://api.github.com/users/sirikfoll/gists{/gist_id}","starred_url":"https://api.github.com/users/sirikfoll/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sirikfoll/subscriptions","organizations_url":"https://api.github.com/users/sirikfoll/orgs","repos_url":"https://api.github.com/users/sirikfoll/repos","events_url":"https://api.github.com/users/sirikfoll/events{/privacy}","received_events_url":"https://api.github.com/users/sirikfoll/received_events","type":"User","site_admin":false},"body":"will work","created_at":"2015-12-12T22:39:55Z","updated_at":"2015-12-12T22:39:55Z","html_url":"https://github.com/TrinityCore/TrinityCore/pull/15977#discussion_r47437716","pull_request_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15977","_links":{"self":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments/47437716"},"html":{"href":"https://github.com/TrinityCore/TrinityCore/pull/15977#discussion_r47437716"},"pull_request":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15977"}}},"pull_request":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15977","id":53229142,"html_url":"https://github.com/TrinityCore/TrinityCore/pull/15977","diff_url":"https://github.com/TrinityCore/TrinityCore/pull/15977.diff","patch_url":"https://github.com/TrinityCore/TrinityCore/pull/15977.patch","issue_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/15977","number":15977,"state":"open","locked":false,"title":"Scripts/Spells: Mine Sweeper achievement","user":{"login":"tkrokli","id":4903600,"avatar_url":"https://avatars.githubusercontent.com/u/4903600?v=3","gravatar_id":"","url":"https://api.github.com/users/tkrokli","html_url":"https://github.com/tkrokli","followers_url":"https://api.github.com/users/tkrokli/followers","following_url":"https://api.github.com/users/tkrokli/following{/other_user}","gists_url":"https://api.github.com/users/tkrokli/gists{/gist_id}","starred_url":"https://api.github.com/users/tkrokli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkrokli/subscriptions","organizations_url":"https://api.github.com/users/tkrokli/orgs","repos_url":"https://api.github.com/users/tkrokli/repos","events_url":"https://api.github.com/users/tkrokli/events{/privacy}","received_events_url":"https://api.github.com/users/tkrokli/received_events","type":"User","site_admin":false},"body":"Enable achievement spell 57064, \"Mine Sweeper\" in SpellScript\r\n(when the core issue has been solved by the TC devs)\r\n\r\nby @Vincent-Michael / @Re3os / @ccrs","created_at":"2015-12-10T08:39:04Z","updated_at":"2015-12-12T22:39:55Z","closed_at":null,"merged_at":null,"merge_commit_sha":"79f327bf9366b707fa4be37e9ed574a66776eb05","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15977/commits","review_comments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15977/comments","review_comment_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/15977/comments","statuses_url":"https://api.github.com/repos/TrinityCore/TrinityCore/statuses/3aa28c3165d80c24a12d52c989f24686324384c0","head":{"label":"tkrokli:landmine_knockback_achievement","ref":"landmine_knockback_achievement","sha":"3aa28c3165d80c24a12d52c989f24686324384c0","user":{"login":"tkrokli","id":4903600,"avatar_url":"https://avatars.githubusercontent.com/u/4903600?v=3","gravatar_id":"","url":"https://api.github.com/users/tkrokli","html_url":"https://github.com/tkrokli","followers_url":"https://api.github.com/users/tkrokli/followers","following_url":"https://api.github.com/users/tkrokli/following{/other_user}","gists_url":"https://api.github.com/users/tkrokli/gists{/gist_id}","starred_url":"https://api.github.com/users/tkrokli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkrokli/subscriptions","organizations_url":"https://api.github.com/users/tkrokli/orgs","repos_url":"https://api.github.com/users/tkrokli/repos","events_url":"https://api.github.com/users/tkrokli/events{/privacy}","received_events_url":"https://api.github.com/users/tkrokli/received_events","type":"User","site_admin":false},"repo":{"id":33367544,"name":"TrinityCore","full_name":"tkrokli/TrinityCore","owner":{"login":"tkrokli","id":4903600,"avatar_url":"https://avatars.githubusercontent.com/u/4903600?v=3","gravatar_id":"","url":"https://api.github.com/users/tkrokli","html_url":"https://github.com/tkrokli","followers_url":"https://api.github.com/users/tkrokli/followers","following_url":"https://api.github.com/users/tkrokli/following{/other_user}","gists_url":"https://api.github.com/users/tkrokli/gists{/gist_id}","starred_url":"https://api.github.com/users/tkrokli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tkrokli/subscriptions","organizations_url":"https://api.github.com/users/tkrokli/orgs","repos_url":"https://api.github.com/users/tkrokli/repos","events_url":"https://api.github.com/users/tkrokli/events{/privacy}","received_events_url":"https://api.github.com/users/tkrokli/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tkrokli/TrinityCore","description":"TrinityCore Open Source MMO Framework","fork":true,"url":"https://api.github.com/repos/tkrokli/TrinityCore","forks_url":"https://api.github.com/repos/tkrokli/TrinityCore/forks","keys_url":"https://api.github.com/repos/tkrokli/TrinityCore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tkrokli/TrinityCore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tkrokli/TrinityCore/teams","hooks_url":"https://api.github.com/repos/tkrokli/TrinityCore/hooks","issue_events_url":"https://api.github.com/repos/tkrokli/TrinityCore/issues/events{/number}","events_url":"https://api.github.com/repos/tkrokli/TrinityCore/events","assignees_url":"https://api.github.com/repos/tkrokli/TrinityCore/assignees{/user}","branches_url":"https://api.github.com/repos/tkrokli/TrinityCore/branches{/branch}","tags_url":"https://api.github.com/repos/tkrokli/TrinityCore/tags","blobs_url":"https://api.github.com/repos/tkrokli/TrinityCore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tkrokli/TrinityCore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tkrokli/TrinityCore/git/refs{/sha}","trees_url":"https://api.github.com/repos/tkrokli/TrinityCore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tkrokli/TrinityCore/statuses/{sha}","languages_url":"https://api.github.com/repos/tkrokli/TrinityCore/languages","stargazers_url":"https://api.github.com/repos/tkrokli/TrinityCore/stargazers","contributors_url":"https://api.github.com/repos/tkrokli/TrinityCore/contributors","subscribers_url":"https://api.github.com/repos/tkrokli/TrinityCore/subscribers","subscription_url":"https://api.github.com/repos/tkrokli/TrinityCore/subscription","commits_url":"https://api.github.com/repos/tkrokli/TrinityCore/commits{/sha}","git_commits_url":"https://api.github.com/repos/tkrokli/TrinityCore/git/commits{/sha}","comments_url":"https://api.github.com/repos/tkrokli/TrinityCore/comments{/number}","issue_comment_url":"https://api.github.com/repos/tkrokli/TrinityCore/issues/comments{/number}","contents_url":"https://api.github.com/repos/tkrokli/TrinityCore/contents/{+path}","compare_url":"https://api.github.com/repos/tkrokli/TrinityCore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tkrokli/TrinityCore/merges","archive_url":"https://api.github.com/repos/tkrokli/TrinityCore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tkrokli/TrinityCore/downloads","issues_url":"https://api.github.com/repos/tkrokli/TrinityCore/issues{/number}","pulls_url":"https://api.github.com/repos/tkrokli/TrinityCore/pulls{/number}","milestones_url":"https://api.github.com/repos/tkrokli/TrinityCore/milestones{/number}","notifications_url":"https://api.github.com/repos/tkrokli/TrinityCore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tkrokli/TrinityCore/labels{/name}","releases_url":"https://api.github.com/repos/tkrokli/TrinityCore/releases{/id}","created_at":"2015-04-03T14:46:13Z","updated_at":"2015-12-06T20:57:57Z","pushed_at":"2015-12-12T17:43:30Z","git_url":"git://github.com/tkrokli/TrinityCore.git","ssh_url":"git@github.com:tkrokli/TrinityCore.git","clone_url":"https://github.com/tkrokli/TrinityCore.git","svn_url":"https://github.com/tkrokli/TrinityCore","homepage":"http://www.trinitycore.org","size":368240,"stargazers_count":7,"watchers_count":7,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":2,"mirror_url":null,"open_issues_count":7,"forks":2,"open_issues":7,"watchers":7,"default_branch":"3.3.5"}},"base":{"label":"TrinityCore:3.3.5","ref":"3.3.5","sha":"80ed03a84d2a0cbdd0d37d9c57994724333ae798","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-12-12T05:48:36Z","pushed_at":"2015-12-12T19:52:09Z","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":753407,"stargazers_count":3055,"watchers_count":3055,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3211,"mirror_url":null,"open_issues_count":1216,"forks":3211,"open_issues":1216,"watchers":3055,"default_branch":"6.x"}},"_links":{"self":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15977"},"html":{"href":"https://github.com/TrinityCore/TrinityCore/pull/15977"},"issue":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/15977"},"comments":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/15977/comments"},"review_comments":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15977/comments"},"review_comment":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15977/commits"},"statuses":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/statuses/3aa28c3165d80c24a12d52c989f24686324384c0"}}}}