summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog-Trunk.txt1
-rw-r--r--src/map/skill.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 1d6704f55..e2c7cdd97 100644
--- a/Changelog-Trunk.txt
+++ b/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
diff --git a/src/map/skill.c b/src/map/skill.c
index 614acaf09..3d7435dbe 100644
--- a/src/map/skill.c
+++ b/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