summaryrefslogtreecommitdiff
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
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
-rw-r--r--Changelog-Trunk.txt3
-rw-r--r--src/map/skill.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt
index 5744c8818..6efe21b93 100644
--- a/Changelog-Trunk.txt
+++ b/Changelog-Trunk.txt
@@ -3,6 +3,9 @@ Date Added
AS OF SVN REV. 5091, WE ARE NOW USING TRUNK. ALL UNTESTED BUGFIXES/FEATURES GO INTO TRUNK.
IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK.
+2006/11/09
+=======
+ * Fixed Health Conversion skill formula bug. [Lupus]
2006/11/08
* Fixed Desperado's hit-rate, now it behaves as it should. [Skotlex]
* The GVG map-packet will now also be sent for guild dungeon maps.
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;