summaryrefslogtreecommitdiff
path: root/npc/003-0-1/professor.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-15 17:49:55 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-15 17:49:55 -0300
commitda29bf8f67035c13e163cb3e548dffe07dff53c0 (patch)
treef6914aca9cab0374e47306ddee98127f7d09ad86 /npc/003-0-1/professor.txt
parent5cf34fcb5f3ed3bb5515106cb53d728a7893535d (diff)
downloadserverdata-da29bf8f67035c13e163cb3e548dffe07dff53c0.tar.gz
serverdata-da29bf8f67035c13e163cb3e548dffe07dff53c0.tar.bz2
serverdata-da29bf8f67035c13e163cb3e548dffe07dff53c0.tar.xz
serverdata-da29bf8f67035c13e163cb3e548dffe07dff53c0.zip
You can now learn Ancient Languages :>
Diffstat (limited to 'npc/003-0-1/professor.txt')
-rw-r--r--npc/003-0-1/professor.txt11
1 files changed, 11 insertions, 0 deletions
diff --git a/npc/003-0-1/professor.txt b/npc/003-0-1/professor.txt
index bb2268e7a..4b5a8be46 100644
--- a/npc/003-0-1/professor.txt
+++ b/npc/003-0-1/professor.txt
@@ -35,6 +35,17 @@ OnSpeeching:
if (is_between(3, 300, checkidle())) {
getexp 1+getskilllv(TMW2_SPEECH),1;
// dispbottom l("It is a boring speech...");
+
+ // If you are learning TMW2_READANCIENTLANGUAGES
+ if (ANCIENTLANGUAGEBOUNCER) {
+ ANCIENTLANGUAGEBOUNCER-=1;
+ if (ANCIENTLANGUAGEBOUNCER == 1) {
+ ANCIENTLANGUAGEBOUNCER=0;
+ skill TMW2_ANCIENTLANGUAGES, 1, 0;
+ dispbottom l("It was a boring speech, but you have learned ancient languages.");
+ }
+ }
+
}
end;
}