summaryrefslogtreecommitdiff
path: root/src/map/mob.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-06 17:57:45 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2007-02-06 17:57:45 +0000
commit0f79342a3fe4ce80a37f6792d4154fa97c8560b0 (patch)
tree0d6da814c330c0f6aeed1fab845b95a4413c148c /src/map/mob.c
parent5ca6022c40792a839c62f370c2671d802811f383 (diff)
downloadhercules-0f79342a3fe4ce80a37f6792d4154fa97c8560b0.tar.gz
hercules-0f79342a3fe4ce80a37f6792d4154fa97c8560b0.tar.bz2
hercules-0f79342a3fe4ce80a37f6792d4154fa97c8560b0.tar.xz
hercules-0f79342a3fe4ce80a37f6792d4154fa97c8560b0.zip
- Cleaned up homunc attack request parsing. Homunculus no longer goes into auto-attack (ctrl+click) mode since the client does every attack request individually.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9805 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r--src/map/mob.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c
index 2d8c2591b..9078454e9 100644
--- a/src/map/mob.c
+++ b/src/map/mob.c
@@ -2075,7 +2075,9 @@ int mob_dead(struct mob_data *md, struct block_list *src, int type)
clif_mvp_exp(mvp_sd,mexp);
pc_gainexp(mvp_sd, &md->bl, mexp,0);
log_mvp[1] = mexp;
- if(!map[m].flag.nomvploot && !(type&1))
+ if(map[m].flag.nomvploot || type&1)
+ ; //No drops.
+ else
for(j=0;j<3;j++){
i = rand() % 3;