]> git.deb.at Git - rhonda/impostor.git/commit
AC CheckMurder: Require half of cooldown
authorminiduikboot <mini@duikbo.at>
Sat, 8 Jan 2022 17:15:12 +0000 (18:15 +0100)
committerminiduikboot <mini@duikbo.at>
Sat, 8 Jan 2022 18:20:11 +0000 (19:20 +0100)
commitdb52b48cd616d4cd91f63ab472e583d139873755
treeefed1b182ca823ddc677e4b85847bed9e0f3b580
parentd7d75471821039aa4560d6b26f6e76f12452009f
AC CheckMurder: Require half of cooldown

When the Guardian Angel protects a player, the impostor that just missed
their kill gets back half of their cooldown. Keeping track of whether or
not the player was protected is more difficult due to how the Guardian
Angel is implemented, so instead we halve the minimum time between kill
in order to minimize false positives.
src/Impostor.Server/Net/Inner/Objects/InnerPlayerInfo.cs