summaryrefslogtreecommitdiff
path: root/src/map/battle.c
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2014-05-23 13:54:07 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2014-05-23 13:54:07 +0800
commit3471e840816fb895dbad6870ec48495ef4b398c8 (patch)
tree9ff62b55380cddb9bae6871175efe20079cf3b7e /src/map/battle.c
parenta42f880e87962b1020fbab36c690ccbf7f28da01 (diff)
downloadhercules-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/map/battle.c')
-rw-r--r--src/map/battle.c2
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];