summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-13 18:57:25 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-09-13 18:57:25 +0000
commit350f100ff1da03d0307db175ac1909e236dfb8b5 (patch)
tree805e666f4cbc5ebf70565cb7e64e7a669b62deea
parentac6843412fa60d589a5d468ae293a895e55dd149 (diff)
downloadhercules-350f100ff1da03d0307db175ac1909e236dfb8b5.tar.gz
hercules-350f100ff1da03d0307db175ac1909e236dfb8b5.tar.bz2
hercules-350f100ff1da03d0307db175ac1909e236dfb8b5.tar.xz
hercules-350f100ff1da03d0307db175ac1909e236dfb8b5.zip
- SC_CHANGE cannot override itself anymore. This fixes being able to "recast" the skill while it's still active to lengthen the duration AND rehealing the target.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8737 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--src/map/status.c1
2 files changed, 4 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 2179ad091..4dc2ab49a 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -4,6 +4,9 @@ AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
2006/09/13
+ * SC_CHANGE cannot override itself anymore. This fixes being able to
+ "recast" the skill while it's still active to lengthen the duration AND
+ reheal the target. [Skotlex]
* Changed a bit the dnsbl lookup in the login servers to make it faster.
[Skotlex]
* Moved the pc rate modifiers from items
diff --git a/src/map/status.c b/src/map/status.c
index 96c2215c6..fb39d8e2b 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -4711,6 +4711,7 @@ int status_change_start(struct block_list *bl,int type,int rate,int val1,int val
case SC_MARIONETTE:
case SC_MARIONETTE2:
case SC_NOCHAT:
+ case SC_CHANGE: //Otherwise your Hp/Sp would get refilled while still within effect of the last invocation.
return 0;
case SC_DANCING:
case SC_DEVOTION: