From 542a89b15067ecf6ca2370e6dc22a0ce6c6f0ff0 Mon Sep 17 00:00:00 2001 From: Machiavelli Date: Sun, 16 Jan 2011 00:54:13 +0100 Subject: Scripts/Sholazar Basin: Fix logic in npc_jungle_punch_target. Allows quest credit from NPC_TAMARA --- src/server/scripts/Northrend/sholazar_basin.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'src') diff --git a/src/server/scripts/Northrend/sholazar_basin.cpp b/src/server/scripts/Northrend/sholazar_basin.cpp index 38dcfd4d8de..53dfca49d5f 100644 --- a/src/server/scripts/Northrend/sholazar_basin.cpp +++ b/src/server/scripts/Northrend/sholazar_basin.cpp @@ -497,7 +497,7 @@ public: { switch (sayStep) { - case 1: + case 0: { switch (me->GetEntry()) { @@ -509,7 +509,7 @@ public: sayStep++; break; } - case 2: + case 1: { switch (me->GetEntry()) { @@ -521,7 +521,7 @@ public: sayStep++; break; } - case 3: + case 2: { switch (me->GetEntry()) { @@ -555,17 +555,17 @@ public: { switch (i) { - case 1: + case 0: if (NPC_HEMET != me->GetEntry()) continue; else break; - case 2: + case 1: if (NPC_HADRIUS != me->GetEntry()) continue; else break; - case 3: + case 2: if (NPC_TAMARA != me->GetEntry()) continue; else @@ -577,7 +577,7 @@ public: caster->ToPlayer()->KilledMonsterCredit(me->GetEntry(), 0); caster->ToPlayer()->Say(SAY_OFFER, LANG_UNIVERSAL); - sayStep = 1; + sayStep = 0; break; } } -- cgit v1.2.3