Core/Players: Add PlayerExtraFlags for tracking race change, level boost, and raf level grant usage

Port From (https://github.com/TrinityCore/TrinityCore/commit/c2751f9195959a199413e332d2b595a60e4a6d35)
This commit is contained in:
hondacrx
2021-06-06 14:12:53 -04:00
parent 21d8fbee40
commit d687d41078
4 changed files with 17 additions and 3 deletions
+2 -1
View File
@@ -1795,7 +1795,8 @@ namespace Game
{
stmt = DB.Characters.GetPreparedStatement(CharStatements.UPD_CHAR_RACE);
stmt.AddValue(0, (byte)factionChangeInfo.RaceID);
stmt.AddValue(1, lowGuid);
stmt.AddValue(1, (ushort)PlayerExtraFlags.HasRaceChanged);
stmt.AddValue(2, lowGuid);
trans.Append(stmt);
}