Refinement of the todo

This commit is contained in:
David Vogel 2018-07-16 18:21:24 +02:00
parent bad7b0933d
commit b32676fbac

View File

@ -64,6 +64,14 @@ local function postStatistics(mapParams, timesPlayed, freqMult, zombiePercentCal
end
-- TODO: When round is lost, take away points from human players that were there at the beginning of the game (All Human players that were there at the end of round 1, when late joiners join as zombies)
--[[
Cases:
- When round is lost:
- Only players from the end of Wave 1 (online or disconnected) get the 85% reduction of points. But online players get some additional points
- When round is won:
- All humans get points + jackpot
- Zombies get a few points (but a reduction of 85% if they were there since the end of wave 1)
]]--
hook.Add("PostEndRound", "pointsave_givedapoints", function(winner)
timer.Destroy("pointsave_zombieintervalcounter")