Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dead Man's Plea #537

Open
rmzV opened this issue Jan 27, 2023 · 9 comments
Open

Dead Man's Plea #537

rmzV opened this issue Jan 27, 2023 · 9 comments

Comments

@rmzV
Copy link
Contributor

rmzV commented Jan 27, 2023

https://www.wowhead.com/classic/quest=8945/dead-mans-plea

questender missed
https://www.wowhead.com/classic/npc=16031/ysida-harmon

@insunaa
Copy link
Collaborator

insunaa commented Jan 27, 2023

void instance_stratholme::OnPlayerEnter(Player* player)
{
    // Baron ultimatum succeeded: summon Ysida outside the cage alive
    if (GetData(TYPE_BARON_RUN) == DONE)
        player->SummonCreature(NPC_YSIDA, stratholmeLocation[8].m_fX, stratholmeLocation[8].m_fY, stratholmeLocation[8].m_fZ, stratholmeLocation[8].m_fO, TEMPSPAWN_DEAD_DESPAWN, 0);
    // Baron ultimatum failed: summon Ysida outside the cage dead
    else if (GetData(TYPE_BARON_RUN) == FAIL)
    {
        if (Creature* ysida = player->SummonCreature(NPC_YSIDA, stratholmeLocation[8].m_fX, stratholmeLocation[8].m_fY, stratholmeLocation[8].m_fZ, stratholmeLocation[8].m_fO, TEMPSPAWN_DEAD_DESPAWN, 0))
            ysida->SetDeadByDefault(true);
    }
}
case TYPE_BARON_RUN:
            switch (data)
            {
                case IN_PROGRESS:
                    if (m_auiEncounter[type] == IN_PROGRESS || m_auiEncounter[type] == FAIL)
                        break;

                    // Baron ultimatum starts: summon Ysida in the cage
                    if (Creature* pBaron = GetSingleCreatureFromStorage(NPC_BARON))
                    {
                        DoOrSimulateScriptTextForThisInstance(SAY_ANNOUNCE_RUN_START, NPC_BARON);
                        if (Creature* pYsida = pBaron->SummonCreature(NPC_YSIDA, stratholmeLocation[7].m_fX, stratholmeLocation[7].m_fY, stratholmeLocation[7].m_fZ, stratholmeLocation[7].m_fO, TEMPSPAWN_DEAD_DESPAWN, 0))
                            pYsida->RemoveFlag(UNIT_NPC_FLAGS, UNIT_NPC_FLAG_QUESTGIVER | UNIT_NPC_FLAG_GOSSIP);
                    }

                    m_baronRunTimer = 45 * MINUTE * IN_MILLISECONDS;

@rmzV
Copy link
Contributor Author

rmzV commented Jul 12, 2023

Hello @Grz3s can you check this plx?

@Grz3s
Copy link
Member

Grz3s commented Jul 12, 2023

sd2 script exist in wotlk .. whats the problem?

@rmzV
Copy link
Contributor Author

rmzV commented Jul 13, 2023

as my earlier run,,, quest ender was not available after baron kill(

@Grz3s
Copy link
Member

Grz3s commented Jul 13, 2023

and all conditions like 45min timer etc...are known for you right?

@rmzV
Copy link
Contributor Author

rmzV commented Jul 13, 2023

you mean that i must be in 45 min timer? yes i am on..the problem with doors still persists(

@rmzV
Copy link
Contributor Author

rmzV commented Jul 13, 2023

I made movie with full run.
https://dropmefiles.com/VXijv

from the non-normal things i have a custom ring (with+ hp ap etc) shown at beginning.
addons are switched off

@rmzV
Copy link
Contributor Author

rmzV commented Jul 15, 2023

@Grz3s Can you check it please?(

@rmzV
Copy link
Contributor Author

rmzV commented Oct 10, 2023

@Grz3s Still no solution?((

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants