diff options
-rw-r--r-- | npc/003-0-1/professor.txt | 42 |
1 files changed, 39 insertions, 3 deletions
diff --git a/npc/003-0-1/professor.txt b/npc/003-0-1/professor.txt index dbde5ce08..673c05b65 100644 --- a/npc/003-0-1/professor.txt +++ b/npc/003-0-1/professor.txt @@ -32,9 +32,11 @@ OnTimer3000: end; OnSpeeching: - // 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(2, 900, checkidle())) { + // Max AFK time is determined as 15 minutes + 1 minute every 20 minutes AFKed + .@maxafk=900+(AFKING/1200); + // If you have been IDLE for at least 2 seconds you'll get the EXP. + // Note you don't need to sit, only be idle. + if (is_between(2, .@maxafk, checkidle())) { .@sk=getskilllv(TMW2_SPEECH); getexp 1+.@sk,1+(.@sk/2); // dispbottom l("It is a boring speech..."); @@ -49,6 +51,40 @@ OnSpeeching: } } + // You're being annoying, now + AFKING+=1; + switch (AFKING) { + case 1200: + // 24 hours, 1200 exp, enough from level 1 to level 10 + sk_lvup(TMW2_SPEECH); + npctalk3 l("@@, you're a good student. You have a bright future if you keep listening to me."); + dispbottom l("Learning from seeing (aka. AFK-ing) skill LEVEL UP!!"); + break; + case 8400: + // +1 week, 16800 exp, enough from level 1 to 23 (only AFK-ing!) + sk_lvup(TMW2_SPEECH); + npctalk3 l("@@, you're a good student. You have a bright future if you keep listening to me."); + dispbottom l("Learning from seeing (aka. AFK-ing) skill LEVEL UP!!"); + break; + case 36000: + // +1 month, 108000 exp, enough from level 1 to ~36 (only AFK-ing!) + sk_lvup(TMW2_SPEECH); + npctalk3 l("@@, you're a good student. You have a bright future if you keep listening to me."); + dispbottom l("Learning from seeing (aka. AFK-ing) skill LEVEL UP!!"); + break; + case 108000: + // +3 months, 432000 exp, enough from level 1 to ~46 (only AFK-ing!) + // Note: In the needed time (~4 months) you should be over 60 if you + // were fighting instead... + sk_lvup(TMW2_SPEECH); + npctalk3 l("@@, you're a good student. You have a bright future if you keep listening to me."); + dispbottom l("Learning from seeing (aka. AFK-ing) skill LEVEL UP!!"); + break; + + // There are no further upgrades to TMW2_SPEECH skill + // You'll need to get the AFK Set if you want to level from 4 to 10. + } + } end; } |