DB/Conditions: Fix quest Returning the Favor

Closes #3035

Also fix build (not enough Ctrl+S)
This commit is contained in:
Discover-
2011-10-22 17:48:09 +01:00
committed by Nay
parent 26b3e62b26
commit fc174912f4
2 changed files with 6 additions and 1 deletions
@@ -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
+1 -1
View File
@@ -1180,7 +1180,7 @@ public:
bool OnGossipHello(Player* player, GameObject* go)
{
if (player->GetQuestStatus(QUEST_FINDING_THE_SURVIVORS) != QUEST_STATUS_INCOMPLETE)
return;
return false;
if (Creature* prisoner = go->FindNearestCreature(NPC_MAGHAR_PRISONER, 1.0f))
{