cmangos / wotlk-db

A content database for mangos-wotlk, and World of Warcraft Client Patch 3.3.5
GNU General Public License v3.0
112 stars 100 forks source link

Dead Man's Plea #537

Open rmzV opened 1 year ago

rmzV commented 1 year ago

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

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

insunaa commented 1 year ago
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 commented 1 year ago

Hello @Grz3s can you check this plx?

Grz3s commented 1 year ago

sd2 script exist in wotlk .. whats the problem?

rmzV commented 1 year ago

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

Grz3s commented 1 year ago

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

rmzV commented 1 year ago

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

rmzV commented 1 year ago

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 commented 1 year ago

@Grz3s Can you check it please?(

rmzV commented 1 year ago

@Grz3s Still no solution?((