aboutsummaryrefslogtreecommitdiff
path: root/src/server/scripts/Commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/scripts/Commands')
-rw-r--r--src/server/scripts/Commands/cs_quest.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/server/scripts/Commands/cs_quest.cpp b/src/server/scripts/Commands/cs_quest.cpp
index 6d333866606..1c6b5d55f6a 100644
--- a/src/server/scripts/Commands/cs_quest.cpp
+++ b/src/server/scripts/Commands/cs_quest.cpp
@@ -230,6 +230,11 @@ public:
player->KillCreditGO(creature);
}
+ // player kills
+ if (quest->HasSpecialFlag(QUEST_SPECIAL_FLAGS_PLAYER_KILL))
+ if (uint32 reqPlayers = quest->GetPlayersSlain())
+ player->KilledPlayerCreditForQuest(reqPlayers, quest);
+
// If the quest requires reputation to complete
if (uint32 repFaction = quest->GetRepObjectiveFaction())
{