Ver Fonte

- Fixed Asura not wasting all SP away when it fails on cast-end.

git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8216 54d463be-8e91-2dee-dedb-b68131a5f0ec
skotlex há 19 anos atrás
pai
commit
2ea23200c8
2 ficheiros alterados com 2 adições e 0 exclusões
  1. 1 0
      Changelog-Trunk.txt
  2. 1 0
      src/map/skill.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.
 
 2006/08/09
+	* Fixed Asura not wasting all SP away when it fails on cast-end. [Skotlex]
 	* Fixed homunc skill up bug [Toms]
 	* Adjusted some the dance/song/encore code so that the source of an
 	  ensemble will always get checked, so that walking out of an ensemble skill

+ 1 - 0
src/map/skill.c

@@ -5786,6 +5786,7 @@ int skill_castend_id (int tid, unsigned int tick, int id, int data)
   	{	//When Asura fails... (except when it fails from Fog of Wall)
 		//Consume SP/spheres
 		skill_check_condition(sd,ud->skillid, ud->skilllv,1);
+		status_set_sp(src, 0, 0);
 		sc = &sd->sc;
 		if (sc->count)
 		{	//End states