From 0c3d2fd638d60b4c6019a0c3ffeb34171f8f2da1 Mon Sep 17 00:00:00 2001 From: skotlex Date: Mon, 4 Sep 2006 03:13:44 +0000 Subject: [PATCH] - Fixed SC_BERSERK's no regen penalty lasting pretty much forever. git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8605 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 3 +++ src/map/status.c | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index b8fe62b804..71fd7d9d68 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -3,6 +3,9 @@ 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/09/03 + * Fixed SC_BERSERK's no regen penalty lasting pretty much forever. + [Skotlex] 2006/09/02 * SC_REGENERATION's val4 now holds the RGN flag of what is blocked rather than blocking all types of regen. [Skotlex] diff --git a/src/map/status.c b/src/map/status.c index 3c98b3b905..665d1df1ed 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -6126,7 +6126,7 @@ int status_change_end( struct block_list* bl , int type,int tid ) if(sc->data[SC_ENDURE].timer != -1) status_change_end(bl, SC_ENDURE, -1); sc_start4(bl, SC_REGENERATION, 100, 10,0,0,(RGN_HP|RGN_SP), - gettick()+skill_get_time(LK_BERSERK, sc->data[type].val1)); + skill_get_time(LK_BERSERK, sc->data[type].val1)); break; case SC_GRAVITATION: if (sc->data[type].val3 == BCT_SELF) {