{"action":"created","comment":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments/46082557","id":46082557,"diff_hunk":"@@ -165,23 +193,49 @@ class npc_webwrap : public CreatureScript\n \n     struct npc_webwrapAI : public NullCreatureAI\n     {\n-        npc_webwrapAI(Creature* creature) : NullCreatureAI(creature) { }\n+        npc_webwrapAI(Creature* creature) : NullCreatureAI(creature), victimGUID(ObjectGuid::Empty), visibleTimer(0) { }\n \n         ObjectGuid victimGUID;\n+        uint32 visibleTimer;\n+\n+        void InitializeAI() override\n+        {\n+            me->SetVisible(false);\n+        }\n \n         void SetGUID(ObjectGuid guid, int32 /*param*/) override\n         {\n+            if (!guid)","path":"src/server/scripts/Northrend/Naxxramas/boss_maexxna.cpp","position":188,"original_position":188,"commit_id":"5700de2c381ce77005cc003d255a0da036211b1c","original_commit_id":"5700de2c381ce77005cc003d255a0da036211b1c","user":{"login":"Treeston","id":14020072,"avatar_url":"https://avatars.githubusercontent.com/u/14020072?v=3","gravatar_id":"","url":"https://api.github.com/users/Treeston","html_url":"https://github.com/Treeston","followers_url":"https://api.github.com/users/Treeston/followers","following_url":"https://api.github.com/users/Treeston/following{/other_user}","gists_url":"https://api.github.com/users/Treeston/gists{/gist_id}","starred_url":"https://api.github.com/users/Treeston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Treeston/subscriptions","organizations_url":"https://api.github.com/users/Treeston/orgs","repos_url":"https://api.github.com/users/Treeston/repos","events_url":"https://api.github.com/users/Treeston/events{/privacy}","received_events_url":"https://api.github.com/users/Treeston/received_events","type":"User","site_admin":false},"body":"Yes, cocoon NPC can't be re-assigned a new target after its initial target. One cocoon is spawned per wrap.","created_at":"2015-11-28T18:01:12Z","updated_at":"2015-11-28T18:01:12Z","html_url":"https://github.com/TrinityCore/TrinityCore/pull/15910#discussion_r46082557","pull_request_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15910","_links":{"self":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments/46082557"},"html":{"href":"https://github.com/TrinityCore/TrinityCore/pull/15910#discussion_r46082557"},"pull_request":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15910"}}},"pull_request":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15910","id":52043634,"html_url":"https://github.com/TrinityCore/TrinityCore/pull/15910","diff_url":"https://github.com/TrinityCore/TrinityCore/pull/15910.diff","patch_url":"https://github.com/TrinityCore/TrinityCore/pull/15910.patch","issue_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/15910","number":15910,"state":"open","locked":false,"title":"Scripts/Naxxramas: Maexxna cleanup","user":{"login":"Treeston","id":14020072,"avatar_url":"https://avatars.githubusercontent.com/u/14020072?v=3","gravatar_id":"","url":"https://api.github.com/users/Treeston","html_url":"https://github.com/Treeston","followers_url":"https://api.github.com/users/Treeston/followers","following_url":"https://api.github.com/users/Treeston/following{/other_user}","gists_url":"https://api.github.com/users/Treeston/gists{/gist_id}","starred_url":"https://api.github.com/users/Treeston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Treeston/subscriptions","organizations_url":"https://api.github.com/users/Treeston/orgs","repos_url":"https://api.github.com/users/Treeston/repos","events_url":"https://api.github.com/users/Treeston/events{/privacy}","received_events_url":"https://api.github.com/users/Treeston/received_events","type":"User","site_admin":false},"body":"- Improved Web Wrap target selection code\r\n- Cleanup handling of web wrap position - we will now never send two players to the same position\r\n- Cleanup of web wrap spawn behavior (NPC only spawns _after_ player lands at target dest, instead of instantly)\r\n- Add missing boss emotes\r\n\r\nTODO: Add some more web wrap positions from sniffs, three is a bit on the low end.","created_at":"2015-11-28T16:29:08Z","updated_at":"2015-11-28T18:01:12Z","closed_at":null,"merged_at":null,"merge_commit_sha":"14cd9b09f74a81117bddef1266cfb2e113c4e9f8","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15910/commits","review_comments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15910/comments","review_comment_url":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments{/number}","comments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/15910/comments","statuses_url":"https://api.github.com/repos/TrinityCore/TrinityCore/statuses/5700de2c381ce77005cc003d255a0da036211b1c","head":{"label":"Treeston:3.3.5-maexxna","ref":"3.3.5-maexxna","sha":"5700de2c381ce77005cc003d255a0da036211b1c","user":{"login":"Treeston","id":14020072,"avatar_url":"https://avatars.githubusercontent.com/u/14020072?v=3","gravatar_id":"","url":"https://api.github.com/users/Treeston","html_url":"https://github.com/Treeston","followers_url":"https://api.github.com/users/Treeston/followers","following_url":"https://api.github.com/users/Treeston/following{/other_user}","gists_url":"https://api.github.com/users/Treeston/gists{/gist_id}","starred_url":"https://api.github.com/users/Treeston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Treeston/subscriptions","organizations_url":"https://api.github.com/users/Treeston/orgs","repos_url":"https://api.github.com/users/Treeston/repos","events_url":"https://api.github.com/users/Treeston/events{/privacy}","received_events_url":"https://api.github.com/users/Treeston/received_events","type":"User","site_admin":false},"repo":{"id":42188757,"name":"TrinityCore","full_name":"Treeston/TrinityCore","owner":{"login":"Treeston","id":14020072,"avatar_url":"https://avatars.githubusercontent.com/u/14020072?v=3","gravatar_id":"","url":"https://api.github.com/users/Treeston","html_url":"https://github.com/Treeston","followers_url":"https://api.github.com/users/Treeston/followers","following_url":"https://api.github.com/users/Treeston/following{/other_user}","gists_url":"https://api.github.com/users/Treeston/gists{/gist_id}","starred_url":"https://api.github.com/users/Treeston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Treeston/subscriptions","organizations_url":"https://api.github.com/users/Treeston/orgs","repos_url":"https://api.github.com/users/Treeston/repos","events_url":"https://api.github.com/users/Treeston/events{/privacy}","received_events_url":"https://api.github.com/users/Treeston/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Treeston/TrinityCore","description":"TrinityCore Open Source MMO Framework","fork":true,"url":"https://api.github.com/repos/Treeston/TrinityCore","forks_url":"https://api.github.com/repos/Treeston/TrinityCore/forks","keys_url":"https://api.github.com/repos/Treeston/TrinityCore/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Treeston/TrinityCore/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Treeston/TrinityCore/teams","hooks_url":"https://api.github.com/repos/Treeston/TrinityCore/hooks","issue_events_url":"https://api.github.com/repos/Treeston/TrinityCore/issues/events{/number}","events_url":"https://api.github.com/repos/Treeston/TrinityCore/events","assignees_url":"https://api.github.com/repos/Treeston/TrinityCore/assignees{/user}","branches_url":"https://api.github.com/repos/Treeston/TrinityCore/branches{/branch}","tags_url":"https://api.github.com/repos/Treeston/TrinityCore/tags","blobs_url":"https://api.github.com/repos/Treeston/TrinityCore/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Treeston/TrinityCore/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Treeston/TrinityCore/git/refs{/sha}","trees_url":"https://api.github.com/repos/Treeston/TrinityCore/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Treeston/TrinityCore/statuses/{sha}","languages_url":"https://api.github.com/repos/Treeston/TrinityCore/languages","stargazers_url":"https://api.github.com/repos/Treeston/TrinityCore/stargazers","contributors_url":"https://api.github.com/repos/Treeston/TrinityCore/contributors","subscribers_url":"https://api.github.com/repos/Treeston/TrinityCore/subscribers","subscription_url":"https://api.github.com/repos/Treeston/TrinityCore/subscription","commits_url":"https://api.github.com/repos/Treeston/TrinityCore/commits{/sha}","git_commits_url":"https://api.github.com/repos/Treeston/TrinityCore/git/commits{/sha}","comments_url":"https://api.github.com/repos/Treeston/TrinityCore/comments{/number}","issue_comment_url":"https://api.github.com/repos/Treeston/TrinityCore/issues/comments{/number}","contents_url":"https://api.github.com/repos/Treeston/TrinityCore/contents/{+path}","compare_url":"https://api.github.com/repos/Treeston/TrinityCore/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Treeston/TrinityCore/merges","archive_url":"https://api.github.com/repos/Treeston/TrinityCore/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Treeston/TrinityCore/downloads","issues_url":"https://api.github.com/repos/Treeston/TrinityCore/issues{/number}","pulls_url":"https://api.github.com/repos/Treeston/TrinityCore/pulls{/number}","milestones_url":"https://api.github.com/repos/Treeston/TrinityCore/milestones{/number}","notifications_url":"https://api.github.com/repos/Treeston/TrinityCore/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Treeston/TrinityCore/labels{/name}","releases_url":"https://api.github.com/repos/Treeston/TrinityCore/releases{/id}","created_at":"2015-09-09T15:54:20Z","updated_at":"2015-09-09T15:54:34Z","pushed_at":"2015-11-28T17:38:24Z","git_url":"git://github.com/Treeston/TrinityCore.git","ssh_url":"git@github.com:Treeston/TrinityCore.git","clone_url":"https://github.com/Treeston/TrinityCore.git","svn_url":"https://github.com/Treeston/TrinityCore","homepage":"http://www.trinitycore.org","size":358499,"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":"3.3.5"}},"base":{"label":"TrinityCore:3.3.5","ref":"3.3.5","sha":"e266278f7d029f1547b1ae3228d658463c69da09","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-11-28T03:16:26Z","pushed_at":"2015-11-28T17:38:25Z","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":751091,"stargazers_count":3039,"watchers_count":3039,"language":"C++","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3201,"mirror_url":null,"open_issues_count":1189,"forks":3201,"open_issues":1189,"watchers":3039,"default_branch":"6.x"}},"_links":{"self":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15910"},"html":{"href":"https://github.com/TrinityCore/TrinityCore/pull/15910"},"issue":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/15910"},"comments":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/15910/comments"},"review_comments":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15910/comments"},"review_comment":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/pulls/15910/commits"},"statuses":{"href":"https://api.github.com/repos/TrinityCore/TrinityCore/statuses/5700de2c381ce77005cc003d255a0da036211b1c"}}}}