summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormalufett <malufett.eat.my.binaries@gmail.com>2013-10-15 13:58:12 +0800
committermalufett <malufett.eat.my.binaries@gmail.com>2013-10-15 13:58:12 +0800
commit3e58e470d0bfc5e615246ef6a7ffff6a1190e0c9 (patch)
tree20378e18cf57b79b72fb0ea40ef8907b92d0d46e
parent5188b69f3ed90e8aeabeb7ead44d9ecfaa05aeb1 (diff)
downloadhercules-3e58e470d0bfc5e615246ef6a7ffff6a1190e0c9.tar.gz
hercules-3e58e470d0bfc5e615246ef6a7ffff6a1190e0c9.tar.bz2
hercules-3e58e470d0bfc5e615246ef6a7ffff6a1190e0c9.tar.xz
hercules-3e58e470d0bfc5e615246ef6a7ffff6a1190e0c9.zip
Fixed Bug#7738
-where item bonuses 'bBreakWeapon' and 'bBreakArmor' or WS_MELTDOWN take effect in reflect damage. Signed-off-by: malufett <malufett.eat.my.binaries@gmail.com>
-rw-r--r--src/map/skill.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/skill.c b/src/map/skill.c
index 55c9b8eea..9db10bbc7 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -1356,7 +1356,7 @@ int skill_additional_effect(struct block_list* src, struct block_list *bl, uint1
src = sd?&sd->bl:src;
}
- if( attack_type&BF_WEAPON ) {
+ if( attack_type&BF_WEAPON && skill_id != CR_REFLECTSHIELD ) {
// Coma, Breaking Equipment
if( sd && sd->special_state.bonus_coma ) {
rate = sd->weapon_coma_ele[tstatus->def_ele];