diff options
author | malufett <malufett.eat.my.binaries@gmail.com> | 2014-05-23 13:54:07 +0800 |
---|---|---|
committer | malufett <malufett.eat.my.binaries@gmail.com> | 2014-05-23 13:54:07 +0800 |
commit | 3471e840816fb895dbad6870ec48495ef4b398c8 (patch) | |
tree | 9ff62b55380cddb9bae6871175efe20079cf3b7e /src | |
parent | a42f880e87962b1020fbab36c690ccbf7f28da01 (diff) | |
download | hercules-3471e840816fb895dbad6870ec48495ef4b398c8.tar.gz hercules-3471e840816fb895dbad6870ec48495ef4b398c8.tar.bz2 hercules-3471e840816fb895dbad6870ec48495ef4b398c8.tar.xz hercules-3471e840816fb895dbad6870ec48495ef4b398c8.zip |
Fixed Bug#8215
-http://hercules.ws/board/tracker/issue-8215-raido-rune-crushing-strike/?gopid=22895#entry22895
Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
Diffstat (limited to 'src')
-rw-r--r-- | src/map/battle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/battle.c b/src/map/battle.c index fc2f4d3cf..92f68d433 100644 --- a/src/map/battle.c +++ b/src/map/battle.c @@ -2539,7 +2539,7 @@ int battle_calc_skillratio(int attack_type, struct block_list *src, struct block if( sd && sd->status.weapon == W_KATAR && (i=pc->checkskill(sd,ASC_KATAR)) > 0 ) skillratio += skillratio * (10 + 2 * i) / 100; #endif - if( sc && sc->data[SC_CRUSHSTRIKE] ){ + if( (!skill_id || skill_id == KN_AUTOCOUNTER) && sc->data[SC_CRUSHSTRIKE] ){ if( sd ) {//ATK [{Weapon Level * (Weapon Upgrade Level + 6) * 100} + (Weapon ATK) + (Weapon Weight)]% short index = sd->equip_index[EQI_HAND_R]; |