Improved velocity handling (#132), some refactoring and small changes

This commit is contained in:
Rammelkast committed 2021-10-12 12:47:53 +02:00
1 parent 9550cc1d09
commit e2d0fbda18
15 files changed
+211 -160

No files matched your search

+1 -7
View File
@@ -20,14 +20,8 @@ KNOCKBACK_DAMAGE_TIME: 2000
# Can be decreased very slightly to increase detection
# Increasing in case of false positives after explosions
EXPLOSION_DAMAGE_TIME: 2500
# Amount of seconds to extend a players velocitized state after receiving velocity again
VELOCITY_EXTENSION: 2
# Time a player is considered to have a change in velocity
VELOCITY_TIME: 1000
# This is a set value and shouldn't be changed unless you know what you're doing
VELOCITY_PREVENT: 2000
# This is a set value and shouldn't be changed unless you know what you're doing
VELOCITY_MAXTIMES: 2
VELOCITY_TIME: 1500
# Minimum travel distance for move to be considered a teleport and subsequently be ignored
# This is a set value and shouldn't be changed unless you know what you're doing
TELEPORT_MIN: 400