Exiles Reach: remove duplicate Garrick script-summon (DB spawn 730202 now provides him)
This commit is contained in:
@@ -240,7 +240,7 @@ public:
|
|||||||
|
|
||||||
// After the ride is handed in, the camp at the ogre ruins populates:
|
// After the ride is handed in, the camp at the ogre ruins populates:
|
||||||
// Jaina near Austin Huxworth by the rock edging (grants Stocking Up /
|
// Jaina near Austin Huxworth by the rock edging (grants Stocking Up /
|
||||||
// Repair Yourself), Captain Garrick by the campfire.
|
// Repair Yourself), Captain Garrick by the campfire (DB spawn).
|
||||||
if (questId == QUEST_RIDE_OF_THE_SCIENTIFICALLY_ENHANCED_BOAR && player->GetQuestStatus(questId) == QUEST_STATUS_REWARDED)
|
if (questId == QUEST_RIDE_OF_THE_SCIENTIFICALLY_ENHANCED_BOAR && player->GetQuestStatus(questId) == QUEST_STATUS_REWARDED)
|
||||||
{
|
{
|
||||||
if (!player->FindNearestCreature(NPC_OGRE_RUINS_POST_TORGOK_JAINA, 50.0f, true))
|
if (!player->FindNearestCreature(NPC_OGRE_RUINS_POST_TORGOK_JAINA, 50.0f, true))
|
||||||
@@ -248,12 +248,6 @@ public:
|
|||||||
Position(186.572f, -2289.42f, 81.6354f, 2.31301f),
|
Position(186.572f, -2289.42f, 81.6354f, 2.31301f),
|
||||||
TEMPSUMMON_MANUAL_DESPAWN, 0s, 0U, 0U, player->GetGUID()))
|
TEMPSUMMON_MANUAL_DESPAWN, 0s, 0U, 0U, player->GetGUID()))
|
||||||
jaina->SetNpcFlag(UNIT_NPC_FLAG_QUESTGIVER);
|
jaina->SetNpcFlag(UNIT_NPC_FLAG_QUESTGIVER);
|
||||||
|
|
||||||
if (!player->FindNearestCreature(NPC_OGRE_RUINS_POST_TORGOK_GARRICK, 50.0f, true))
|
|
||||||
if (Creature* garrick = player->SummonCreature(NPC_OGRE_RUINS_POST_TORGOK_GARRICK,
|
|
||||||
Position(180.8f, -2286.0f, 81.6f, 0.0f),
|
|
||||||
TEMPSUMMON_MANUAL_DESPAWN, 0s, 0U, 0U, player->GetGUID()))
|
|
||||||
garrick->SetNpcFlag(UNIT_NPC_FLAG_QUESTGIVER);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user