[7700] Implement ACHIEVEMENT_CRITERIA_TYPE_EARN_HONORABLE_KILL

Signed-off-by: VladimirMangos <vladimir@getmangos.com>
This commit is contained in:
DonTomika 2009-04-23 00:08:48 +04:00 committed by VladimirMangos
parent 898acd1248
commit adf9eb942d
4 changed files with 9 additions and 2 deletions

View file

@ -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
{