summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-14 13:34:03 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-14 13:34:03 +0000
commitaf5a9674dc39e941466fe92502d77f1a6861d0c0 (patch)
treee907860561352d60e1719cc8e979a40cf584625c /src
parenteadb49db50f6d6c8ab7fe2724e94c28f4690a1ea (diff)
downloadhercules-af5a9674dc39e941466fe92502d77f1a6861d0c0.tar.gz
hercules-af5a9674dc39e941466fe92502d77f1a6861d0c0.tar.bz2
hercules-af5a9674dc39e941466fe92502d77f1a6861d0c0.tar.xz
hercules-af5a9674dc39e941466fe92502d77f1a6861d0c0.zip
- Reverted the hp conversion formula "fix" as it was correct before.
- Increased the trigger rate of Warmth skills from 500ms to 200ms. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9214 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-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);
{