mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Fix _DespawnAtEvade for other creatures to actually respawn said other creatures.
Also fix add aggro for Hadronox. Fixes and closes #18012.
This commit is contained in:
@@ -569,7 +569,7 @@ void BossAI::_DespawnAtEvade(uint32 delayToRespawn, Creature* who)
|
||||
return;
|
||||
}
|
||||
|
||||
me->DespawnOrUnsummon(0, Seconds(delayToRespawn));
|
||||
who->DespawnOrUnsummon(0, Seconds(delayToRespawn));
|
||||
|
||||
if (instance && who == me)
|
||||
instance->SetBossState(_bossId, FAIL);
|
||||
|
||||
@@ -789,7 +789,7 @@ struct npc_hadronox_foeAI : public ScriptedAI
|
||||
me->GetMotionMaster()->MovePoint(MOVE_HADRONOX, hadronoxStep[2]);
|
||||
break;
|
||||
}
|
||||
me->GetMotionMaster()->MoveChase(hadronox);
|
||||
AttackStart(hadronox);
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user