summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-04-17 15:29:12 -0300
committerJesusaves <cpntb1@ymail.com>2021-04-17 15:29:12 -0300
commitcf5e6ea7401ce6bd7f37cc8d0a851eb898cc14d7 (patch)
treef37171ee962efda84236672bd2fb969f83baa54d /npc
parent29f4a7d61e3b525c0130423c50ce61ea1a302ba2 (diff)
downloadserverdata-cf5e6ea7401ce6bd7f37cc8d0a851eb898cc14d7.tar.gz
serverdata-cf5e6ea7401ce6bd7f37cc8d0a851eb898cc14d7.tar.bz2
serverdata-cf5e6ea7401ce6bd7f37cc8d0a851eb898cc14d7.tar.xz
serverdata-cf5e6ea7401ce6bd7f37cc8d0a851eb898cc14d7.zip
Fix typo on study magic
Diffstat (limited to 'npc')
-rw-r--r--npc/magic/study.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/magic/study.txt b/npc/magic/study.txt
index 728bd936a..b747f8b6c 100644
--- a/npc/magic/study.txt
+++ b/npc/magic/study.txt
@@ -19,10 +19,10 @@ function script SK_study {
.@mobID=getunitdata(.@mobGD, UDT_CLASS);
// Research Points
- if (array_rfind(@study, @mobGD) < 0) {
+ if (array_rfind(@study, .@mobGD) < 0) {
.@mult=max(1, 11-getskilllv(TMW2_STUDY));
.@rp=getmonsterinfo(.@mobID, MOB_LV)/.@mult;
- array_push(@study, @mobGD);
+ array_push(@study, .@mobGD);
if (.@rp) {
MAGIC_RP+=.@rp;
dispbottom l("Research Points +%d", .@rp);