mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-03-16 14:05:28 +00:00
fix(Scripts/Quest): Correct respawn logic for Isla Starmane and Rin'ji (#17874)
* Create rev_1694739263824086500.sql * init * 2
This commit is contained in:
@@ -472,7 +472,7 @@ public:
|
||||
{
|
||||
case 0:
|
||||
if (GameObject* Cage = me->FindNearestGameObject(GO_CAGE, 10))
|
||||
Cage->SetGoState(GO_STATE_ACTIVE);
|
||||
Cage->UseDoorOrButton();
|
||||
break;
|
||||
case 2:
|
||||
Talk(SAY_PROGRESS_1, player);
|
||||
@@ -501,9 +501,10 @@ public:
|
||||
}
|
||||
}
|
||||
|
||||
void Reset() override
|
||||
void JustRespawned() override
|
||||
{
|
||||
me->RestoreFaction();
|
||||
me->SetImmuneToAll(true);
|
||||
npc_escortAI::JustRespawned();
|
||||
}
|
||||
|
||||
void JustDied(Unit* /*killer*/) override
|
||||
|
||||
Reference in New Issue
Block a user