From 3a582ad4976cd2672e22a33cd738346e5e09a9bd Mon Sep 17 00:00:00 2001 From: celest Date: Thu, 23 Dec 2004 20:09:48 +0000 Subject: * Added jA 1084's fix to mob.c * Changed pc_alive_timer to use map_id2sd - should be more accurate git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@758 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/mob.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/map/mob.c') diff --git a/src/map/mob.c b/src/map/mob.c index f65e27bc0..e8cef9730 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -2362,7 +2362,7 @@ int mob_damage(struct block_list *src,struct mob_data *md,int damage,int type) int pid,base_exp,job_exp,flag=1,zeny=0; double per; struct party *p; - if(tmpsd[i]==NULL || tmpsd[i]->bl.m != md->bl.m) + if(tmpsd[i]==NULL || tmpsd[i]->bl.m != md->bl.m || pc_isdead(tmpsd[i])) continue; /* jAthena's exp formula // per = ((double)md->dmglog[i].dmg)*(9.+(double)((count > 6)? 6:count))/10./((double)max_hp) * dmg_rate; -- cgit v1.2.3-70-g09d2