diff options
author | Vicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-10-14 17:24:52 +0000 |
---|---|---|
committer | Vicious <Vicious@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-10-14 17:24:52 +0000 |
commit | 1d534823afafdc2b673f24e3dc2a11c63b89f062 (patch) | |
tree | 190ab986ca56281f3e82b4e1e5e1e0b6cc214da3 | |
parent | 7981a73741532f24b0631243ababe7f4280006bf (diff) | |
download | hercules-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
-rw-r--r-- | Changelog-Trunk.txt | 4 | ||||
-rw-r--r-- | src/map/clif.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 53cc4156e..af12d9d33 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -3,6 +3,10 @@ Date Added AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
+2006/10/14
+ * Homun info window to show crit value. As default, homun does NOT crit,
+ as monsters do not crit. This is purely for display purpose for players
+ to identify their homon's luk value. [Vicious]
2006/10/13
* Base attack for non players is now calculated as str + [str/10]^2 (it
does not has +dex/5+luk/5 which players do have) [Skotlex]
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;
|