summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-10-26 09:42:44 +0000
committerInkfish <Inkfish@54d463be-8e91-2dee-dedb-b68131a5f0ec>2009-10-26 09:42:44 +0000
commit313a28630c10e40ee2db0b0a8904d56149c0b3ce (patch)
tree863811253ac173d48b7023af1c2dbab00cddd83a /src/map/status.c
parent019d9618d50d3190a7b6fa3b8e9401add22beb8e (diff)
downloadhercules-313a28630c10e40ee2db0b0a8904d56149c0b3ce.tar.gz
hercules-313a28630c10e40ee2db0b0a8904d56149c0b3ce.tar.bz2
hercules-313a28630c10e40ee2db0b0a8904d56149c0b3ce.tar.xz
hercules-313a28630c10e40ee2db0b0a8904d56149c0b3ce.zip
Implemented NPC_VAMPIREGIFT and NPC_WIDESOULDRAIN.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@14102 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 84c396a9a..36bacf47d 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -654,7 +654,7 @@ int status_damage(struct block_list *src,struct block_list *target,int hp, int s
status = status_get_status_data(target);
- if (status == &dummy_status || !status->hp)
+ if( status == &dummy_status || (!status->hp && hp) )
return 0; //Invalid targets: no damage or dead
// Let through. battle.c/skill.c have the whole logic of when it's possible or