DB/Conditions: Fix quest Returning the Favor
Closes #3035 Also fix build (not enough Ctrl+S)
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
-- Spell Place Kil'sorrow Banner can not only be cast on Warmaul Ogres
|
||||||
|
DELETE FROM `conditions` WHERE `SourceEntry` IN (32314) AND `ConditionValue2` IN (17138,18064);
|
||||||
|
INSERT INTO `conditions` (`SourceTypeOrReferenceId`,`SourceGroup`,`SourceEntry`,`ElseGroup`,`ConditionTypeOrReference`,`ConditionValue1`,`ConditionValue2`,`ConditionValue3`,`ErrorTextId`,`ScriptName`,`Comment`) VALUES
|
||||||
|
(13,0,32314,0,18,1,17138,0,0,'',"Spell Place Kil'sorrow Banner can not only be cast on Warmaul Ogres"), -- Warmaul Reaver
|
||||||
|
(13,0,32314,1,18,1,18064,0,0,'',"Spell Place Kil'sorrow Banner can not only be cast on Warmaul Ogres"); -- Warmaul Shaman
|
||||||
@@ -1180,7 +1180,7 @@ public:
|
|||||||
bool OnGossipHello(Player* player, GameObject* go)
|
bool OnGossipHello(Player* player, GameObject* go)
|
||||||
{
|
{
|
||||||
if (player->GetQuestStatus(QUEST_FINDING_THE_SURVIVORS) != QUEST_STATUS_INCOMPLETE)
|
if (player->GetQuestStatus(QUEST_FINDING_THE_SURVIVORS) != QUEST_STATUS_INCOMPLETE)
|
||||||
return;
|
return false;
|
||||||
|
|
||||||
if (Creature* prisoner = go->FindNearestCreature(NPC_MAGHAR_PRISONER, 1.0f))
|
if (Creature* prisoner = go->FindNearestCreature(NPC_MAGHAR_PRISONER, 1.0f))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user