diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/map/map.h | 2 | ||||
-rw-r--r-- | src/map/mob.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/map/map.h b/src/map/map.h index b23912ca4..9ca8af739 100644 --- a/src/map/map.h +++ b/src/map/map.h @@ -48,7 +48,7 @@ #define MAX_VENDING 12
#define MOBID_EMPERIUM 1288
-#define MAX_PC_BONUS 10
+#define MAX_PC_BONUS 15
//Designed for search functions, species max number of matches to display.
#define MAX_SEARCH 5
#define MAX_DUEL 1024
diff --git a/src/map/mob.c b/src/map/mob.c index 1fba16d6e..97e90efda 100644 --- a/src/map/mob.c +++ b/src/map/mob.c @@ -1116,7 +1116,7 @@ static int mob_ai_sub_hard(struct block_list *bl,va_list ap) (dist = distance_bl(&md->bl, abl)) >= MAX_MINCHASE || battle_check_target(bl, abl, BCT_ENEMY) <= 0 || (battle_config.mob_ai&2 && !status_check_skilluse(bl, abl, 0, 0)) || - !mob_can_reach(md, abl, dist+2, MSS_RUSH) || + !mob_can_reach(md, abl, dist+md->db->range3, MSS_RUSH) || ( //Gangster Paradise check abl->type == BL_PC && !(mode&MD_BOSS) && ((TBL_PC*)abl)->state.gangsterparadise |