summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorVicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-14 17:24:52 +0000
committerVicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-14 17:24:52 +0000
commit1d534823afafdc2b673f24e3dc2a11c63b89f062 (patch)
tree190ab986ca56281f3e82b4e1e5e1e0b6cc214da3 /src/map
parent7981a73741532f24b0631243ababe7f4280006bf (diff)
downloadhercules-1d534823afafdc2b673f24e3dc2a11c63b89f062.tar.gz
hercules-1d534823afafdc2b673f24e3dc2a11c63b89f062.tar.bz2
hercules-1d534823afafdc2b673f24e3dc2a11c63b89f062.tar.xz
hercules-1d534823afafdc2b673f24e3dc2a11c63b89f062.zip
Homun info window to display crit value
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8993 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/clif.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 10b15c23d..bb985a20e 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -1472,7 +1472,7 @@ int clif_hominfo(struct map_session_data *sd, struct homun_data *hd, int flag)
WBUFW(buf,35)=cap_value(status->rhw.atk2+status->batk, 0, SHRT_MAX);
WBUFW(buf,37)=cap_value(status->matk_max, 0, SHRT_MAX);
WBUFW(buf,39)=status->hit;
- WBUFW(buf,41)=status->cri/10; //crit is a +1 decimal value!
+ WBUFW(buf,41)=status->luk/3 + 1; //crit is a +1 decimal value! Just display purpose.[Vicious]
WBUFW(buf,43)=status->def + status->vit ;
WBUFW(buf,45)=status->mdef;
WBUFW(buf,47)=status->flee;