summaryrefslogtreecommitdiff
path: root/src/map/status.c
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 /src/map/status.c
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
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c4
1 files changed, 2 insertions, 2 deletions
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: /* “ล */