summaryrefslogtreecommitdiff
path: root/src/map
diff options
context:
space:
mode:
authorIbrahim Zidan <brahem@aotsw.com>2019-11-27 02:44:13 +0200
committerIbrahim Zidan <brahem@aotsw.com>2019-11-27 02:44:13 +0200
commitee188a13ba00b69dc0845fd7ea27d2768743ff0d (patch)
tree9cd8b5bfd489d0b081b2baf8260d43404091e19c /src/map
parent7d5ce7b3a33fb27cf838d863b8f017220abb624a (diff)
downloadhercules-ee188a13ba00b69dc0845fd7ea27d2768743ff0d.tar.gz
hercules-ee188a13ba00b69dc0845fd7ea27d2768743ff0d.tar.bz2
hercules-ee188a13ba00b69dc0845fd7ea27d2768743ff0d.tar.xz
hercules-ee188a13ba00b69dc0845fd7ea27d2768743ff0d.zip
Fix Tarot Card breaking equipment on Garment and Shoe locations however on Aegis it only target Left Hand (Shield), Armor and Helm
Signed-off-by: Ibrahim Zidan <brahem@aotsw.com>
Diffstat (limited to 'src/map')
-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 e2d76fb8b..74456d0a3 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -8463,7 +8463,7 @@ static int skill_castend_nodamage_id(struct block_list *src, struct block_list *
status_fix_damage(src, bl, 1000, 0);
clif->damage(src,bl,0,0,1000,0,BDT_NORMAL,0);
if( !status->isdead(bl) ) {
- int where[] = { EQP_ARMOR, EQP_SHIELD, EQP_HELM, EQP_SHOES, EQP_GARMENT };
+ int where[] = {EQP_ARMOR, EQP_SHIELD, EQP_HELM};
skill->break_equip(bl, where[rnd() % ARRAYLENGTH(where)], 10000, BCT_ENEMY);
}
}