summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-09 15:25:57 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-09 15:25:57 +0000
commit52db25907d75f8d9d9eb914e794f8622c5f540b9 (patch)
tree902bcef4412c833c04f067a24936bd3c295a4a0c
parent656c955e0b8bfdac1018906d6d4146474c6fe830 (diff)
downloadhercules-52db25907d75f8d9d9eb914e794f8622c5f540b9.tar.gz
hercules-52db25907d75f8d9d9eb914e794f8622c5f540b9.tar.bz2
hercules-52db25907d75f8d9d9eb914e794f8622c5f540b9.tar.xz
hercules-52db25907d75f8d9d9eb914e794f8622c5f540b9.zip
- Fixed stun's duration not getting reduced by vit + luk/3
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5531 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/status.c4
2 files changed, 3 insertions, 2 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 5c5cde2de..fdae9d0f0 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -5,6 +5,7 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EV
GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS
2006/03/09
+ * Fixed stun's duration not getting reduced by vit + luk/3 [Skotlex]
* Fixed #itemlist not taking into consideration crafted/forged items and
pet eggs. [Skotlex]
2006/03/08
diff --git a/src/map/status.c b/src/map/status.c
index ef33c63de..256588265 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -3413,8 +3413,8 @@ int status_get_sc_tick(struct block_list *bl, int type, int tick)
case SC_FREEZE: /* “€Œ‹ */
rate = 100*status_get_mdef(bl);
break;
- case SC_STUN: /* ƒXƒ^ƒ“ival2‚ษƒ~ƒŠ•bƒZƒbƒgj */
- rate = status_get_sc_def_vit(bl);
+ case SC_STUN: //Reduction in duration is the same as reduction in rate.
+ rate = status_get_sc_def(bl, type);
break;
case SC_DPOISON: /* –า“ล */
case SC_POISON: /* “ล */