From d8e7d5221df8c96a7a4fe4752ea088522bc0f611 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 1 Mar 2020 21:59:17 -0300 Subject: AFK Professor: Prevent any eventual, incorrect double skill level up --- npc/003-0-1/professor.txt | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'npc/003-0-1') 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; -- cgit v1.2.3-60-g2f50