summaryrefslogtreecommitdiff
path: root/npc/003-0-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-10-17 08:40:51 -0300
committerJesusaves <cpntb1@ymail.com>2019-10-17 08:40:51 -0300
commit675662673fd3e2cd50a6108cdbfe5fa5f43fc4d5 (patch)
treea4ccc7e5a202787943b0712ba568cd8e6d8072ee /npc/003-0-1
parent0e988bdc9e0b424d40ef61bd2a41e2ebb1ea3cfd (diff)
downloadserverdata-675662673fd3e2cd50a6108cdbfe5fa5f43fc4d5.tar.gz
serverdata-675662673fd3e2cd50a6108cdbfe5fa5f43fc4d5.tar.bz2
serverdata-675662673fd3e2cd50a6108cdbfe5fa5f43fc4d5.tar.xz
serverdata-675662673fd3e2cd50a6108cdbfe5fa5f43fc4d5.zip
Missing line
Diffstat (limited to 'npc/003-0-1')
-rw-r--r--npc/003-0-1/professor.txt5
1 files changed, 3 insertions, 2 deletions
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())) {