From 52db25907d75f8d9d9eb914e794f8622c5f540b9 Mon Sep 17 00:00:00 2001 From: skotlex Date: Thu, 9 Mar 2006 15:25:57 +0000 Subject: - 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 --- Changelog-Trunk.txt | 1 + src/map/status.c | 4 ++-- 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: /* “ล */ -- cgit v1.2.3-70-g09d2