aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql/updates/world/2011_10_22_17_world_conditions.sql5
-rw-r--r--src/server/scripts/Outland/nagrand.cpp2
2 files changed, 6 insertions, 1 deletions
diff --git a/sql/updates/world/2011_10_22_17_world_conditions.sql b/sql/updates/world/2011_10_22_17_world_conditions.sql
new file mode 100644
index 00000000000..db824c4ec3f
--- /dev/null
+++ b/sql/updates/world/2011_10_22_17_world_conditions.sql
@@ -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
diff --git a/src/server/scripts/Outland/nagrand.cpp b/src/server/scripts/Outland/nagrand.cpp
index 7c071b16802..73ffb063b4d 100644
--- a/src/server/scripts/Outland/nagrand.cpp
+++ b/src/server/scripts/Outland/nagrand.cpp
@@ -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))
{