fix(Scripts/MoltenCore): Added loot recipient to Cache of the Firelord. (#13209)
This commit is contained in:
+5
-1
@@ -250,7 +250,11 @@ public:
|
|||||||
|
|
||||||
if (bossId == DATA_MAJORDOMO_EXECUTUS && state == DONE)
|
if (bossId == DATA_MAJORDOMO_EXECUTUS && state == DONE)
|
||||||
{
|
{
|
||||||
DoRespawnGameObject(_cacheOfTheFirelordGUID, 7 * DAY);
|
if (GameObject* cache = instance->GetGameObject(_cacheOfTheFirelordGUID))
|
||||||
|
{
|
||||||
|
cache->SetRespawnTime(7 * DAY);
|
||||||
|
cache->SetLootRecipient(instance);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if (bossId == DATA_GOLEMAGG)
|
else if (bossId == DATA_GOLEMAGG)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user