[m] Added some more opcodes and structure updates

This commit is contained in:
Antz 2020-02-19 10:08:25 +00:00
parent 3a721c62ed
commit 5841a35c64
No known key found for this signature in database
GPG key ID: 0DF907270598C85F
7 changed files with 699 additions and 690 deletions

View file

@ -5715,7 +5715,7 @@ bool ChatHandler::HandleResetHonorCommand(char* args)
target->SetCurrencyCount(CURRENCY_HONOR_POINTS, 0);
target->SetUInt32Value(PLAYER_FIELD_KILLS, 0);
target->SetUInt32Value(PLAYER_FIELD_LIFETIME_HONORBALE_KILLS, 0);
target->SetUInt32Value(PLAYER_FIELD_LIFETIME_HONORABLE_KILLS, 0);
target->UpdateAchievementCriteria(ACHIEVEMENT_CRITERIA_TYPE_EARN_HONORABLE_KILL);
return true;