summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/magic/study.txt6
1 files changed, 4 insertions, 2 deletions
diff --git a/npc/magic/study.txt b/npc/magic/study.txt
index 3176643ef..b47cbbf10 100644
--- a/npc/magic/study.txt
+++ b/npc/magic/study.txt
@@ -12,8 +12,10 @@ function script SK_study {
dispbottom l("This skill can only be used on monsters!");
}
.@mobID=getunitdata(.@mobGD, UDT_CLASS);
- // getmonsterinfo(.@mobID, )
- // getunitdata(.@mobGD, )
+ dispbottom l("%s - %d/%d HP, %d/%d MP",
+ getmonsterinfo(.@mobID, MOB_NAME),
+ getunitdata(.@mobGD, UDT_HP), getunitdata(.@mobGD, UDT_MAXHP),
+ getunitdata(.@mobGD, UDT_SP), getunitdata(.@mobGD, UDT_MAXSP));
return;
}