diff options
-rw-r--r-- | Changelog-Trunk.txt | 1 | ||||
-rw-r--r-- | 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ษ~bZbgj */
- 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: /* ล */
|