fix(Core/Dungeon/Boss Script): Halls of Stone - Brann Respawn - Naxxaramus Noth Teleport phase Bug - Ulduar StormcCaller Brundir inFly Die Bug (#2063)
This commit is contained in:
parent
d9d84c4eb9
commit
bad8390dee
3 changed files with 8 additions and 1 deletions
|
|
@ -157,6 +157,7 @@ public:
|
|||
|
||||
void JustDied(Unit* killer) override
|
||||
{
|
||||
me->NearTeleportTo(nothPosition.GetPositionX(), nothPosition.GetPositionY(), nothPosition.GetPositionZ(), nothPosition.GetOrientation(), true);
|
||||
BossAI::JustDied(killer);
|
||||
Talk(SAY_DEATH);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -587,6 +587,12 @@ public:
|
|||
ResetEvent();
|
||||
if(pInstance)
|
||||
{
|
||||
if (Creature *brann = ObjectAccessor::GetCreature(*me, pInstance->GetData64(NPC_BRANN)))
|
||||
{
|
||||
brann->setDeathState(JUST_DIED);
|
||||
brann->Respawn();
|
||||
brann->AI()->DoAction(5);
|
||||
}
|
||||
if (pInstance->GetData(BOSS_TRIBUNAL_OF_AGES) != DONE)
|
||||
pInstance->SetData(BOSS_TRIBUNAL_OF_AGES, NOT_STARTED);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -682,7 +682,7 @@ public:
|
|||
{
|
||||
if (!pInstance)
|
||||
return;
|
||||
|
||||
me->NearTeleportTo(me->GetPositionX(), me->GetPositionY(), 427.5, me->GetOrientation());
|
||||
if (IsEncounterComplete(pInstance, me))
|
||||
{
|
||||
pInstance->SetData(TYPE_ASSEMBLY, DONE);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue