diff options
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index 5d6daaa26..07e95aed4 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -7188,9 +7188,7 @@ int clif_charnameack (int fd, struct block_list *bl) str_p += sprintf(str_p, "HP: %u/%u | ", md->status.hp, md->status.max_hp); if (battle_config.show_mob_info&2) str_p += sprintf(str_p, "HP: %d%% | ", - md->status.max_hp > 10000? - md->status.hp/(md->status.max_hp/100): - 100*md->status.hp/md->status.max_hp); + status_calc_life(md->status.hp, md->status.max_hp)); //Even thought mobhp ain't a name, we send it as one so the client //can parse it. [Skotlex] if (str_p != mobhp) { |