Refinement of the todo
This commit is contained in:
parent
bad7b0933d
commit
b32676fbac
@ -64,6 +64,14 @@ local function postStatistics(mapParams, timesPlayed, freqMult, zombiePercentCal
|
|||||||
end
|
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)
|
-- 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)
|
hook.Add("PostEndRound", "pointsave_givedapoints", function(winner)
|
||||||
timer.Destroy("pointsave_zombieintervalcounter")
|
timer.Destroy("pointsave_zombieintervalcounter")
|
||||||
|
Loading…
Reference in New Issue
Block a user