diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-03-01 21:59:17 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-03-01 21:59:17 -0300 |
commit | d8e7d5221df8c96a7a4fe4752ea088522bc0f611 (patch) | |
tree | 87641a12535bf9437065e5d3986d029259b49e7a /npc/003-0-1/professor.txt | |
parent | 8db08d5337bb2dfe7d5681fba823d203047cdac9 (diff) | |
download | serverdata-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/003-0-1/professor.txt')
-rw-r--r-- | npc/003-0-1/professor.txt | 4 |
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; |