From 682a0b8d39ddbba7b14741e3457bf507f1e1da5c Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 25 Jun 2020 07:12:04 -0300 Subject: Make TMW2_STUDY do something --- npc/magic/study.txt | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'npc/magic/study.txt') 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; } -- cgit v1.2.3-60-g2f50