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 /npc/003-0-1 | |
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
Diffstat (limited to 'npc/003-0-1')
-rw-r--r-- | npc/003-0-1/professor.txt | 10 |
1 files changed, 10 insertions, 0 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; |