From 02e6e3ce1f51fcf63fafa97b718815e576b25e34 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 14 Oct 2020 20:22:49 -0300 Subject: Reduce exploitable surface (AFKing bugs) --- npc/003-0-1/professor.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc') 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; -- cgit v1.2.3-60-g2f50