mirror of
https://github.com/liyunfan1223/azerothcore-wotlk.git
synced 2026-08-08 15:58:04 +00:00
fix(Scripts/Naxxramas): set Four Horsemen chest respawn timer to 7 days (#24739)
This commit is contained in:
@@ -258,7 +258,10 @@ public:
|
|||||||
|
|
||||||
if (instance->IsBossDone(BOSS_HORSEMAN))
|
if (instance->IsBossDone(BOSS_HORSEMAN))
|
||||||
if (GameObject* chest = me->GetMap()->SummonGameObject(RAID_MODE(GO_HORSEMEN_CHEST_10, GO_HORSEMEN_CHEST_25), 2514.8f, -2944.9f, 245.55f, 5.51f, 0, 0, 0, 0, 0))
|
if (GameObject* chest = me->GetMap()->SummonGameObject(RAID_MODE(GO_HORSEMEN_CHEST_10, GO_HORSEMEN_CHEST_25), 2514.8f, -2944.9f, 245.55f, 5.51f, 0, 0, 0, 0, 0))
|
||||||
|
{
|
||||||
|
chest->SetRespawnTime(7 * DAY);
|
||||||
chest->SetLootRecipient(me);
|
chest->SetLootRecipient(me);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
void JustEngagedWith(Unit* who) override
|
void JustEngagedWith(Unit* who) override
|
||||||
|
|||||||
Reference in New Issue
Block a user