diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-09 23:02:49 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-09 23:02:49 +0000 |
commit | 0b7bd952f1adfdd66151c1ca7c824dd59a0094ce (patch) | |
tree | 1eb2f10bc406b185977e8530a16c03b0d1b03c39 | |
parent | 7586b8e83201e23930b99e5a84986d66f093dc89 (diff) | |
download | hercules-0b7bd952f1adfdd66151c1ca7c824dd59a0094ce.tar.gz hercules-0b7bd952f1adfdd66151c1ca7c824dd59a0094ce.tar.bz2 hercules-0b7bd952f1adfdd66151c1ca7c824dd59a0094ce.tar.xz hercules-0b7bd952f1adfdd66151c1ca7c824dd59a0094ce.zip |
- Fixed Asura not wasting all SP away when it fails on cast-end.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8216 54d463be-8e91-2dee-dedb-b68131a5f0ec
-rw-r--r-- | Changelog-Trunk.txt | 1 | ||||
-rw-r--r-- | src/map/skill.c | 1 |
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 |