Browse Source

- 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://svn.code.sf.net/p/rathena/svn/trunk@8737 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex 18 years ago
parent
commit
955a3c310b
2 changed files with 4 additions and 0 deletions
  1. 3 0
      Changelog-Trunk.txt
  2. 1 0
      src/map/status.c

+ 3 - 0
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

+ 1 - 0
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: