summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHaru <haru@dotalux.com>2019-12-15 15:55:06 +0100
committerGitHub <noreply@github.com>2019-12-15 15:55:06 +0100
commit3e35bb9733cfdfb6e9aa6e8b66257f0628f1e7aa (patch)
treec7ac10802c657ec4a81f27095504d4ffb0960200
parent22227b9c18e88277016bcdd373d1cafb8c4edbc9 (diff)
parentee188a13ba00b69dc0845fd7ea27d2768743ff0d (diff)
downloadhercules-3e35bb9733cfdfb6e9aa6e8b66257f0628f1e7aa.tar.gz
hercules-3e35bb9733cfdfb6e9aa6e8b66257f0628f1e7aa.tar.bz2
hercules-3e35bb9733cfdfb6e9aa6e8b66257f0628f1e7aa.tar.xz
hercules-3e35bb9733cfdfb6e9aa6e8b66257f0628f1e7aa.zip
Merge pull request #2589 from HerculesWS/tarot_card_fix
Fix Tarot Card breaking equipment behavior
-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 3a3026ee7..c19a684af 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);
}
}