mirror of
https://github.com/mangosfour/server.git
synced 2025-12-12 19:37:03 +00:00
[9543] Really call ACHIEVEMENT_CRITERIA_TYPE_WIN_BG
Also make more wide set achievement type criterias expected requirement in DB table. Original patch in achievement call part provided BudIcePenguin. Prepared to mangos sources by Burned@ru-mangos.ru
This commit is contained in:
parent
531b3b669e
commit
b47520a500
3 changed files with 4 additions and 3 deletions
|
|
@ -797,6 +797,7 @@ void BattleGround::EndBattleGround(uint32 winner)
|
|||
{
|
||||
RewardMark(plr,ITEM_WINNER_COUNT);
|
||||
RewardQuestComplete(plr);
|
||||
plr->GetAchievementMgr().UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_WIN_BG, 1);
|
||||
}
|
||||
else
|
||||
RewardMark(plr,ITEM_LOSER_COUNT);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue