summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-06 19:31:16 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-06-06 19:31:16 +0000
commit6ea4a909400aab6c85bda706dae7a86a51790d3b (patch)
tree19373864a89c1b3fd54039910c2d3b329c8588dc /src
parent1b22e27e5d2a25da3ffc1561a8c6dc4bbfcd1355 (diff)
downloadhercules-6ea4a909400aab6c85bda706dae7a86a51790d3b.tar.gz
hercules-6ea4a909400aab6c85bda706dae7a86a51790d3b.tar.bz2
hercules-6ea4a909400aab6c85bda706dae7a86a51790d3b.tar.xz
hercules-6ea4a909400aab6c85bda706dae7a86a51790d3b.zip
- Fixed Soul Burn not zapping away all SP.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@7012 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 7a667bf22..36867c44d 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2947,18 +2947,12 @@ int skill_castend_damage_id (struct block_list* src, struct block_list *bl,int s
clif_skill_nodamage(src,bl,skillid,skilllv,1);
if (skilllv == 5)
skill_attack(BF_MAGIC,src,src,bl,skillid,skilllv,tick,0 );
- if (tsd) {
- tsd->status.sp = 0;
- clif_updatestatus(tsd,SP_SP);
- }
+ status_percent_damage(src, bl, 0, 100);
} else {
clif_skill_nodamage(src,src,skillid,skilllv,1);
if (skilllv == 5)
skill_attack(BF_MAGIC,src,src,src,skillid,skilllv,tick,0 );
- if (sd) {
- sd->status.sp = 0;
- clif_updatestatus(sd,SP_SP);
- }
+ status_percent_damage(src, src, 0, 100);
}
if (sd) skill_blockpc_start (sd, skillid, (skilllv < 5 ? 10000: 15000));
break;