{"comment":{"created_at":"2011-10-16T18:03:05Z","body":"u get credit when u take the ghouls back to whats his name","updated_at":"2011-10-16T18:03:05Z","url":"https://api.github.com/repos/mangosR2/mangos/issues/comments/2422064","id":2422064,"user":{"gravatar_id":"4498f6e1daaccfba36478c051290efc0","avatar_url":"https://secure.gravatar.com/avatar/4498f6e1daaccfba36478c051290efc0?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/xFallenAngelx","id":1047347,"login":"xFallenAngelx"}},"action":"created","issue":{"number":436,"created_at":"2011-10-16T17:21:16Z","pull_request":{"diff_url":null,"patch_url":null,"html_url":null},"body":"This is hacky fix for quest 12698. More generic way will involve writing of custom quest objective handling.\r\n\r\n---\r\n\r\ndiff --git a/src/bindings/ScriptDev2/scripts/eastern_kingdoms/scarlet_enclave/ebon_hold.cpp b/src/bindings/ScriptDev2/scripts/eastern_kingdoms/scarlet_enclave/ebon_hold.cpp\r\nindex 6ffadec..b9e07be 100644\r\n--- a/src/bindings/ScriptDev2/scripts/eastern_kingdoms/scarlet_enclave/ebon_hold.cpp\r\n+++ b/src/bindings/ScriptDev2/scripts/eastern_kingdoms/scarlet_enclave/ebon_hold.cpp\r\n@@ -1307,10 +1307,11 @@ CreatureAI* GetAI_npc_eye_of_acherus(Creature* pCreature)\r\n ######*/\r\n enum scarletminer\r\n {\r\n+    NPC_SCARLET_GHOUL                   = 28845,\r\n     QUEST_GIFT_THAT_KEEPS_GIVING        = 12698,\r\n     SPELL_GIFT_OF_THE_HARVESTER_MISSILE = 52481,\r\n-    SPELL_SUMMOM_GHOUL                    = 52490,\r\n-    SPELL_SUMMON_GHOST                    = 52505,\r\n+    SPELL_SUMMOM_GHOUL                  = 52490,\r\n+    SPELL_SUMMON_GHOST                  = 52505,\r\n };\r\n\r\n struct MANGOS_DLL_DECL mob_scarlet_minerAI : public ScriptedAI\r\n@@ -1340,6 +1341,7 @@ struct MANGOS_DLL_DECL mob_scarlet_minerAI : public ScriptedAI\r\n                 if (rand()%100 < 35)    //35% chance to summon ghoul\r\n                 {\r\n                     pCaster->CastSpell(m_creature->GetPositionX(),m_creature->GetPositionY(),m_creature->GetPositionZ(),SPELL_SUMMOM_GHOUL, true);\r\n+                    ((Player*)pCaster)->KilledMonsterCredit(NPC_SCARLET_GHOUL); // hack quest credit\r\n                 }\r\n                 else\r\n                 {\r\n","comments":1,"title":"Quest 12698","updated_at":"2011-10-16T18:03:05Z","url":"https://api.github.com/repos/mangosR2/mangos/issues/436","id":1922447,"assignee":null,"milestone":null,"closed_at":null,"user":{"gravatar_id":"600b83ff057a0f1b054e0ce46bd2e422","avatar_url":"https://secure.gravatar.com/avatar/600b83ff057a0f1b054e0ce46bd2e422?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","url":"https://api.github.com/users/alexat","id":29947,"login":"alexat"},"html_url":"https://github.com/mangosR2/mangos/issues/436","labels":[],"state":"open"},"legacy":{"issue_id":1922447,"comment_id":2422064}}