Scripts/Sholazar Basin: Fix logic in npc_jungle_punch_target. Allows quest credit from NPC_TAMARA

This commit is contained in:
Machiavelli
2011-01-16 00:54:13 +01:00
parent 09f2a48227
commit 542a89b150
@@ -497,7 +497,7 @@ public:
{ {
switch (sayStep) switch (sayStep)
{ {
case 1: case 0:
{ {
switch (me->GetEntry()) switch (me->GetEntry())
{ {
@@ -509,7 +509,7 @@ public:
sayStep++; sayStep++;
break; break;
} }
case 2: case 1:
{ {
switch (me->GetEntry()) switch (me->GetEntry())
{ {
@@ -521,7 +521,7 @@ public:
sayStep++; sayStep++;
break; break;
} }
case 3: case 2:
{ {
switch (me->GetEntry()) switch (me->GetEntry())
{ {
@@ -555,17 +555,17 @@ public:
{ {
switch (i) switch (i)
{ {
case 1: case 0:
if (NPC_HEMET != me->GetEntry()) if (NPC_HEMET != me->GetEntry())
continue; continue;
else else
break; break;
case 2: case 1:
if (NPC_HADRIUS != me->GetEntry()) if (NPC_HADRIUS != me->GetEntry())
continue; continue;
else else
break; break;
case 3: case 2:
if (NPC_TAMARA != me->GetEntry()) if (NPC_TAMARA != me->GetEntry())
continue; continue;
else else
@@ -577,7 +577,7 @@ public:
caster->ToPlayer()->KilledMonsterCredit(me->GetEntry(), 0); caster->ToPlayer()->KilledMonsterCredit(me->GetEntry(), 0);
caster->ToPlayer()->Say(SAY_OFFER, LANG_UNIVERSAL); caster->ToPlayer()->Say(SAY_OFFER, LANG_UNIVERSAL);
sayStep = 1; sayStep = 0;
break; break;
} }
} }