summaryrefslogtreecommitdiff
path: root/npc/magic/study.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/magic/study.txt')
-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);