mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-19 08:30:34 +01:00
Scripts/Sholazar Basin: Fix logic in npc_jungle_punch_target. Allows quest credit from NPC_TAMARA
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user