diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-10-14 20:22:49 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-10-14 20:22:49 -0300 |
commit | 02e6e3ce1f51fcf63fafa97b718815e576b25e34 (patch) | |
tree | bc904dc93c3e68e3767a74b43ddb20c5ad2b46c9 /npc/003-0-1 | |
parent | 66e86c7b06ac24b0b7c1f14629ed8eebaba25521 (diff) | |
download | serverdata-02e6e3ce1f51fcf63fafa97b718815e576b25e34.tar.gz serverdata-02e6e3ce1f51fcf63fafa97b718815e576b25e34.tar.bz2 serverdata-02e6e3ce1f51fcf63fafa97b718815e576b25e34.tar.xz serverdata-02e6e3ce1f51fcf63fafa97b718815e576b25e34.zip |
Reduce exploitable surface (AFKing bugs)
Diffstat (limited to 'npc/003-0-1')
-rw-r--r-- | npc/003-0-1/professor.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/003-0-1/professor.txt b/npc/003-0-1/professor.txt index d98594e36..c6699b4fc 100644 --- a/npc/003-0-1/professor.txt +++ b/npc/003-0-1/professor.txt @@ -55,8 +55,8 @@ OnSpeeching: // Note you don't need to sit, only be idle. if (is_between(2, .@maxafk, checkidle())) { .@sk=getskilllv(TMW2_SPEECH); - .@bxp=1+.@sk; - .@jxp=1+(.@sk/2); + .@bxp=min(1+.@sk, 12); + .@jxp=min(1+(.@sk/2), 6); getexp .@bxp, .@jxp; |