summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-12-31 20:42:21 -0300
committerJesusaves <cpntb1@ymail.com>2019-12-31 20:42:21 -0300
commit2ec95f0ce211f85af1eee41fc3eec7e401a89031 (patch)
tree901b35bebabdeecd8ef036024be20ed0ad32cf59
parent4e5959c989988dc50be52ad73ea22083af202cbd (diff)
downloadserverdata-2ec95f0ce211f85af1eee41fc3eec7e401a89031.tar.gz
serverdata-2ec95f0ce211f85af1eee41fc3eec7e401a89031.tar.bz2
serverdata-2ec95f0ce211f85af1eee41fc3eec7e401a89031.tar.xz
serverdata-2ec95f0ce211f85af1eee41fc3eec7e401a89031.zip
Increase overall AFK performance: You can AFK for longer, and the 15 minutes
time frame gets increased faster. It takes about 900 hours to this reach the limit of 2 hours AFK.
-rw-r--r--npc/003-0-1/professor.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/003-0-1/professor.txt b/npc/003-0-1/professor.txt
index 50941cf98..fb32e82dd 100644
--- a/npc/003-0-1/professor.txt
+++ b/npc/003-0-1/professor.txt
@@ -47,9 +47,9 @@ OnTimer3100:
OnSpeeching:
deltimer(.name$+"::OnSpeeching"); // safeguard
- // 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=min(3600, 900+(AFKING/1200));
+ // Max AFK time is determined as 15 minutes + 1 second every 10 minutes AFKed
+ // Capped at 2 hours (you've AFK'ed 37 days and 12 hours)
+ .@maxafk=min(7200, 900+(AFKING/600));
// 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())) {