From 14d2e0e61a8d2ca85f15eb0c8eb6238564edb375 Mon Sep 17 00:00:00 2001 From: skotlex Date: Wed, 10 May 2006 04:04:36 +0000 Subject: - Rewrote/cleaned up trade.c for a more clean trading implementation. - Added @request commands, sends a request to all connected GMs of lowest_gm_level or above as a whisper message. Defaults to gm level 20 users. - Made SC_COMBO status start delay attackabletime and walkdelay by sc's duration regardless of skill used (previously it was only for TK kicks, now it's for both those and Monk combos) git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@6542 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/skill.c | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'src/map/skill.c') diff --git a/src/map/skill.c b/src/map/skill.c index d5ec79977..aebb74dbd 100644 --- a/src/map/skill.c +++ b/src/map/skill.c @@ -1821,8 +1821,6 @@ int skill_attack( int attack_type, struct block_list* src, struct block_list *ds pc_checkskill(sd, MO_CHAINCOMBO) > 0) delay += 300 * battle_config.combo_delay_rate / 100; sc_start4(src,SC_COMBO,100,MO_TRIPLEATTACK,skilllv,0,0,delay); - sd->ud.attackabletime = tick + delay; - unit_set_walkdelay(src, tick, delay, 1); clif_combo_delay(src, delay); if (sd->status.party_id>0) //bonus from SG_FRIEND [Komurka] @@ -1836,8 +1834,6 @@ int skill_attack( int attack_type, struct block_list* src, struct block_list *ds (pc_checkskill(sd, MO_COMBOFINISH) > 0 && sd->spiritball > 0)) delay += 300 * battle_config.combo_delay_rate /100; sc_start4(src,SC_COMBO,100,MO_CHAINCOMBO,skilllv,0,0,delay); - sd->ud.attackabletime = tick + delay; - unit_set_walkdelay(src, tick, delay, 1); clif_combo_delay(src,delay); break; } @@ -1852,8 +1848,6 @@ int skill_attack( int attack_type, struct block_list* src, struct block_list *ds )) delay += 300 * battle_config.combo_delay_rate /100; sc_start4(src,SC_COMBO,100,MO_COMBOFINISH,skilllv,0,0,delay); - sd->ud.attackabletime = tick + delay; - unit_set_walkdelay(src, tick, delay, 1); clif_combo_delay(src,delay); break; } @@ -1867,8 +1861,6 @@ int skill_attack( int attack_type, struct block_list* src, struct block_list *ds )) delay += 300 * battle_config.combo_delay_rate /100; sc_start4(src,SC_COMBO,100,CH_TIGERFIST,skilllv,0,0,delay); - sd->ud.attackabletime = tick + delay; - unit_set_walkdelay(src, tick, delay, 1); clif_combo_delay(src,delay); break; } @@ -1878,8 +1870,6 @@ int skill_attack( int attack_type, struct block_list* src, struct block_list *ds if(damage < status_get_hp(bl)) delay += 300 * battle_config.combo_delay_rate /100; sc_start4(src,SC_COMBO,100,CH_CHAINCRUSH,skilllv,0,0,delay); - sd->ud.attackabletime = tick + delay; - unit_set_walkdelay(src, tick, delay, 1); clif_combo_delay(src,delay); break; } -- cgit v1.2.3-70-g09d2