summaryrefslogtreecommitdiff
path: root/npc/magic
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-06-25 07:16:48 -0300
committerJesusaves <cpntb1@ymail.com>2020-06-25 07:16:48 -0300
commit942fe3ab36fdd0d53720925515b5ae3cfddf2521 (patch)
treed9f656ccadf2b365034596eae1f4b2538fd1a194 /npc/magic
parent682a0b8d39ddbba7b14741e3457bf507f1e1da5c (diff)
downloadserverdata-942fe3ab36fdd0d53720925515b5ae3cfddf2521.tar.gz
serverdata-942fe3ab36fdd0d53720925515b5ae3cfddf2521.tar.bz2
serverdata-942fe3ab36fdd0d53720925515b5ae3cfddf2521.tar.xz
serverdata-942fe3ab36fdd0d53720925515b5ae3cfddf2521.zip
Format numbers in study skill
Diffstat (limited to 'npc/magic')
-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 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;
}