summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-03-18 01:47:24 -0300
committerJesusaves <cpntb1@ymail.com>2021-03-18 01:47:24 -0300
commit52869695e7690ea0e12a20e60e40edc63a231e38 (patch)
tree95fae6ce4739714bf07fcb35876dceea10cafb22
parent3ce2d61e61b90602b608606a50e32e847c4f779b (diff)
downloadserverdata-52869695e7690ea0e12a20e60e40edc63a231e38.tar.gz
serverdata-52869695e7690ea0e12a20e60e40edc63a231e38.tar.bz2
serverdata-52869695e7690ea0e12a20e60e40edc63a231e38.tar.xz
serverdata-52869695e7690ea0e12a20e60e40edc63a231e38.zip
Fix major problem on AFKing skill
-rw-r--r--npc/003-0-1/professor.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/npc/003-0-1/professor.txt b/npc/003-0-1/professor.txt
index f0a0685fd..0fa668d56 100644
--- a/npc/003-0-1/professor.txt
+++ b/npc/003-0-1/professor.txt
@@ -89,13 +89,13 @@ OnSpeeching:
.@x=1;
case 201600:
// +1 week, +403,200 exp
- .@x=(AFKING >= 201600 ? 2 : 1);
+ .@x=(AFKING >= 201600 ? 2 : .@x);
case 864000:
// +1 month, +2,592,000 exp
- .@x=(AFKING >= 864000 ? 3 : 2);
+ .@x=(AFKING >= 864000 ? 3 : .@x);
case 2592000:
// +3 months, +10,368,000 exp
- .@x=(AFKING >= 2592000 ? 4 : 3);
+ .@x=(AFKING >= 2592000 ? 4 : .@x);
// Note: In the needed time (~4 months) you should be over 90 if you
// were fighting instead...
skill(TMW2_SPEECH, .@x, 0);