From 784326d8574b76eb325ebec37a9f2efb5fddcc49 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 30 Jul 2020 15:10:36 -0300 Subject: AFKing update: Homunculus will now always gain experience from AFKing (and always 1) Research points can be obtained - every minute, as much as Study skill --- npc/003-0-1/professor.txt | 10 ++++++++++ npc/config/magic.txt | 2 +- 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/npc/003-0-1/professor.txt b/npc/003-0-1/professor.txt index 37a69640b..d98594e36 100644 --- a/npc/003-0-1/professor.txt +++ b/npc/003-0-1/professor.txt @@ -60,6 +60,16 @@ OnSpeeching: getexp .@bxp, .@jxp; + // Experience for Homunculus + if (gethominfo(0)) + gethomunexp(1); + + // Research happens roughly every minute, based on Study skill + if (getskilllv(TMW2_STUDY)) { + if (AFKING % 20 == 0) + MAGIC_RP+=getskilllv(TMW2_STUDY); + } + // If you are learning TMW2_READANCIENTLANGUAGES if (ANCIENTLANGUAGEBOUNCER) { ANCIENTLANGUAGEBOUNCER-=1; diff --git a/npc/config/magic.txt b/npc/config/magic.txt index 76f207b3a..2f9ec4b53 100644 --- a/npc/config/magic.txt +++ b/npc/config/magic.txt @@ -469,7 +469,7 @@ OnInit: CLASS_OTHER, 100); // Study RegisterMagic(0, TMW2_STUDY, 1, Manapple, 1, - CLASS_OTHER, 1000); + CLASS_OTHER, 400); end; } -- cgit v1.2.3-60-g2f50