summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshennetsind <ind@henn.et>2013-01-27 08:58:01 -0200
committershennetsind <ind@henn.et>2013-01-27 08:58:01 -0200
commit234bbe24ae5f804c96243a8399048a582e56a864 (patch)
tree35589827d404defd1e200443a87921d157265596
parenta70b02e03670755f71e725455c6c587de0fd9b44 (diff)
downloadhercules-234bbe24ae5f804c96243a8399048a582e56a864.tar.gz
hercules-234bbe24ae5f804c96243a8399048a582e56a864.tar.bz2
hercules-234bbe24ae5f804c96243a8399048a582e56a864.tar.xz
hercules-234bbe24ae5f804c96243a8399048a582e56a864.zip
Fixed Bug #4339
Normal Boss/mini-boss attacks no longer can hit trick-dead'd players. http://hercules.ws/board/tracker/issue-4339-trick-dead-bug/ Signed-off-by: shennetsind <ind@henn.et>
-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 a465410b2..03f0d50bb 100644
--- a/src/map/skill.c
+++ b/src/map/skill.c
@@ -2220,7 +2220,7 @@ int skill_attack (int attack_type, struct block_list* src, struct block_list *ds
if(skill_id == WZ_FROSTNOVA && dsrc->x == bl->x && dsrc->y == bl->y)
return 0;
//Trick Dead protects you from damage, but not from buffs and the like, hence it's placed here.
- if (sc && sc->data[SC_TRICKDEAD] && !(sstatus->mode&MD_BOSS))
+ if (sc && sc->data[SC_TRICKDEAD])
return 0;
dmg = battle_calc_attack(attack_type,src,bl,skill_id,skill_lv,flag&0xFFF);