From fb4913da3d900cc35bf3a636bd60dd1dafefd9de Mon Sep 17 00:00:00 2001 From: TCKiper Date: Thu, 19 May 2011 15:03:58 +0200 Subject: Scripts/Nagrand: Update KillCredit for quest chain of corky --- src/server/scripts/Outland/nagrand.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/server/scripts/Outland/nagrand.cpp') diff --git a/src/server/scripts/Outland/nagrand.cpp b/src/server/scripts/Outland/nagrand.cpp index 5df55d19d3d..54ff410a2ca 100644 --- a/src/server/scripts/Outland/nagrand.cpp +++ b/src/server/scripts/Outland/nagrand.cpp @@ -898,6 +898,7 @@ enum CorkiData // first quest QUEST_HELP = 9923, NPC_CORKI = 18445, + NPC_CORKI_CREDIT_1 = 18369, GO_CORKIS_PRISON = 182349, CORKI_SAY_THANKS = -1800071, // 2nd quest @@ -908,7 +909,7 @@ enum CorkiData // 3rd quest QUEST_CHOWAR_THE_PILLAGER = 9955, NPC_CORKI_3 = 18369, - NPC_CORKI_CREDIT = 18444, + NPC_CORKI_CREDIT_3 = 18444, GO_CORKIS_PRISON_3 = 182521, CORKI_SAY_LAST = -1800073 }; @@ -927,7 +928,7 @@ public: go->SetGoState(GO_STATE_READY); corki->GetMotionMaster()->MovePoint(1, go->GetPositionX()+5, go->GetPositionY(), go->GetPositionZ()); if (player) - player->KilledMonsterCredit(NPC_CORKI, 0); + player->KilledMonsterCredit(NPC_CORKI_CREDIT_1, 0); } } if (go->GetEntry() == GO_CORKIS_PRISON_2) @@ -947,7 +948,7 @@ public: go->SetGoState(GO_STATE_READY); corki->GetMotionMaster()->MovePoint(1, go->GetPositionX()+4, go->GetPositionY(), go->GetPositionZ()); if (player) - player->KilledMonsterCredit(NPC_CORKI_CREDIT, 0); + player->KilledMonsterCredit(NPC_CORKI_CREDIT_3, 0); } } return true; -- cgit v1.2.3