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.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 3749ce6d2..266e1201c 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -5200,9 +5200,8 @@ int skill_castend_nodamage_id (struct block_list *src, struct block_list *bl, in
}
sp1 = sstatus->sp;
sp2 = tstatus->sp;
- //TODO: Will this work correctly once sp1/sp2 go above INT_MAX?
- status_heal(src, 0, (signed int)(sp2-sp1), 3);
- status_heal(bl, 0, (signed int)(sp1-sp2), 3);
+ status_set_sp(src, sp2, 3);
+ status_set_sp(bl, sp1, 3);
clif_skill_nodamage(src,bl,skillid,skilllv,1);
}
break;