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

View File

@@ -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;
}
}