From 942fe3ab36fdd0d53720925515b5ae3cfddf2521 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 25 Jun 2020 07:16:48 -0300 Subject: Format numbers in study skill --- 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 b47cbbf10..547e8aa63 100644 --- a/npc/magic/study.txt +++ b/npc/magic/study.txt @@ -14,8 +14,10 @@ function script SK_study { .@mobID=getunitdata(.@mobGD, UDT_CLASS); 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)); + fnum(getunitdata(.@mobGD, UDT_HP)), + fnum(getunitdata(.@mobGD, UDT_MAXHP)), + fnum(getunitdata(.@mobGD, UDT_SP)), + fnum(getunitdata(.@mobGD, UDT_MAXSP))); return; } -- cgit v1.2.3-70-g09d2