mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-16 02:20:27 +00:00
[Core /Script] Added On player complete quest hook (#1427)
* Added OnPlayerCompleteQuest Hook
This commit is contained in:
@@ -15985,6 +15985,8 @@ void Player::RewardQuest(Quest const* quest, uint32 reward, Object* questGiver,
|
||||
// Xinef: area auras may change on quest completion!
|
||||
UpdateZoneDependentAuras(GetZoneId());
|
||||
UpdateAreaDependentAuras(GetAreaId());
|
||||
|
||||
sScriptMgr->OnPlayerCompleteQuest(this, quest);
|
||||
}
|
||||
|
||||
void Player::FailQuest(uint32 questId)
|
||||
|
||||
Reference in New Issue
Block a user