summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-10 21:11:45 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-03-10 21:11:45 +0000
commit6e8b9de43008b0ed45f2ee11b0113e7ba4e77087 (patch)
tree5bc615e8693bd5e8eeec66ba48574543b376c08f /src/map/battle.c
parent1b8b555e1fcc83cd20ef32c39d767cfaf458bef6 (diff)
downloadhercules-6e8b9de43008b0ed45f2ee11b0113e7ba4e77087.tar.gz
hercules-6e8b9de43008b0ed45f2ee11b0113e7ba4e77087.tar.bz2
hercules-6e8b9de43008b0ed45f2ee11b0113e7ba4e77087.tar.xz
hercules-6e8b9de43008b0ed45f2ee11b0113e7ba4e77087.zip
- Cleaned up the Skillbreaker implementation, HP gaining happens at level 5 now.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5567 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index a4dc67b91..633c774d7 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -316,8 +316,9 @@ int battle_heal(struct block_list *bl,struct block_list *target,int hp,int sp,in
if (hp == 0 && sp == 0)
return 0;
- if (hp < 0)
- return battle_damage(bl,target,-hp,flag);
+//If battle_heal was invoked, HP/SP should just be reduced without damage animation. [Skotlex]
+// if (hp < 0)
+// return battle_damage(bl,target,-hp,flag);
if (target->type == BL_MOB)
return mob_heal((struct mob_data *)target,hp);