summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-03-01 21:59:17 -0300
committerJesusaves <cpntb1@ymail.com>2020-03-01 21:59:17 -0300
commitd8e7d5221df8c96a7a4fe4752ea088522bc0f611 (patch)
tree87641a12535bf9437065e5d3986d029259b49e7a /npc
parent8db08d5337bb2dfe7d5681fba823d203047cdac9 (diff)
downloadserverdata-d8e7d5221df8c96a7a4fe4752ea088522bc0f611.tar.gz
serverdata-d8e7d5221df8c96a7a4fe4752ea088522bc0f611.tar.bz2
serverdata-d8e7d5221df8c96a7a4fe4752ea088522bc0f611.tar.xz
serverdata-d8e7d5221df8c96a7a4fe4752ea088522bc0f611.zip
AFK Professor: Prevent any eventual, incorrect double skill level up
Diffstat (limited to 'npc')
-rw-r--r--npc/003-0-1/professor.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/003-0-1/professor.txt b/npc/003-0-1/professor.txt
index aeeed932d..94a1e057f 100644
--- a/npc/003-0-1/professor.txt
+++ b/npc/003-0-1/professor.txt
@@ -77,18 +77,21 @@ OnSpeeching:
case 28800:
// 24 hours, 28,800 exp
sk_lvup(TMW2_SPEECH);
+ AFKING+=1;
npctalk3 l("%s, you're a good student. You have a bright future if you keep listening to me.", strcharinfo(0));
dispbottom l("Learning from seeing (aka. AFK-ing) skill LEVEL UP!!");
break;
case 201600:
// +1 week, +403,200 exp
sk_lvup(TMW2_SPEECH);
+ AFKING+=1;
npctalk3 l("%s, you're a good student. You have a bright future if you keep listening to me.", strcharinfo(0));
dispbottom l("Learning from seeing (aka. AFK-ing) skill LEVEL UP!!");
break;
case 864000:
// +1 month, +2,592,000 exp
sk_lvup(TMW2_SPEECH);
+ AFKING+=1;
npctalk3 l("%s, you're a good student. You have a bright future if you keep listening to me.", strcharinfo(0));
dispbottom l("Learning from seeing (aka. AFK-ing) skill LEVEL UP!!");
break;
@@ -97,6 +100,7 @@ OnSpeeching:
// Note: In the needed time (~4 months) you should be over 60 if you
// were fighting instead...
sk_lvup(TMW2_SPEECH);
+ AFKING+=1;
npctalk3 l("%s, you're a good student. You have a bright future if you keep listening to me.", strcharinfo(0));
dispbottom l("Learning from seeing (aka. AFK-ing) skill LEVEL UP!!");
break;