summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-23 13:57:54 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-10-23 13:57:54 +0000
commitc61ca3727be3a366a593248a862f37063937fda2 (patch)
treefa0f22fa11862f30a550622e1fefefe1e47f2de0 /src/map/mob.c
parent4f51d1366ebb57bf2ac8a3ea0238bc39af796665 (diff)
downloadhercules-c61ca3727be3a366a593248a862f37063937fda2.tar.gz
hercules-c61ca3727be3a366a593248a862f37063937fda2.tar.bz2
hercules-c61ca3727be3a366a593248a862f37063937fda2.tar.xz
hercules-c61ca3727be3a366a593248a862f37063937fda2.zip
- Removed NJ_TOBIDOUGU adding damage to W_HUUMA weapons which somehow got readded.
- When nonplayers use Cloaking, it will be forced to level 10 since mobs shouldn't have movement/attack restrictions while walking cloaked. - Should fix a warning in int_homun.c git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9043 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index e8d2a5b81..6f73433c7 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2132,7 +2132,8 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
if(md->nd)
mob_script_callback(md, src, CALLBACK_DEAD);
- else if(md->npc_event[0]){
+ else
+ if(md->npc_event[0]){
md->status.hp = 0; //So that npc_event invoked functions KNOW that I am dead.
if(src)
switch (src->type) {