Scaling fixes; Added player bar color
This commit is contained in:
@@ -125,7 +125,22 @@
|
||||
function combate:GetDeaths()
|
||||
return self.last_events_tables
|
||||
end
|
||||
|
||||
|
||||
function combate:GetPlayerDeaths(deadPlayerName)
|
||||
local allDeaths = self:GetDeaths()
|
||||
local deaths = {}
|
||||
|
||||
for i = 1, #allDeaths do
|
||||
local thisDeath = allDeaths[i]
|
||||
local thisPlayerName = thisDeath[3]
|
||||
if (deadPlayerName == thisPlayerName) then
|
||||
deaths[#deaths+1] = thisDeath
|
||||
end
|
||||
end
|
||||
|
||||
return deaths
|
||||
end
|
||||
|
||||
function combate:GetCombatId()
|
||||
return self.combat_id
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user