summaryrefslogtreecommitdiff
path: root/src/map/skill.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/skill.c')
-rw-r--r--src/map/skill.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 65b47863b..60d992671 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4995,7 +4995,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
{
int hp, sp;
hp = sstatus->max_hp/10;
- sp = hp + (hp * 10 * skilllv) / 100;
+ sp = hp * 10 * skilllv / 100;
if (!status_charge(src,hp,0)) {
if (sd) clif_skill_fail(sd,skillid,0,0);
break;
@@ -5004,6 +5004,7 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
status_heal(bl,0,sp,2);
}
break;
+
case HT_REMOVETRAP:
clif_skill_nodamage(src,bl,skillid,skilllv,1);
{