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.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/magic/study.txt b/npc/magic/study.txt
index 547e8aa63..6f039ce9d 100644
--- a/npc/magic/study.txt
+++ b/npc/magic/study.txt
@@ -10,6 +10,7 @@ function script SK_study {
.@mobGD=getarg(0);
if (getunittype(.@mobGD) != UNITTYPE_MOB) {
dispbottom l("This skill can only be used on monsters!");
+ return;
}
.@mobID=getunitdata(.@mobGD, UDT_CLASS);
dispbottom l("%s - %d/%d HP, %d/%d MP",