summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-25 07:12:04 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-25 07:12:04 -0300
commit682a0b8d39ddbba7b14741e3457bf507f1e1da5c (patch)
tree66898449ac96b54e4e204dc7a8d05b54db318c49
parent7099c8b0ee8c49e97be934e28c05969cbf7301bf (diff)
downloadserverdata-682a0b8d39ddbba7b14741e3457bf507f1e1da5c.tar.gz
serverdata-682a0b8d39ddbba7b14741e3457bf507f1e1da5c.tar.bz2
serverdata-682a0b8d39ddbba7b14741e3457bf507f1e1da5c.tar.xz
serverdata-682a0b8d39ddbba7b14741e3457bf507f1e1da5c.zip
Make TMW2_STUDY do something
-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;
}