First try at updating command system to be like TC. Still needs alot of testing/work
This commit is contained in:
@@ -702,7 +702,7 @@ namespace Game.BattleGrounds
|
||||
PVPMatchComplete pvpMatchComplete = new();
|
||||
pvpMatchComplete.Winner = (byte)GetWinner();
|
||||
pvpMatchComplete.Duration = (int)Math.Max(0, (GetElapsedTime() - (int)BattlegroundStartTimeIntervals.Delay2m) / Time.InMilliseconds);
|
||||
pvpMatchComplete.LogData.HasValue = true;
|
||||
pvpMatchComplete.LogData.Value = new();
|
||||
BuildPvPLogDataPacket(out pvpMatchComplete.LogData.Value);
|
||||
pvpMatchComplete.Write();
|
||||
|
||||
|
||||
@@ -65,7 +65,7 @@ namespace Game.BattleGrounds
|
||||
playerData.Faction = (byte)TeamId;
|
||||
if (HonorableKills != 0 || Deaths != 0 || BonusHonor != 0)
|
||||
{
|
||||
playerData.Honor.HasValue = true;
|
||||
playerData.Honor.Value = new();
|
||||
playerData.Honor.Value.HonorKills = HonorableKills;
|
||||
playerData.Honor.Value.Deaths = Deaths;
|
||||
playerData.Honor.Value.ContributionPoints = BonusHonor;
|
||||
|
||||
Reference in New Issue
Block a user