mirror of
https://github.com/mangosfour/server.git
synced 2025-12-13 22:37:03 +00:00
[7700] Implement ACHIEVEMENT_CRITERIA_TYPE_EARN_HONORABLE_KILL
Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
parent
898acd1248
commit
adf9eb942d
4 changed files with 9 additions and 2 deletions
|
|
@ -5856,6 +5856,7 @@ bool Player::RewardHonor(Unit *uVictim, uint32 groupsize, float honor)
|
|||
ApplyModUInt32Value(PLAYER_FIELD_KILLS, 1, true);
|
||||
// and those in a lifetime
|
||||
ApplyModUInt32Value(PLAYER_FIELD_LIFETIME_HONORBALE_KILLS, 1, true);
|
||||
UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_EARN_HONORABLE_KILL);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue