mirror of
https://github.com/gooba42/adventureland.git
synced 2026-10-14 10:33:47 -05:00
Update server.js to avoid double application of speed reduction from Frozen
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user