{"action":"created","issue":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/12165","labels_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/12165/labels{/name}","comments_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/12165/comments","events_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/12165/events","html_url":"https://github.com/TrinityCore/TrinityCore/issues/12165","id":34552608,"number":12165,"title":"[3.3.5a][Spell] Worgen's Call","user":{"login":"Rushor","id":5568820,"avatar_url":"https://avatars.githubusercontent.com/u/5568820?v=3","gravatar_id":"","url":"https://api.github.com/users/Rushor","html_url":"https://github.com/Rushor","followers_url":"https://api.github.com/users/Rushor/followers","following_url":"https://api.github.com/users/Rushor/following{/other_user}","gists_url":"https://api.github.com/users/Rushor/gists{/gist_id}","starred_url":"https://api.github.com/users/Rushor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Rushor/subscriptions","organizations_url":"https://api.github.com/users/Rushor/orgs","repos_url":"https://api.github.com/users/Rushor/repos","events_url":"https://api.github.com/users/Rushor/events{/privacy}","received_events_url":"https://api.github.com/users/Rushor/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/labels/Comp-Core","name":"Comp-Core","color":"FF6600"},{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/labels/Feedback-PatchFix","name":"Feedback-PatchFix","color":"d7e102"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2014-05-29T13:00:35Z","updated_at":"2015-02-06T15:51:07Z","closed_at":null,"body":"rev c06dc7d // newest DB\r\nspells:\r\nInfected Worgen Bite : 53094\r\nWorgen's Call : 53095\r\n\r\nSituation:\r\nYou get three stacks of Infected Worgen Bite, but you don't get transformed into a worgen.\r\n\r\nHow it should be:\r\nAfter 3 stacks, the aura  53094 should be removed and therefore you get the aura 53095.\r\n\r\nproof:\r\nBy dreadblood (14,112 – 3·12·124) on 2009/08/25 (Patch 3.2.0)\t\t\r\npersonally i like to get the 3 debuffs to become a worgen.. its fun :)\r\nhttp://www.wowhead.com/spell=53095#comments (first)\r\n\r\nI tried this, but it does not work.\r\n\r\n```diff\r\nclass spell_worgens_call : public SpellScriptLoader\r\n{\r\n    public:\r\n        spell_worgens_call() : SpellScriptLoader(\"spell_worgens_call\") { }\r\n\r\n        class spell_worgens_call_SpellScript : public SpellScript\r\n        {\r\n            public:\r\n                PrepareSpellScript(spell_worgens_call_SpellScript)\r\n\r\n            uint32 worgen;\r\n\r\n            bool Load()\r\n            {\r\n                worgen = sSpellMgr->GetSpellIdForDifficulty(SPELL_WORGEN_BITE, GetCaster());\r\n                if (!sSpellMgr->GetSpellInfo(worgen))\r\n                    return false;\r\n\r\n                return true;\r\n            }\r\n\r\n            void HandleScriptEffect(SpellEffIndex /*effIndex*/)\r\n            {\r\n                if (Unit* target = GetHitUnit())\r\n                {\r\n                    if (Aura* pAura = target->GetAura(worgen))\r\n                    {\r\n                        if (pAura->GetStackAmount() >= 3)\r\n                        {\r\n                            if (target->GetDummyAuraEffect(SPELLFAMILY_GENERIC, 2206, EFFECT_1))\r\n                                target->CastSpell(target, SPELL_WORGEN_CALL, true);\r\n\r\n                            target->RemoveAurasDueToSpell(worgen);\r\n                        }\r\n                    }\r\n                }\r\n            }\r\n\r\n            void Register()\r\n            {\r\n                OnEffectHitTarget += SpellEffectFn(spell_worgens_call_SpellScript::HandleScriptEffect, EFFECT_1, SPELL_EFFECT_SCRIPT_EFFECT);\r\n            }\r\n        };\r\n\r\n        SpellScript* GetSpellScript() const\r\n        {\r\n            return new spell_worgens_call_SpellScript();\r\n        }\r\n};\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/comments/73257582","html_url":"https://github.com/TrinityCore/TrinityCore/issues/12165#issuecomment-73257582","issue_url":"https://api.github.com/repos/TrinityCore/TrinityCore/issues/12165","id":73257582,"user":{"login":"Aokromes","id":539374,"avatar_url":"https://avatars.githubusercontent.com/u/539374?v=3","gravatar_id":"","url":"https://api.github.com/users/Aokromes","html_url":"https://github.com/Aokromes","followers_url":"https://api.github.com/users/Aokromes/followers","following_url":"https://api.github.com/users/Aokromes/following{/other_user}","gists_url":"https://api.github.com/users/Aokromes/gists{/gist_id}","starred_url":"https://api.github.com/users/Aokromes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Aokromes/subscriptions","organizations_url":"https://api.github.com/users/Aokromes/orgs","repos_url":"https://api.github.com/users/Aokromes/repos","events_url":"https://api.github.com/users/Aokromes/events{/privacy}","received_events_url":"https://api.github.com/users/Aokromes/received_events","type":"User","site_admin":false},"created_at":"2015-02-06T15:51:07Z","updated_at":"2015-02-06T15:51:07Z","body":"If this needs c++, can you create a PR for it?"}}