diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-18 20:12:59 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-12-18 20:12:59 +0000 |
commit | 2c59a71155825161387535f2d5bc43f9f47a0c6d (patch) | |
tree | bc6637da7c55547edec4f73fd720d81ded131e38 /src/map/mob.c | |
parent | b5300be8f74ab64d90d71e20a11d2f0d5497c8bd (diff) | |
download | hercules-2c59a71155825161387535f2d5bc43f9f47a0c6d.tar.gz hercules-2c59a71155825161387535f2d5bc43f9f47a0c6d.tar.bz2 hercules-2c59a71155825161387535f2d5bc43f9f47a0c6d.tar.xz hercules-2c59a71155825161387535f2d5bc43f9f47a0c6d.zip |
- Added hom_setting to specify which homunculus 'quirks' are in effect. The default activates all of them, if you set them to 0 then homuncs will not be treated in any special matter, pretty much like standard mobs. if I missed any 'quirky' homunc behaviour from it, report it so it can be added to the list.
- Made flooritem_lifetime a int so you can specify much longer life times (the default of 60k was already very close to the max of 65k)
- Removed monster_ai 0x80 since it's now handled by hom_setting.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9519 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 32deef2bc..b2dc67482 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -798,7 +798,8 @@ static int mob_ai_sub_hard_activesearch(struct block_list *bl,va_list ap) !(status_get_mode(&md->bl)&MD_BOSS)) return 0; //Gangster paradise protection. default: - if (!(battle_config.mob_ai&0x80) && (*target) && (*target)->type == BL_HOM && bl->type != BL_HOM) + if (battle_config.hom_setting&0x4 && + (*target) && (*target)->type == BL_HOM && bl->type != BL_HOM) return 0; //For some reason Homun targets are never overriden. dist = distance_bl(&md->bl, bl); |