Whispers of the Raven (10607)

Issue #947 resolved
bewtihozzy created an issue

Whispers of the Raven (10607)

Kill Grishna arakkoa (22232) to gain Understanding Ravenspeech for 2 minutes. While under the effects of the spell, you can find and receive the prophecy from the four shrines. Return when you have visited all four.
Receive the First Prophecy
Receive the Second Prophecy
Receive the Third Prophecy
Receive the Fourth Prophecy

bug: When you kill the Grishna arakkoa, it doesnt give you the buff.

-> https://youtu.be/SNMBbDA-nR8

Edit: I moved the mob to that spot so he doesnt get attacked by guards xD

Comments (7)

  1. Selphius

    Fix for this:

    /*######
    ## npc_grishna_arakkoa
    ######*/
    
    struct npc_grishna_arakkoaAI : public ScriptedAI
    {
        npc_grishna_arakkoaAI(Creature *c) : ScriptedAI(c) {}
    
        void Reset() { }
    
        void JustDied(Unit* killer)
        {
            if (Player *plWho = killer->GetCharmerOrOwnerPlayerOrPlayerItself())
            {
                if (plWho->GetQuestStatus(10607) == QUEST_STATUS_INCOMPLETE)
                    if (urand(0, 2))
                        plWho->CastSpell(plWho, 37642, true, 0, 0, 0);
            }
        }
    
        void UpdateAI(const uint32 /*diff*/)
        {
            if (!UpdateVictim())
                return;
            DoMeleeAttackIfReady();
        }
    };
    
    CreatureAI* GetAI_npc_grishna_arakkoa(Creature* pCreature)
    {
        return new npc_grishna_arakkoaAI(pCreature);
    }
    
    newscript = new Script;
        newscript->Name = "npc_grishna_arakkoa";
        newscript->GetAI = &GetAI_npc_grishna_arakkoa;
        newscript->RegisterSelf();
    
  2. AlphaFox

    i have compile errors .... after change to this

    #include "ScriptPCH.h"
    #include "ScriptMgr.h"
    #include "ScriptedCreature.h"
    #include "ScriptedGossip.h"
    #include <cstring>
    /*######
    ## npc_grishna_arakkoa
    ######*/
    
    struct npc_grishna_arakkoaAI : public ScriptedAI
    {
        npc_grishna_arakkoaAI(Creature *c) : ScriptedAI(c) {}
    
        void Reset() { }
    
        void JustDied(Unit* killer)
        {
            if (Player *plWho = killer->GetCharmerOrOwnerPlayerOrPlayerItself())
            {
                if (plWho->GetQuestStatus(10607) == QUEST_STATUS_INCOMPLETE)
                    if (urand(0, 2))
                        plWho->CastSpell(plWho, 37642, true, 0, 0, 0);
            }
        }
    
        void UpdateAI(const uint32 /*diff*/)
        {
            if (!UpdateVictim())
                return;
            DoMeleeAttackIfReady();
        }
    };
    
    CreatureAI* GetAI_npc_grishna_arakkoa(Creature* pCreature)
    {
        return new npc_grishna_arakkoaAI(pCreature);
    }
    
    void AddSC_npc_grishna_arakkoa()
    {
        Script* newscript;
    
       newscript = new Script;
        newscript->Name = "npc_grishna_arakkoa";
        newscript->GetAI = &GetAI_npc_grishna_arakkoa;
        newscript->RegisterSelf();
    }
    

    no compile error

  3. Selphius

    Well you will have compile errors since you "create entire new script" from what I see by

    void AddSC_npc_grishna_arakkoa()
    

    Since this quest is in Blade Edge Mountains, you could add it to Blade Edge Mountains.cpp where rest of the quest for this zone are located, you wouldn't have to add all those new lines like you did.

  4. Log in to comment