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 /src/map/skill.c | |
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
Diffstat (limited to 'src/map/skill.c')
-rw-r--r-- | src/map/skill.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |