From f49effe3403a77b3fb69078465a2906836547041 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 2 Aug 2006 14:27:17 +0000 Subject: - Updated battle_check_target so that all alchemist summoned mobs can be target by everyone. - Cleaned up skill_check_condition_mob_master_sub, it will now count both total number of summoned mobs and amount that belong to the same type. - Corrected AM_CANNIBALIZE so it will fail if you already have plants of another type out. - Using NPC_SELFDESTRUCTION no longer will make the caster stop walking. - Removed SI_GUILDAURA, and replaced it with SI_LANDENDOW, now Volcano/Deluge/V. Gale will get that funky icon instead. - Changed clif_hominfo to receive both sd and hd as parameters - Some redundancy cleaning in mercenary.c - Moved updating of sd->mercenary.hp from merc_damage to pc_makesavestatus. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8048 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index ea7bd0d5e..cffec76cb 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -3153,8 +3153,8 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f return -1; //Cannot be targeted yet. break; case BL_MOB: - if (((TBL_MOB*)target)->special_state.ai == 2) - { //Mines are sort of universal enemies. + if (((TBL_MOB*)target)->special_state.ai > 1) + { //Alchemist summoned mobs are sort of universal enemies. state |= BCT_ENEMY; strip_enemy = 0; } -- cgit v1.2.3-60-g2f50