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 | |
parent | 66e86c7b06ac24b0b7c1f14629ed8eebaba25521 (diff) | |
download | serverdata-02e6e3ce1f51fcf63fafa97b718815e576b25e34.tar.gz serverdata-02e6e3ce1f51fcf63fafa97b718815e576b25e34.tar.bz2 serverdata-02e6e3ce1f51fcf63fafa97b718815e576b25e34.tar.xz serverdata-02e6e3ce1f51fcf63fafa97b718815e576b25e34.zip |
Reduce exploitable surface (AFKing bugs)
-rw-r--r-- | db/re/item_db.conf | 2 | ||||
-rw-r--r-- | npc/003-0-1/professor.txt | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/db/re/item_db.conf b/db/re/item_db.conf index e5d287783..29708c93b 100644 --- a/db/re/item_db.conf +++ b/db/re/item_db.conf @@ -6075,7 +6075,7 @@ item_db: ( dispbottom "A deep slumber falls over you."; @min = 1; @max = 1; - @delay = 30; + @delay = 10; @type = SC_SLEEP; doevent "inc_sc_bonus::OnUse"; "> 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; |