summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/magic/study.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/magic/study.txt b/npc/magic/study.txt
index 418ac0f47..fb6116fae 100644
--- a/npc/magic/study.txt
+++ b/npc/magic/study.txt
@@ -21,7 +21,7 @@ function script SK_study {
// Research Points
if (array_rfind(@study, @mobGD) < 0) {
.@mult=max(1, 11-getskilllv(TMW2_STUDY));
- .@rp=getmonsterinfo(MOB_LV)/.@mult+1;
+ .@rp=getmonsterinfo(.@mobID, MOB_LV)/.@mult+1;
array_push(@study, @mobGD);
dispbottom l("Research Points +%d", .@rp);
}