From 1cda64d5ff2b604cbe85b3a225e0dacbdbce5e35 Mon Sep 17 00:00:00 2001 From: Vicious Date: Sat, 11 Mar 2006 16:12:04 +0000 Subject: more ninja/gs work git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5572 54d463be-8e91-2dee-dedb-b68131a5f0ec --- src/map/battle.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/map/battle.c') diff --git a/src/map/battle.c b/src/map/battle.c index 633c774d7..c17977151 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2280,9 +2280,7 @@ static struct Damage battle_calc_weapon_attack( damage_div_fix(wd.damage, wd.div_); wd.type = 0x08; } - } else if (( (skill_lv = 5*pc_checkskill(sd,GS_CHAINACTION)) > 0 && - (sd->weapontype1 == 0x11 || sd->weapontype1 == 0x12 || sd->weapontype1 == 0x13 - || sd->weapontype1 == 0x14 || sd->weapontype1 == 0x15)) || sd->double_rate > 0) // Copied double attack + } else if (( (skill_lv = 5*pc_checkskill(sd,GS_CHAINACTION)) > 0 && sd->weapontype1 == 0x11) || sd->double_rate > 0) if (rand()%100 < (skill_lv>sd->double_rate?skill_lv:sd->double_rate)) { wd.div_=skill_get_num(GS_CHAINACTION,skill_lv?skill_lv:1); -- cgit v1.2.3-70-g09d2