Core/Quests: Implement quests that require PlayerSlain. Closes #169

This commit is contained in:
Nay
2011-09-05 15:20:02 +01:00
parent 99935fd98c
commit fd3bd4c49d
7 changed files with 88 additions and 9 deletions
+2
View File
@@ -4336,6 +4336,8 @@ void ObjectMgr::LoadQuests()
mExclusiveQuestGroups.insert(std::pair<int32, uint32>(qinfo->ExclusiveGroup, qinfo->GetQuestId()));
if (qinfo->LimitTime)
qinfo->SetFlag(QUEST_TRINITY_FLAGS_TIMED);
if (qinfo->PlayersSlain)
qinfo->SetFlag(QUEST_TRINITY_FLAGS_PLAYER_KILL);
}
// check QUEST_TRINITY_FLAGS_EXPLORATION_OR_EVENT for spell with SPELL_EFFECT_QUEST_COMPLETE