From 675662673fd3e2cd50a6108cdbfe5fa5f43fc4d5 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 17 Oct 2019 08:40:51 -0300 Subject: Missing line --- npc/003-0-1/professor.txt | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'npc/003-0-1') diff --git a/npc/003-0-1/professor.txt b/npc/003-0-1/professor.txt index 673c05b65..43fd6f6cd 100644 --- a/npc/003-0-1/professor.txt +++ b/npc/003-0-1/professor.txt @@ -32,8 +32,9 @@ OnTimer3000: end; OnSpeeching: - // Max AFK time is determined as 15 minutes + 1 minute every 20 minutes AFKed - .@maxafk=900+(AFKING/1200); + // Max AFK time is determined as 15 minutes + 1 second every 20 minutes AFKed + // Capped at 1 hour (you've AFK'ed 37 days and 12 hours) + .@maxafk=max(3600, 900+(AFKING/1200)); // If you have been IDLE for at least 2 seconds you'll get the EXP. // Note you don't need to sit, only be idle. if (is_between(2, .@maxafk, checkidle())) { -- cgit v1.2.3-70-g09d2