summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-09 07:02:14 +0000
committerLupus <Lupus@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-09 07:02:14 +0000
commit18feac8a0fd21bfc41547e3ff12f07a764d77896 (patch)
tree81994e523f8ef49b38f9fd8bf5d592f1103b7095 /src/map
parent40f970fb1bcd019d03eb08892d73588e1b5cc60a (diff)
downloadhercules-18feac8a0fd21bfc41547e3ff12f07a764d77896.tar.gz
hercules-18feac8a0fd21bfc41547e3ff12f07a764d77896.tar.bz2
hercules-18feac8a0fd21bfc41547e3ff12f07a764d77896.tar.xz
hercules-18feac8a0fd21bfc41547e3ff12f07a764d77896.zip
Fixed Health Conversion skill formula bug
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9181 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map')
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 5c1c6448d..c59020002 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -4990,7 +4990,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 * 10 * skilllv / 100;
+ sp = hp + (hp * 10 * skilllv) / 100;
if (!status_charge(src,hp,0)) {
if (sd) clif_skill_fail(sd,skillid,0,0);
break;