From 5498a520d7b5bc65d8b8c2ab949cf2986848c104 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 29 Mar 2006 14:53:22 +0000 Subject: - Some cleaning of the mob_ai. Mobs should stop chasing once you are beyond their min_chase range. Improved rude-attacked checking when mobs can't move. - range3 is now used as min-chase value of mobs. - Added a debug message when status_change_timer fails. - Fixed tick direct modifications increasing duration instead of decreasing it. - Fixed inf2 of Jump-Kick to make it a "combo-skill" so that it may do a BCT_ENEMY check. - When sd->state.skill_flag is set, auto-targetting through combo-skills is disabled. - You can't SG_FEEL maps already memorized. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5796 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/status.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'src/map/status.c') diff --git a/src/map/status.c b/src/map/status.c index a0dda48a1..72934420c 100644 --- a/src/map/status.c +++ b/src/map/status.c @@ -3490,7 +3490,7 @@ int status_get_sc_tick(struct block_list *bl, int type, int tick) if (rate >0) tick -= tick*rate/10000; else - tick -= rate; + tick += rate; } return ticktype:-1); + } if(bl->type==BL_PC) sd=(struct map_session_data *)bl; -- cgit v1.2.3-70-g09d2