summaryrefslogtreecommitdiff
path: root/npc/003-0-1
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-12-31 20:48:31 -0300
committerJesusaves <cpntb1@ymail.com>2019-12-31 20:48:31 -0300
commitc1eea7c5d9eac5e8197f74b81a243294213fb5d3 (patch)
tree4bad1ed738d3e03710c7c12537ec8724c9f6f1bb /npc/003-0-1
parent2ec95f0ce211f85af1eee41fc3eec7e401a89031 (diff)
downloadserverdata-c1eea7c5d9eac5e8197f74b81a243294213fb5d3.tar.gz
serverdata-c1eea7c5d9eac5e8197f74b81a243294213fb5d3.tar.bz2
serverdata-c1eea7c5d9eac5e8197f74b81a243294213fb5d3.tar.xz
serverdata-c1eea7c5d9eac5e8197f74b81a243294213fb5d3.zip
Increase base AFK timer to 30 minutes - And recalculate stats.
You'll get the 2 hours limit (like Homunculus) after 900 logged AFK hours
Diffstat (limited to 'npc/003-0-1')
-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 fb32e82dd..4c3c323e9 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 10 minutes AFKed
- // Capped at 2 hours (you've AFK'ed 37 days and 12 hours)
- .@maxafk=min(7200, 900+(AFKING/600));
+ // Max AFK time is determined as 30 minutes + 1 second every 10 minutes AFKed
+ // Capped at 2 hours (you've AFK'ed 37 days and 12 hours - 900 hours)
+ .@maxafk=min(7200, 1800+(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())) {