diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-07-30 15:10:36 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-07-30 15:10:36 -0300 |
commit | 784326d8574b76eb325ebec37a9f2efb5fddcc49 (patch) | |
tree | 2e673fe8b11b2bad89388c8b781ff163e8a1abb5 | |
parent | dc0dd669bc34c03d18da63a05aea747321a1a659 (diff) | |
download | serverdata-784326d8574b76eb325ebec37a9f2efb5fddcc49.tar.gz serverdata-784326d8574b76eb325ebec37a9f2efb5fddcc49.tar.bz2 serverdata-784326d8574b76eb325ebec37a9f2efb5fddcc49.tar.xz serverdata-784326d8574b76eb325ebec37a9f2efb5fddcc49.zip |
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
-rw-r--r-- | npc/003-0-1/professor.txt | 10 | ||||
-rw-r--r-- | npc/config/magic.txt | 2 |
2 files changed, 11 insertions, 1 deletions
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; } |