Polish Trophy Hunt pickups and feedback
This commit is contained in:
1 parent
9fb926537c
commit
0c949fadf0
10 files changed
+156
-11
No files matched your search
@@ -62,6 +62,15 @@ local function event(kind: string, p: any)
|
||||
elseif p.side == player:GetAttribute("ArenaTeam") then S.flagHints.picked else S.flagHints.enemyPicked
|
||||
bannerUntil = workspace:GetServerTimeNow() + 2.7
|
||||
end
|
||||
if id == "TrophyHunt" and p.userId == player.UserId then
|
||||
if kind == Kinds.TokensBanked then
|
||||
contour:SetAttribute("Accent", tone)
|
||||
title.Text = string.format(S.trophyHints.banked, p.value or 0)
|
||||
bannerUntil = workspace:GetServerTimeNow() + 2.7
|
||||
elseif kind == Kinds.TokensLost then
|
||||
pending = {key="th_lost",priority=60,text=S.trophyHints.lost,ttl=4}
|
||||
end
|
||||
end
|
||||
if id == "Domination" then
|
||||
if kind == Kinds.ZoneLost and p.side == player:GetAttribute("ArenaTeam") then
|
||||
pending = {key="dp_lost",priority=70,text=S.domination.lost(string.sub(p.text or "A",1,1)),ttl=4}
|
||||
|
||||
Reference in new issue
Block a user