mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Core/Script): Kargath should prevent adds spawn on death (#16388)
This commit is contained in:
@@ -126,6 +126,8 @@ struct boss_warchief_kargath_bladefist : public BossAI
|
|||||||
{
|
{
|
||||||
Talk(SAY_DEATH);
|
Talk(SAY_DEATH);
|
||||||
BossAI::JustDied(killer);
|
BossAI::JustDied(killer);
|
||||||
|
if (Creature* warchiefPortal = instance->GetCreature(DATA_WARCHIEF_PORTAL))
|
||||||
|
warchiefPortal->AI()->SetData(DATA_RESET_FIGHT, 0);
|
||||||
if (instance)
|
if (instance)
|
||||||
{
|
{
|
||||||
if (Creature* executioner = ObjectAccessor::GetCreature(*me, instance->GetGuidData(DATA_EXECUTIONER)))
|
if (Creature* executioner = ObjectAccessor::GetCreature(*me, instance->GetGuidData(DATA_EXECUTIONER)))
|
||||||
|
|||||||
Reference in New Issue
Block a user