summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-30 17:31:45 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-30 17:31:45 -0300
commitffc20f531e6e6a43f3f6368b512c48e177bfe479 (patch)
tree7050408061e6d95916d20201733813d3b4ffceb0 /npc
parent94588ed14f0c6491bb1af0877cd1506f836b2c86 (diff)
downloadserverdata-ffc20f531e6e6a43f3f6368b512c48e177bfe479.tar.gz
serverdata-ffc20f531e6e6a43f3f6368b512c48e177bfe479.tar.bz2
serverdata-ffc20f531e6e6a43f3f6368b512c48e177bfe479.tar.xz
serverdata-ffc20f531e6e6a43f3f6368b512c48e177bfe479.zip
Change Professor Cycle to run each 3 seconds (min. idle time from 3 to 2 sec.)
Diffstat (limited to 'npc')
-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 bc37efbf7..e454e1805 100644
--- a/npc/003-0-1/professor.txt
+++ b/npc/003-0-1/professor.txt
@@ -26,15 +26,15 @@ OnInit:
initnpctimer;
end;
-OnTimer5000:
+OnTimer3000:
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 15 minutes)
+ // If you have been IDLE for at least 2 seconds (max AFK 15 minutes)
// You'll get the EXP. Note you don't need to sit, only be idle.
- if (is_between(3, 900, checkidle())) {
+ if (is_between(2, 900, checkidle())) {
getexp 1+getskilllv(TMW2_SPEECH),1;
// dispbottom l("It is a boring speech...");