Add TacticalKillStatsTable back and make it work for all players on your team / Spectator player shows T1/2 losses separately
This commit is contained in:
@@ -6,6 +6,7 @@ require("PGBase")
|
||||
---@field OwnerId integer Owner Player ID.
|
||||
---@field BuildCost integer Tactical build cost.
|
||||
---@field CombatRating integer AI combat power rating.
|
||||
---@field ScoreValue integer Score cost credits.
|
||||
---@field BuildTime number Game time that this unit was built.
|
||||
---@field AliveTime number Game time that this unit became "alive".
|
||||
---@field DeathTime number Game time that this unit was killed.
|
||||
@@ -26,6 +27,7 @@ function UnitClass:New(objectType, playerId)
|
||||
self.OwnerId = playerId
|
||||
self.BuildCost = objectType.Get_Tactical_Build_Cost()
|
||||
self.CombatRating = objectType.Get_Combat_Rating()
|
||||
self.ScoreValue = objectType.Get_Score_Cost_Credits()
|
||||
self.BuildTime = GetCurrentTime()
|
||||
self.AliveTime = -1
|
||||
self.DeathTime = -1
|
||||
|
||||
Reference in New Issue
Block a user