From be2a001e897947fb0def4443dc7c0967f86574a7 Mon Sep 17 00:00:00 2001 From: celest Date: Sun, 14 Nov 2004 19:39:42 +0000 Subject: Skill updates. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/athena@178 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index 6b4f90485..405abaea1 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -4619,10 +4619,12 @@ int battle_weapon_attack( struct block_list *src,struct block_list *target, } } if(t_sc_data && t_sc_data[SC_BLADESTOP_WAIT].timer != -1){ - int lv = t_sc_data[SC_BLADESTOP_WAIT].val1; - skill_status_change_end(target,SC_BLADESTOP_WAIT,-1); - skill_status_change_start(src,SC_BLADESTOP,lv,1,(int)src,(int)target,skill_get_time2(MO_BLADESTOP,lv),0); - skill_status_change_start(target,SC_BLADESTOP,lv,2,(int)target,(int)src,skill_get_time2(MO_BLADESTOP,lv),0); + if (!(src->type = BL_MOB && mob_db[((struct mob_data *)src)->class].mode&0x32)) { + int lv = t_sc_data[SC_BLADESTOP_WAIT].val1; + skill_status_change_end(target,SC_BLADESTOP_WAIT,-1); + skill_status_change_start(src,SC_BLADESTOP,lv,1,(int)src,(int)target,skill_get_time2(MO_BLADESTOP,lv),0); + skill_status_change_start(target,SC_BLADESTOP,lv,2,(int)target,(int)src,skill_get_time2(MO_BLADESTOP,lv),0); + } } if(t_sc_data && t_sc_data[SC_SPLASHER].timer!=-1) //殴ったので対象のベナムスプラッシャー状態を解除 skill_status_change_end(target,SC_SPLASHER,-1); -- cgit v1.2.3-70-g09d2