Add round stages, respawn protection and match highlights

This commit is contained in:
Leshyi committed 2026-11-29 23:29:29 +05:00
1 parent b87a3770a1
commit d1c42a36b8
28 files changed
+753 -45

No files matched your search

@@ -56,6 +56,7 @@ local function start(ctx: Types.ModeContext): Types.ModeInstance
local bonus = leaders[target] == victim
ctx.scoring.add(side, if bonus then 3 else 1, if bonus then Kinds.LeaderDown else "Elimination", player)
if bonus then
ctx.contribute(player, "leaderKills", 1)
clearLeader(target)
ctx.events.fire(Kinds.LeaderDown, {side = side, userId = player.UserId, text = victim.DisplayName})
end