diff options
author | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-16 16:31:30 +0000 |
---|---|---|
committer | skotlex <skotlex@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2006-08-16 16:31:30 +0000 |
commit | 9b3a759edca28fa9445949aa0a3664d7dc8f6b2f (patch) | |
tree | 048521a0989fbea1662983dc2291d72688eb3e72 /src/map/mob.c | |
parent | b035b0610206daff6e94f9d88297438e0ab93261 (diff) | |
download | hercules-9b3a759edca28fa9445949aa0a3664d7dc8f6b2f.tar.gz hercules-9b3a759edca28fa9445949aa0a3664d7dc8f6b2f.tar.bz2 hercules-9b3a759edca28fa9445949aa0a3664d7dc8f6b2f.tar.xz hercules-9b3a759edca28fa9445949aa0a3664d7dc8f6b2f.zip |
- @produce now can make any kind of equipment
- Fixed a warning on the mob_ai
- Made HLIF_AVOID and HAMI_DEFENCE cause the status change on both caster and target.
- AM_REST shouldn't be checking for a range now (since it's a self skill)
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@8318 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/mob.c')
-rw-r--r-- | src/map/mob.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/mob.c b/src/map/mob.c index 7a499bc09..27743fd26 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -1096,7 +1096,7 @@ static int mob_ai_sub_hard(struct block_list *bl,va_list ap) { if (!battle_check_range(&md->bl, tbl, md->status.rhw.range) && ((!can_move && battle_config.mob_ai&2) || - (!mob_can_reach(md, tbl, dist+2, MSS_RUSH)))) + (!mob_can_reach(md, tbl, md->min_chase, MSS_RUSH)))) { //Rude-attacked (avoid triggering due to can-walk delay). if (DIFF_TICK(tick, md->ud.canmove_tick) > 0 && md->attacked_count++ >= RUDE_ATTACKED_COUNT) |