git-svn-id: https://svn.code.sf.net/p/rathena/svn/trunk@8216 54d463be-8e91-2dee-dedb-b68131a5f0ec
@@ -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
@@ -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