mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
fix(Scripts/BlackwingLair): Prevent Razorgores' eggs from respawning … (#11336)
* fix(Scripts/BlackwingLair): Prevent Razorgores' eggs from respawning after wipe. * Update. * Update. * Update.
This commit is contained in:
@@ -306,6 +306,7 @@ public:
|
||||
razorgore->AI()->DoAction(TALK_EGG_BROKEN_RAND);
|
||||
egg->SetLootState(GO_READY);
|
||||
egg->UseDoorOrButton(10000);
|
||||
egg->SetRespawnTime(WEEK);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -310,6 +310,8 @@ public:
|
||||
|
||||
break;
|
||||
case SPECIAL:
|
||||
if (EggEvent == NOT_STARTED)
|
||||
SetData(DATA_EGG_EVENT, IN_PROGRESS);
|
||||
if (++EggCount >= EggList.size())
|
||||
{
|
||||
if (Creature* razor = instance->GetCreature(razorgoreGUID))
|
||||
@@ -321,8 +323,6 @@ public:
|
||||
_events.ScheduleEvent(EVENT_RAZOR_PHASE_TWO, 1000);
|
||||
_events.CancelEvent(EVENT_RAZOR_SPAWN);
|
||||
}
|
||||
if (EggEvent == NOT_STARTED)
|
||||
SetData(DATA_EGG_EVENT, IN_PROGRESS);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user