Ver Fonte

- Forgot to made Tatami Gaeshi state (proyectile blocking) end when you move.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@9945 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex há 18 anos atrás
pai
commit
c4757be7e0
2 ficheiros alterados com 3 adições e 0 exclusões
  1. 1 0
      Changelog-Trunk.txt
  2. 2 0
      src/map/map.c

+ 1 - 0
Changelog-Trunk.txt

@@ -4,6 +4,7 @@ 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.
 
 2007/03/02
+	* Tatami Gaeshi state (proyectile blocking) now ends when you move.
 	* SG Union will consume now SP if you use it while not soul linked.
 	* Added variable "skip" to the mob spawn data, to know how many mobs to
 	  skip when spawning because they were not removed due to the

+ 2 - 0
src/map/map.c

@@ -496,6 +496,8 @@ int map_moveblock(struct block_list *bl, int x1, int y1, unsigned int tick) {
 //				status_change_end(bl, SC_BLADESTOP, -1);
 			if (sc->data[SC_BASILICA].timer != -1)
 				status_change_end(bl, SC_BASILICA, -1);
+			if (sc->data[SC_TATAMIGAESHI].timer != -1)
+				status_change_end(bl, SC_TATAMIGAESHI, -1);
 		}
 	}
 	if (moveblock) map_delblock_sub(bl,0);