aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTCKiper <kiperek@o2.pl>2011-05-19 15:03:58 +0200
committerSupabad <Supabad.trinity@gmail.com>2011-05-19 15:03:58 +0200
commitfb4913da3d900cc35bf3a636bd60dd1dafefd9de (patch)
tree6c5c1f56f70e58ce62aec0e2bce1f0acbe392b64
parenta0ad1fcc24179662130274370f4ad5ddc7e99853 (diff)
Scripts/Nagrand: Update KillCredit for quest chain of corky
-rw-r--r--src/server/scripts/Outland/nagrand.cpp7
1 files changed, 4 insertions, 3 deletions
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;