From 1f991004ba06cd63a3fbd3417f660ae3e21d136c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 8 Jun 2019 16:27:31 -0300 Subject: Resync now uses rand2() --- npc/commands/resync.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/commands') diff --git a/npc/commands/resync.txt b/npc/commands/resync.txt index 3c68d8644..246bfa88d 100644 --- a/npc/commands/resync.txt +++ b/npc/commands/resync.txt @@ -25,7 +25,7 @@ OnCall: } getmapxy(.@m$, .@x, .@y, 0); slide .@x, .@y; - @rsync_delay=gettimetick(2)+rand(4,6); + @rsync_delay=gettimetick(2)+rand2(3,5); end; // Hard Resync @@ -34,7 +34,7 @@ OnCallRefresh: dispbottom l("Not resync'ing to prevent flood."); end; } - @rsync_delay=gettimetick(2)+rand(4,6); + @rsync_delay=gettimetick(2)+rand2(3,5); atcommand("@refresh"); end; -- cgit v1.2.3-60-g2f50