summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-17 18:12:29 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-17 18:12:29 -0300
commit52ebce88aa7e1acfd1e53ae26fc97e28ab18033c (patch)
treeef6187b8e482eef736d0fb9cf412182fb950b622 /npc
parentb478889f13484153dbe54370e057a5d6b6c85349 (diff)
downloadserverdata-52ebce88aa7e1acfd1e53ae26fc97e28ab18033c.tar.gz
serverdata-52ebce88aa7e1acfd1e53ae26fc97e28ab18033c.tar.bz2
serverdata-52ebce88aa7e1acfd1e53ae26fc97e28ab18033c.tar.xz
serverdata-52ebce88aa7e1acfd1e53ae26fc97e28ab18033c.zip
I think 15 minutes is a reasonable AFK time
Diffstat (limited to 'npc')
-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 e1c3bda10..bc37efbf7 100644
--- a/npc/003-0-1/professor.txt
+++ b/npc/003-0-1/professor.txt
@@ -30,10 +30,11 @@ OnTimer5000:
areatimer2("003-0-1", 29, 34, 41, 38, 10, .name$+"::OnSpeeching");
initnpctimer;
end;
+
OnSpeeching:
- // If you have been IDLE for at least 3 seconds (max AFK 5 minutes)
+ // If you have been IDLE for at least 3 seconds (max AFK 15 minutes)
// You'll get the EXP. Note you don't need to sit, only be idle.
- if (is_between(3, 300, checkidle())) {
+ if (is_between(3, 900, checkidle())) {
getexp 1+getskilllv(TMW2_SPEECH),1;
// dispbottom l("It is a boring speech...");