summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/map/skill.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 15b222160..b6ed04147 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -1465,12 +1465,7 @@ int skill_counter_additional_effect (struct block_list* src, struct block_list *
if (pc_issit(sd)) pc_setstand(sd); //Character stuck in attacking animation while 'sitting' fix. [Skotlex]
clif_skill_nodamage(src,bl,HW_SOULDRAIN,rate,1);
sp = (status_get_lv(bl))*(95+15*rate)/100;
- if(sp > sd->status.max_sp - sd->status.sp)
- sp = sd->status.max_sp - sd->status.sp;
- if (sp) {
- sd->status.sp += sp;
- clif_heal(sd->fd,SP_SP,sp);
- }
+ status_heal(src, 0, sp, 3);
}
//Trigger counter-spells to retaliate against damage causing skills. [Skotlex]