Update server.js to avoid double application of speed reduction from Frozen

This commit is contained in:
FreezePhoenix
2025-07-12 13:03:01 -04:00
committed by GitHub
parent 08b0433f36
commit 05df4a7b49
-1
View File
@@ -1470,7 +1470,6 @@ function calculate_common_stats(entity) {
} }
if (entity.s.frozen) { if (entity.s.frozen) {
entity.frequency *= 0.3; entity.frequency *= 0.3;
entity.speed -= 40;
} }
if (entity.speed < 1) { if (entity.speed < 1) {
entity.speed = 1; entity.speed = 1;