summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authorskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-14 18:20:08 +0000
committerskotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-12-14 18:20:08 +0000
commitec0efd27dea31f36a92f93074dc9e8a4adcf81cf (patch)
tree3601183faabee047e954da2786bd8b0ab3962591 /src/map/battle.c
parent8ff9db48cd5f38b532232b30c5ead723d09259cd (diff)
downloadhercules-ec0efd27dea31f36a92f93074dc9e8a4adcf81cf.tar.gz
hercules-ec0efd27dea31f36a92f93074dc9e8a4adcf81cf.tar.bz2
hercules-ec0efd27dea31f36a92f93074dc9e8a4adcf81cf.tar.xz
hercules-ec0efd27dea31f36a92f93074dc9e8a4adcf81cf.zip
- Removed "mobs being enemies of each other all the time" because, even though mobs can hit each other as they should, they will refuse to use support skills on enemies, which breaks several of their skills. Mobs can't both help and attack someone tagged as enemy D: I guess eA is just too smart to emulate Aegis's sloppy coding.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9500 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/battle.c')
-rw-r--r--src/map/battle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c
index 82c59e362..eb544dc4d 100644
--- a/src/map/battle.c
+++ b/src/map/battle.c
@@ -3335,7 +3335,7 @@ int battle_check_target( struct block_list *src, struct block_list *target,int f
TBL_MOB*md = (TBL_MOB*)s_bl;
if (!agit_flag && md->guardian_data && md->guardian_data->guild_id)
return 0; //Disable guardians/emperium owned by Guilds on non-woe times.
- if(md->state.killer || !(battle_config.mob_ai&0x400))
+ if(md->state.killer/* || !(battle_config.mob_ai&0x400)*/)
state |= BCT_ENEMY; //By default everyone hates mobs.
else
{ //Smart enemy criteria.