fix(Scripts/AQ40): prevent Master's Eye respawn crash in OnCreatureCreate (#25460)
Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -81,7 +81,7 @@ public:
|
||||
creature->Respawn();
|
||||
break;
|
||||
case NPC_MASTERS_EYE:
|
||||
if (GetBossState(DATA_TWIN_EMPERORS) != DONE)
|
||||
if (GetBossState(DATA_TWIN_EMPERORS) != DONE && !creature->IsAlive())
|
||||
creature->Respawn(true);
|
||||
break;
|
||||
case NPC_CTHUN:
|
||||
|
||||
Reference in New Issue
Block a user